summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2007-08-20 17:01:18 +0200
committerJim Meyering <jim@meyering.net>2007-08-20 17:03:45 +0200
commitfeed02af9d09527745d10138cc08da9ed0702b7e (patch)
treeacf5df1c403e748267ce956baf720e0bbd26ca0e /src/system.h
parenta05ae2f7168f42d290512ae919bb9ce4aa4d7063 (diff)
downloadcoreutils-feed02af9d09527745d10138cc08da9ed0702b7e.tar.xz
Avoid consuming too much seekable input when yesno is used.
* bootstrap.conf (gnulib_modules): Grab closein. * src/system.h (includes): Also include closein.h. * src/mv.c (main): Use close_stdin, not close_stdout. * src/cp.c (main): Likewise. * src/ln.c (main): Likewise. * src/rm.c (main): Likewise. * src/install.c (main): Likewise. * NEWS: Document the fix.
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index 3c7f49d10..2c4bfd345 100644
--- a/src/system.h
+++ b/src/system.h
@@ -419,6 +419,7 @@ enum
#define VERSION_OPTION_DESCRIPTION \
_(" --version output version information and exit\n")
+#include "closein.h"
#include "closeout.h"
#include "version-etc.h"