Mercurial > hg > octave-nkf > gnulib-hg
annotate modules/fd-safer-flag @ 13745:6328b8d2c617
Separate the module 'waitpid' from the module 'sys_wait'.
* lib/sys_wait.in.h (waitpid): Declare only if the 'waitpid' module is
present.
* m4/sys_wait_h.m4 (gl_SYS_WAIT_MODULE_INDICATOR): Invoke
gl_MODULE_INDICATOR_FOR_TESTS.
(gl_SYS_WAIT_H_DEFAULTS): Initialize GNULIB_WAITPID.
* modules/sys_wait (Depends-on): Remove waitpid.
(Makefile.am): Substitute GNULIB_WAITPID.
* modules/waitpid (configure.ac): Invoke gl_SYS_WAIT_MODULE_INDICATOR.
* tests/test-sys_wait-c++.cc (GNULIB_NAMESPACE::waitpid): Check the
signature only if the 'waitpid' module is present.
* doc/posix-functions/waitpid.texi: Mention the 'waitpid' module.
* NEWS: Mention the change.
* modules/grantpt (Depends-on): Add waitpid.
* modules/wait-process (Depends-on): Likewise.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 29 Sep 2010 16:14:55 +0200 |
parents | 2a3833485e1c |
children |
rev | line source |
---|---|
12432 | 1 Description: |
2 fd_safer_flag() function: adjust a file descriptor result so that it avoids | |
3 clobbering STD{IN,OUT,ERR}_FILENO, with specific flags. | |
4 | |
5 Files: | |
6 lib/fd-safer-flag.c | |
7 lib/dup-safer-flag.c | |
8 | |
9 Depends-on: | |
12457
2a3833485e1c
fcntl: use to simplify other modules
Eric Blake <ebb9@byu.net>
parents:
12432
diff
changeset
|
10 cloexec |
2a3833485e1c
fcntl: use to simplify other modules
Eric Blake <ebb9@byu.net>
parents:
12432
diff
changeset
|
11 fcntl |
12432 | 12 unistd-safer |
13 | |
14 configure.ac: | |
15 gl_MODULE_INDICATOR([fd-safer-flag]) | |
16 | |
17 Makefile.am: | |
18 lib_SOURCES += fd-safer-flag.c dup-safer-flag.c | |
19 | |
20 Include: | |
21 "unistd-safer.h" | |
22 | |
23 License: | |
24 GPL | |
25 | |
26 Maintainer: | |
27 Eric Blake |