-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Simon Josefsson on 10/20/2008 7:10 AM:
> And indeed gl_REPLACE_FCLOSE is called even if the module is avoided,
> see close.m4:
>
>
> Is there a good solution here?
You could add m4_pushdef([gl_REPLACE_FCLOSE]) in your configure.ac.
- -
Bruno Haible <[EMAIL PROTECTED]> writes:
> We're overriding close(). But the system's fclose(), when called on a FILE
> stream that was created with fdopen() from a socket descriptor, will not
> invoke our overridden close(). So we have to override fclose() as well.
>
> I'm committing this. It has
modules
'close' and 'fclose'. That seems the safest to me.
2008-10-11 Bruno Haible <[EMAIL PROTECTED]>
New module 'fclose'.
* modules/fclose: New file.
* lib/stdio.in.h (fclose): New declaration.
* lib/fclose.c: New file.