summaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/.cvsignore7
-rw-r--r--lib/.gitignore7
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/.cvsignore b/lib/.cvsignore
index ae85b19f6..fd17849ff 100644
--- a/lib/.cvsignore
+++ b/lib/.cvsignore
@@ -42,6 +42,8 @@ cloexec.c
cloexec.h
close-stream.c
close-stream.h
+closein.c
+closein.h
closeout.c
closeout.h
concatpath.c
@@ -83,6 +85,7 @@ fcntl-safer.h
fcntl.h
fcntl_.h
fd-safer.c
+fflush.c
file-has-acl.c
file-type.c
file-type.h
@@ -103,6 +106,10 @@ fnmatch_loop.c
fopen-safer.c
fprintftime.c
fprintftime.h
+fpurge.c
+fpurge.h
+freading.c
+freading.h
free.c
fseeko.c
fstatat.c
diff --git a/lib/.gitignore b/lib/.gitignore
index b716aa8e9..f44081dea 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -39,6 +39,8 @@ cloexec.c
cloexec.h
close-stream.c
close-stream.h
+closein.c
+closein.h
closeout.c
closeout.h
concatpath.c
@@ -78,6 +80,7 @@ fcntl-safer.h
fcntl.h
fcntl_.h
fd-safer.c
+fflush.c
file-has-acl.c
file-type.c
file-type.h
@@ -98,6 +101,10 @@ fnmatch_loop.c
fopen-safer.c
fprintftime.c
fprintftime.h
+fpurge.c
+fpurge.h
+freading.c
+freading.h
free.c
fseeko.c
fstatat.c