bug-coreutils
[Top][All Lists]
Advanced

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

Re: bug in yesno()?


From: Paul Eggert
Subject: Re: bug in yesno()?
Date: Mon, 20 Feb 2006 02:04:59 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Eric Blake <address@hidden> writes:

> Should yesno() be setting the properties of stdin to be unbuffered for the
> duration of the getline(), so that the rest of stdin is not consumed too
> early?

That would make the code less portable/reliable, I think, and would
slow things down.  POSIX does not require the behavior that you want.
Solaris 10 'rm' behaves like GNU rm here.

(Can you tell which way I'm leaning?  :-)




reply via email to

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