diff options
author | Bruno Haible <bruno@clisp.org> | 2011-09-24 18:08:50 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-09-24 18:08:50 +0200 |
commit | 09001dfb3ec39d237f8e248ff347cf1be3e6f0c1 (patch) | |
tree | 6b4a6b865cc1cd2201918fa77bd182abfd424fa9 /modules/fgetc-tests | |
parent | eab930966c2c1f42916fd775f4466a29192bbaa3 (diff) | |
download | gnulib-09001dfb3ec39d237f8e248ff347cf1be3e6f0c1.tar.gz |
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.
Diffstat (limited to 'modules/fgetc-tests')
-rw-r--r-- | modules/fgetc-tests | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/fgetc-tests b/modules/fgetc-tests index 25077f7ad1..d812a6f73d 100644 --- a/modules/fgetc-tests +++ b/modules/fgetc-tests @@ -5,6 +5,7 @@ tests/macros.h Depends-on: unistd +fdopen configure.ac: |