summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-11-23 09:15:05 +0000
committerJim Meyering <jim@meyering.net>2004-11-23 09:15:05 +0000
commit7080ab9623efed9c0ae9fd4fc7e08e14f021c867 (patch)
treedaf7970957560edeb455b2295fb446cc07d6a61c
parent622e156501d0ad98e00e17e28eac9c08763293e9 (diff)
downloadcoreutils-7080ab9623efed9c0ae9fd4fc7e08e14f021c867.tar.xz
Revert last change, since it seems EBADF is always defined.
-rw-r--r--lib/closeout.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/closeout.c b/lib/closeout.c
index 06ae79cd3..14aa1d362 100644
--- a/lib/closeout.c
+++ b/lib/closeout.c
@@ -39,13 +39,6 @@
# include "unlocked-io.h"
#endif
-/* If EBADF is not defined then the code below can't possibly work --
- we'll need to know what value errno is set to when fclose fails to
- close an already-closed stream. Ask the user to report it. */
-#ifndef EBADF
-# error "EBADF is not defined: please report this to bug-gnulib@gnu.org"
-#endif
-
static const char *file_name;
/* Set the file name to be reported in the event an error is detected