dup2: work around a Linux bug.
[gnulib.git] / doc / posix-functions / dup2.texi
index c8f2ca1..6509f0e 100644 (file)
@@ -17,10 +17,14 @@ 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