bug-coreutils
[Top][All Lists]
Advanced

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

cat fionread usage bug?


From: Pádraig Brady
Subject: cat fionread usage bug?
Date: Wed, 11 Mar 2009 03:12:34 +0000
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

I was just looking at this line in cat.c: http://url.ie/1aq1

    if (input_pending)
        write_pending (outbuf, &bpout);

Shouldn't that be?

    if (!input_pending)
        write_pending (outbuf, &bpout);

The checkin I think is 790892db: http://url.ie/1aq1

If this is incorrect, how about just deleting
all the fionread stuff to simplify the code?

cheers,
Pádraig.




reply via email to

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