Eric Blake <[EMAIL PROTECTED]> 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?  :-)


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to