Mercurial > hg > octave-lojdl > gnulib-hg
view modules/unistd-safer-tests @ 15762:6c4cf50b8b27
close: Support for MSVC 9.
* lib/close.c: Include <errno.h>, msvc-inval.h.
(close_nothrow): New function.
(rpl_close): Use it.
* m4/close.m4 (gl_FUNC_CLOSE): Replace close if the platform has an
invalid parameter handler.
* modules/close (Depends-on): Add msvc-inval.
* modules/dup2-tests (Depends-on): Add close.
* modules/dup3-tests (Depends-on): Likewise.
* modules/fcntl-tests (Depends-on): Likewise.
* modules/spawn-pipe-tests (Depends-on): Likewise.
* modules/unistd-safer-tests (Depends-on): Likewise.
* doc/posix-functions/close.texi: Mention the problem on MSVC.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 24 Sep 2011 02:48:19 +0200 |
parents | 45b9be95a543 |
children | 160b88fd4691 |
line wrap: on
line source
Files: tests/test-dup-safer.c tests/macros.h Depends-on: binary-io cloexec close dup fd-safer-flag msvc-nothrow stdbool configure.ac: Makefile.am: TESTS += test-dup-safer check_PROGRAMS += test-dup-safer