From feed02af9d09527745d10138cc08da9ed0702b7e Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 20 Aug 2007 17:01:18 +0200 Subject: 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. --- lib/.cvsignore | 7 +++++++ lib/.gitignore | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3-54-g00ecf