mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
* 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.
18 lines
201 B
Plaintext
18 lines
201 B
Plaintext
Files:
|
|
tests/test-fcntl.c
|
|
tests/signature.h
|
|
tests/macros.h
|
|
|
|
Depends-on:
|
|
binary-io
|
|
close
|
|
getdtablesize
|
|
msvc-nothrow
|
|
stdbool
|
|
|
|
configure.ac:
|
|
|
|
Makefile.am:
|
|
TESTS += test-fcntl
|
|
check_PROGRAMS += test-fcntl
|