projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d577b6
)
Undo previous change.
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 14 Dec 2005 18:09:04 +0000
(18:09 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 14 Dec 2005 18:09:04 +0000
(18:09 +0000)
src/cat.c
patch
|
blob
|
history
diff --git
a/src/cat.c
b/src/cat.c
index
307a516
..
b08e91e
100644
(file)
--- a/
src/cat.c
+++ b/
src/cat.c
@@
-768,8
+768,5
@@
main (int argc, char **argv)
if (have_read_stdin && close (STDIN_FILENO) < 0)
error (EXIT_FAILURE, errno, _("closing standard input"));
- if (close (STDOUT_FILENO) != 0)
- error (EXIT_FAILURE, errno, _("write error"));
-
exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);
}