[Top][All Lists]

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

Re: AC_FUNC_SETVBUF_REVERSED in cross-compilation

From: Eric Siegerman
Subject: Re: AC_FUNC_SETVBUF_REVERSED in cross-compilation
Date: Fri, 10 May 2002 13:37:11 -0400
User-agent: Mutt/1.2.5i

On Thu, May 09, 2002 at 10:16:47PM -0400, Paul D. Smith wrote:
> %% Earnie Boyd <address@hidden> writes:
>   eb> Russ Allbery wrote:
>   >> Paul D Smith <address@hidden> writes:
>   >> 
>   >> > I notice that the AC_FUNC_SETVBUF_REVERSED macro has no option for how
>   >> > it behaves during cross-compilation.

Why not fall back to "setbuf(stdout, NULL)" if, for whatever
reason, you can't determine the right setvbuf() calling sequence?
Sure it's less efficient -- perhaps much less -- but it'll
produce correct results without guessing.

(Background: gmake only uses setvbuf() to make stdout
line-buffered.  I presume the reason is to make sure the output
from make and its subprocesses interleaves properly.)


|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
Anyone who swims with the current will reach the big music steamship;
whoever swims against the current will perhaps reach the source.
        - Paul Schneider-Esleben

reply via email to

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