bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: yesno module consumes too much input


From: Jim Meyering
Subject: Re: yesno module consumes too much input
Date: Mon, 20 Aug 2007 17:10:34 +0200

Eric Blake <address@hidden> 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  <address@hidden>
>
>       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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]