modules/pipe


Log

Author Commit Date CI Message
Bruno Haible 61f306ae 2011-05-17T00:27:54 Fix confusion regarding deprecated modules. * modules/calloc (Status, Notice): Mark module as deprecated, not obsolete. * modules/fnmatch-posix (Status, Notice): Likewise. * modules/getdate (Status, Notice): Likewise. * modules/getopt (Status, Notice): Likewise. * modules/malloc (Status, Notice): Likewise. * modules/pipe (Status, Notice): Likewise. * modules/realloc (Status, Notice): Likewise. * modules/rename-dest-slash (Status, Notice): Likewise. * modules/unictype/bidicategory-all (Status, Notice): Likewise. * modules/unictype/bidicategory-byname (Status, Notice): Likewise. * modules/unictype/bidicategory-name (Status, Notice): Likewise. * modules/unictype/bidicategory-of (Status, Notice): Likewise. * modules/unictype/bidicategory-test (Status, Notice): Likewise.
Eric Blake ef974c7b 2010-12-24T13:27:09 pipe: make obsoletion transition easier * lib/pipe.h: Restore file as thin shim around "spawn-pipe.h". * modules/pipe (Files): Include revived file. (Include): Drop reference, to mirror getdate's behavior. Signed-off-by: Eric Blake <eblake@redhat.com>
Bruno Haible 8ecf1d24 2010-12-11T02:00:44 Rename module 'pipe' to 'spawn-pipe'. * modules/spawn-pipe: New file, renamed from modules/pipe. (Files, configure.ac, Makefile.am): Update. (Include): Mention "spawn-pipe.h" instead of "pipe.h". * modules/pipe: Reduce to an obsolete indirection to 'spawn-pipe'. * lib/spawn-pipe.h: New file, renamed from lib/pipe.h. * lib/spawn-pipe.c: New file, renamed from lib/pipe.c. Include "spawn-pipe.h" instead of "pipe.h". * m4/spawn-pipe.m4: New file, renamed from m4/pipe.m4. Rename gl_PIPE to gl_SPAWN_PIPE. * modules/spawn-pipe-tests: New file, renamed from modules/pipe-tests. (Files, Makefile.am): Update. * tests/test-spawn-pipe.sh: New file, renamed from tests/test-pipe.sh. Update. * tests/test-spawn-pipe.c: New file, renamed from tests/test-pipe.c. Include "spawn-pipe.h" instead of "pipe.h". * lib/csharpcomp.c: Include "spawn-pipe.h" instead of "pipe.h". * lib/javacomp.c: Likewise. * lib/javaversion.c: Likewise. * lib/pipe-filter-gi.c: Likewise. * lib/pipe-filter-ii.c: Likewise. * modules/csharpcomp (Depends-on): Add 'spawn-pipe', remove 'pipe'. * modules/javacomp (Depends-on): Likewise. * modules/javaversion (Depends-on): Likewise. * modules/pipe-filter-gi (Depends-on): Likewise. * modules/pipe-filter-ii (Depends-on): Likewise. * MODULES.html.sh (Executing programs): Update. * NEWS: Mention the change.
Eric Blake 6ed67a15 2009-12-05T06:39:09 pipe2-safer: new module pipe2 deserves a *_safer variant. It also makes the code in pipe.c look simpler. * modules/pipe2-safer: New file. * lib/unistd-safer.h (pipe2_safer): New prototype. * lib/unistd--.h (pipe2): New wrapper. * lib/pipe-safer.c (pipe2_safer): New function. * modules/pipe (Depends-on): Add pipe2-safer. * lib/pipe.c (create_pipe) [WIN32]: Let pipe2_safer do the work. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake d8ccc13b 2009-12-04T22:10:44 cloexec: add dup_cloexec This is needed to enforce correct semantics of mkostemp_safer. Meanwhile, it is one step closer to providing O_CLOEXEC support to open, as well as implementing portions of fcntl for mingw. * lib/cloexec.h (dup_cloexec): New prototype. Add copyright header and comments. * lib/cloexec.c (set_cloexec_flag): Add comments. (dup_cloexec): New function, with mingw implementation borrowed from... * lib/w32spawn.h (dup_noinherit): ...here. * modules/execute (Depends-on): Add cloexec. * modules/pipe (Depends-on): Likewise. * modules/cloexec (Depends-on): Add dup2. * modules/cloexec-tests (Files): New file. * tests/test-cloexec.c: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible c7054c79 2009-08-22T18:58:09 Use module pipe2.
Eric Blake ddd625dd 2009-07-21T06:48:26 dup2: work around mingw and cygwin 1.5 bug * m4/dup2.m4 (gl_FUNC_DUP2): Detect mingw bug. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add witness. * modules/unistd (Makefile.am): Substitute it. * lib/unistd.in.h (dup2): Declare the replacement. * lib/dup2.c (dup2) [REPLACE_DUP2]: Implement it. * doc/posix-functions/dup2.texi (dup2): Document the bugs. * lib/fchdir.c (rpl_dup2): Don't collide with mingw replacement. * modules/execute (Depends-on): Add dup2. * modules/fseterr (Depends-on): Likewise. * modules/pipe (Depends-on): Likewise. * modules/posix_spawn-internal (Depends-on): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible d629f6d2 2009-01-26T00:12:36 Use the posix_spawn or its replacement on all Unix platforms.
Bruno Haible 60c92ef2 2008-10-02T01:26:13 Avoid the broken posix_spawn function on AIX 5.3 and 6.1.
Jim Meyering 0f5a6cf4 2008-06-24T09:40:36 make several modules depend on the "open" module This provides slightly increased consistency when opening-for-write the name of a non-directory spelled with a trailing slash. * modules/chdir-safer: Likewise. * modules/chown: Likewise. * modules/clean-temp: Likewise. * modules/copy-file: Likewise. * modules/fchdir: Likewise. * modules/fcntl-safer: Likewise. * modules/pipe: Likewise. * modules/utime: Likewise. Prompted by Eric Blake and Bruno Haible.
Bruno Haible e8dc1417 2008-06-01T11:57:27 Make create_pipe_* safer w.r.t. file descriptor conflicts.
Bruno Haible 22eb7728 2008-02-24T16:40:15 New module 'environ'.
Bruno Haible eb750bc6 2006-04-24T11:38:06 Include <unistd.h> unconditionally.
Paul Eggert abe57472 2005-07-06T15:58:47 Support programs like Emacs that use gnulib but not gettext. * MODULES.html.sh (Internationalization functions): Add gettext-h. * modules/gettext-h: New file. * modules/gettext (Files): Remove lib/gettext.h. (Depends-on): Add gettext-h. (Makefile.am): Remove lib_SOURCES. * modules/argmatch, modules/c-stack, modules/closeout: * modules/copy-file, modules/csharpcomp, modules/csharpexec: * modules/execute, modules/file-type, modules/getaddrinfo: * modules/getopt, modules/human, modules/javacomp: * modules/javaexec, modules/mkdir-p, modules/obstack: * modules/openat, modules/pagealign_alloc, modules/pipe: * modules/quotearg, modules/regex, modules/rpmatch: * modules/unicodeio, modules/userspec, modules/version-etc: * modules/wait-process, modules/xalloc-die, modules/xmemcoll: * modules/xsetenv: Depend on gettext-h, not gettext.
Jim Meyering 5de0beb2 2004-11-11T09:29:44 remove blank lines at end of file
Bruno Haible 5143f4e9 2004-09-22T15:11:04 Add a license tag to every module.
Paul Eggert 2feb1389 2004-06-14T03:50:48 Add some missing dependencies and/or files.
Bruno Haible 08f44b51 2004-02-03T21:48:51 New module 'pipe'.