bug-gnulib
[Top][All Lists]
Advanced

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

[Bug-gnulib] *now*, close_stdout always does


From: Jim Meyering
Subject: [Bug-gnulib] *now*, close_stdout always does
Date: Wed, 10 Nov 2004 10:09:53 +0100

I wrote:
> That makes it clear to me that close_stdout must always close
> standard output.
>
> Here's the patch I'm checking in to coreutils.
> The only additional change I had to make was to sort,
> in order to make it avoid closing stdout twice.
>
> I'll use it locally for a day or two before putting it in gnulib.
>
>       Ensure that no close failure goes unreported.
>       * closeout.c (close_stdout): Always close stdout.  I.e., don't
>       return early when it seems there's nothing to flush.
>       Don't include __fpending.h.

I've checked this in, and adjusted the module dependencies.

2004-11-10  Jim Meyering  <address@hidden>

        * modules/closeout (Depends-on): Remove fpending.

Bear in mind that if your code explicitly closes stdout,
and then calls close_stdout, it will now fail.  Before this
change, it would have worked just fine.




reply via email to

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