[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module finpending
From: |
Jim Meyering |
Subject: |
Re: new module finpending |
Date: |
Sun, 19 Aug 2007 08:45:47 +0200 |
Bruno Haible <address@hidden> wrote:
> Eric Blake wrote:
>> m4 already calls close_stdin always, whether or not it read from stdin, so
>> the current implementation is correct even when stdin is still in the
>> initial state. However, if you want to optimize it further, such patches
>> are worth considering.
>
> Here is a primitive function that could be used in close_stdin to optimize
> away the lseek system call.
>
> The function name 'finpending()' is not particularly good. Can you think of a
> better name?
I like fpending_in.
Not only is it closer to __fpending,
but it won't make me think of TCP's FIN.
- Re: yesno module consumes too much input, (continued)
- Re: yesno module consumes too much input, Bruno Haible, 2007/08/18
- Re: yesno module consumes too much input, Eric Blake, 2007/08/18
- Re: yesno module consumes too much input, Jim Meyering, 2007/08/19
- Re: yesno module consumes too much input, Eric Blake, 2007/08/19
- Re: yesno module consumes too much input, Jim Meyering, 2007/08/20
- Re: yesno module consumes too much input, Eric Blake, 2007/08/19
- Re: yesno module consumes too much input, Eric Blake, 2007/08/18
- Re: yesno module consumes too much input, Bruno Haible, 2007/08/18
- Re: yesno module consumes too much input, Eric Blake, 2007/08/18
- new module finpending (was: Re: yesno module consumes too much input), Bruno Haible, 2007/08/18
- Re: new module finpending,
Jim Meyering <=
- Re: new module finpending, Bruno Haible, 2007/08/19
- Re: new module finpending, Eric Blake, 2007/08/19
- Re: new module finpending, Bruno Haible, 2007/08/19
- Re: yesno module consumes too much input, Bruno Haible, 2007/08/19
- closein using freadahead [was: yesno module consumes too much input], Eric Blake, 2007/08/20