summaryrefslogtreecommitdiff
path: root/lib/closeout.c
AgeCommit message (Collapse)Author
2000-08-26Include "__fpending.h".Jim Meyering
(close_stdout_status): Return right away if there's nothing to flush.
2000-05-16<sys/stat.h>, <sys/types.h>, <unistd.h>, (STDOUT_FILENO):Jim Meyering
Remove; no longer needed. "quotearg.h": Add include. (file_name): Do not bother to explicitly initialize to NULL; it's less efficient on some hosts. (close_stdout_status): Remove test as to whether stdout was already closed; it breaks for the case "echo x | sort >&-". Quote file name colons. Do not assume that _("write error") lacks format strings.
2000-05-15(close_stdout_set_file_name): New function.Jim Meyering
(close_stdout_status): Use new file-scoped global. Return right away if fstat says the stdout file descriptor is invalid.
2000-05-10[default_exit_status]: New file-scoped variable.Jim Meyering
(close_stdout_set_status): New function.
1999-04-04fix commentsJim Meyering
add FIXME
1999-01-25Add comments.Jim Meyering
1998-03-15Use #if, not #ifdef with HAVE_ macrosJim Meyering
1998-01-04.Jim Meyering