X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fpopen.texi;h=597231802313ccc3ca69d503bb161c70fe3f19f5;hb=ce05829e2da40a92966f0e3d78d1b40c6f1e85b5;hp=f0aa80120533e8a695b0502ff9e7f8d608e34409;hpb=2b6c08c775ae4e80b52aa41058ea5939f778b44b;p=gnulib.git diff --git a/doc/posix-functions/popen.texi b/doc/posix-functions/popen.texi index f0aa80120..597231802 100644 --- a/doc/posix-functions/popen.texi +++ b/doc/posix-functions/popen.texi @@ -2,14 +2,23 @@ @section @code{popen} @findex popen -POSIX specification: @url{http://www.opengroup.org/susv3xsh/popen.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/popen.html} -Gnulib module: --- +Gnulib module: popen Portability problems fixed by Gnulib: @itemize +@item +Some platforms start the child with closed stdin or stdout if the +standard descriptors were closed in the parent: +Cygwin 1.5.x. @end itemize Portability problems not fixed by Gnulib: @itemize +@item +Some platforms mistakenly set the close-on-exec bit, then if it is +cleared by the application, the platform then leaks file descriptors +from earlier @code{popen} calls into subsequent @code{popen} children: +Cygwin 1.5.x. @end itemize