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. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 91149ebb6..edbf3b49d 100644 --- a/NEWS +++ b/NEWS @@ -72,6 +72,9 @@ GNU coreutils NEWS -*- outline -*- "cp -i --update older newer" no longer prompts; same for mv + "cp -i" now detects read errors on standard input, and no longer consumes + too much seekable input; same for ln, install, mv, and rm. + cut now diagnoses a range starting with zero (e.g., -f 0-2) as invalid; before, it would treat it as if it started with 1 (-f 1-2). -- cgit v1.2.3-54-g00ecf