• Bruno Haible's avatar
    fdopen: Support for MSVC 9. · 09001dfb
    Bruno Haible authored
    * m4/fdopen.m4 (gl_FUNC_FDOPEN): Set REPLACE_FDOPEN also if
    HAVE_MSVC_INVALID_PARAMETER_HANDLER is 1.
    * lib/fdopen.c: Include msvc-inval.h.
    (fdopen_nothrow): New function.
    (rpl_fdopen): Use it.
    * modules/fdopen (Depends-on): Add msvc-inval.
    * modules/fclose-tests (Depends-on): Add fdopen.
    * modules/fflush-tests (Depends-on): Likewise.
    * modules/fgetc-tests (Depends-on): Likewise.
    * modules/fputc-tests (Depends-on): Likewise.
    * modules/fread-tests (Depends-on): Likewise.
    * modules/freopen-tests (Depends-on): Likewise.
    * modules/fseeko-tests (Depends-on): Likewise.
    * modules/ftello-tests (Depends-on): Likewise.
    * modules/fwrite-tests  (Depends-on): Likewise.
    * doc/posix-functions/fdopen.texi: Mention the problem on MSVC.
    09001dfb
fflush-tests 285 Bytes