[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fwriteerror() interface
From: |
Ben Pfaff |
Subject: |
Re: fwriteerror() interface |
Date: |
Sat, 11 Mar 2006 10:10:34 -0800 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Ben Pfaff <address@hidden> writes:
> I'm not sure I understand the fwriteerror() interface. As I read
> the function comment, fwriteerror() should always close the
> stream provided to it (except in the case of stdout). But the
> implementation does not close the stream if an error was reported
> on the stream. Also, the test case provided does not make any
> explicit call to fclose(), seeming to believe that fwriteerror()
> always closes the stream.
I still think this is a bug, but no one ever replied and no fix
has been checked into CVS. Can anyone else confirm or deny that
this is in fact a bug?
--
Ben Pfaff
email: address@hidden
web: http://benpfaff.org