[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.

reply via email to

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