From 09001dfb3ec39d237f8e248ff347cf1be3e6f0c1 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 24 Sep 2011 18:08:50 +0200 Subject: fdopen: Support for MSVC 9. * 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. --- modules/fflush-tests | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/fflush-tests') diff --git a/modules/fflush-tests b/modules/fflush-tests index a447521f1f..33c47c42e8 100644 --- a/modules/fflush-tests +++ b/modules/fflush-tests @@ -7,6 +7,7 @@ tests/macros.h Depends-on: binary-io +fdopen fseeko configure.ac: -- cgit v1.2.1