Re: fwriteerror() interface

2006-03-11 Thread Ben Pfaff
Ben Pfaff <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
web: http://benpfaff.org



___
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib


Re: fwriteerror() interface

2006-03-11 Thread Paul Eggert
Ben Pfaff <[EMAIL PROTECTED]> writes:

> 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?

I agree that there is a bug, either in the documentation or in the
code.  I don't use fwriteerror myself, though, so I'm not sure
which is which.


___
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib