1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-09-02 15:41:25 +03:00

dup2: work around a Linux bug.

This commit is contained in:
Bruno Haible
2009-08-25 10:52:51 +02:00
parent 52dec75be7
commit eeee74f5ef
4 changed files with 39 additions and 6 deletions

View File

@@ -17,9 +17,13 @@ This function can hang when duplicating an fd to itself on some platforms:
mingw.
@item
This function returns 0 for dup2 (1, 1) on some platforms:
This function returns 0 for @code(dup2 (1, 1)} on some platforms:
Cygwin 1.5.x.
@item
This function may return @code{-EBADF} instead of @code{-1} on some platforms:
Linux releases between July 2008 and May 2009.
@item
This function is missing on some older platforms.
@end itemize