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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12432
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 fd_safer_flag() function: adjust a file descriptor result so that it avoids
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 clobbering STD{IN,OUT,ERR}_FILENO, with specific flags.
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 Files:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 lib/fd-safer-flag.c
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 lib/dup-safer-flag.c
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
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
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 unistd-safer
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 configure.ac:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 gl_MODULE_INDICATOR([fd-safer-flag])
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 Makefile.am:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 lib_SOURCES += fd-safer-flag.c dup-safer-flag.c
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 Include:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 "unistd-safer.h"
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 License:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 GPL
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 Maintainer:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 Eric Blake