Mercurial > hg > octave-lojdl > gnulib-hg
comparison doc/posix-functions/dup2.texi @ 17243:b0688a78cfaf
dup2: work around cygwin bug
Detected by './gnulib-tool --test dup2 cloexec'.
Reported upstream: http://cygwin.com/ml/cygwin/2012-12/msg00377.html
and fixed already: http://cygwin.com/ml/cygwin-cvs/2012-q4/msg00202.html
but as we want to work with older cygwin, we'll have to carry this
in gnulib for a while.
* m4/dup2.m4 (gl_FUNC_DUP2): Flush out cygwin core dump.
* lib/dup2.c (rpl_dup2): Work around it.
* doc/posix-functions/dup2.texi (dup2): Document it.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Mon, 31 Dec 2012 11:15:53 -0700 |
parents | b0c5a211d6fe |
children |
comparison
equal
deleted
inserted
replaced
17242:45ae6ce33a1f | 17243:b0688a78cfaf |
---|---|
16 This function can hang when duplicating an fd to itself on some platforms: | 16 This function can hang when duplicating an fd to itself on some platforms: |
17 mingw, MSVC 9. | 17 mingw, MSVC 9. |
18 | 18 |
19 @item | 19 @item |
20 This function crashes when invoked with invalid arguments on some platforms: | 20 This function crashes when invoked with invalid arguments on some platforms: |
21 MSVC 9. | 21 Cygwin 1.7.17, MSVC 9. |
22 | 22 |
23 @item | 23 @item |
24 This function resets the @code{FD_CLOEXEC} flag when duplicating an fd | 24 This function resets the @code{FD_CLOEXEC} flag when duplicating an fd |
25 to itself on some platforms: | 25 to itself on some platforms: |
26 Haiku. | 26 Haiku. |