Eric Blake <[EMAIL PROTECTED]> wrote: > According to Jim Meyering on 8/19/2007 12:47 AM: >> The complexity of the yesno-modifying approach seems too high, >> and not limited just to yesno, so I think the per-application >> one-line changes are better. > > Here's the coreutils patch: > > 2007-08-19 Eric Blake <[EMAIL PROTECTED]> > > 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.
Thanks! Applied.