[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cat fionread usage bug?
From: |
Jim Meyering |
Subject: |
Re: cat fionread usage bug? |
Date: |
Wed, 11 Mar 2009 09:34:19 +0100 |
Pádraig Brady wrote:
> 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);
Oh! You're right.
That's a bug (mine): disabled optimization.
> The checkin I think is 790892db:
Yes, indeed. Here's the URL:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=790892db
Have you tried to demonstrate the unwanted behavior?
- cat fionread usage bug?, Pádraig Brady, 2009/03/10
- Re: cat fionread usage bug?,
Jim Meyering <=
- Re: cat fionread usage bug?, Pádraig Brady, 2009/03/11
- Re: cat fionread usage bug?, Jim Meyering, 2009/03/11
- Re: cat fionread usage bug?, Pádraig Brady, 2009/03/11
- Re: cat fionread usage bug?, Jim Meyering, 2009/03/11
- Re: cat fionread usage bug?, Pádraig Brady, 2009/03/11
- Re: cat fionread usage bug?, Pádraig Brady, 2009/03/11
- Re: cat fionread usage bug?, Jim Meyering, 2009/03/11