From: Paul Eggert Date: Thu, 15 May 2014 20:07:50 +0000 (-0700) Subject: doc: document exec* = spawn+exit bug with non-Cygwin Windows platforms X-Git-Tag: v1.0~7389 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=61640bceda024b0112779f4345c728c75c531cc4;p=gnulib.git doc: document exec* = spawn+exit bug with non-Cygwin Windows platforms Problem reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/bug-grep/2014-05/msg00118.html * doc/posix-functions/execl.texi (execl): * doc/posix-functions/execle.texi (execle): * doc/posix-functions/execlp.texi (execlp): * doc/posix-functions/execv.texi (execv): * doc/posix-functions/execve.texi (execve): * doc/posix-functions/execvp.texi (execvp): Mention spawn+exit problem on non-Cygwin Windows platforms. --- diff --git a/ChangeLog b/ChangeLog index 19dfba5971..00126d5313 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2014-05-15 Paul Eggert + + doc: document exec* = spawn+exit bug with non-Cygwin Windows platforms + Problem reported by Eli Zaretskii in: + http://lists.gnu.org/archive/html/bug-grep/2014-05/msg00118.html + * doc/posix-functions/execl.texi (execl): + * doc/posix-functions/execle.texi (execle): + * doc/posix-functions/execlp.texi (execlp): + * doc/posix-functions/execv.texi (execv): + * doc/posix-functions/execve.texi (execve): + * doc/posix-functions/execvp.texi (execvp): + Mention spawn+exit problem on non-Cygwin Windows platforms. + 2014-05-14 Guilherme de Almeida Suckevicz getlogin-tests: avoid false failure under sudo/ssh etc. diff --git a/doc/posix-functions/execl.texi b/doc/posix-functions/execl.texi index 89c3fa2eb3..68f09a8366 100644 --- a/doc/posix-functions/execl.texi +++ b/doc/posix-functions/execl.texi @@ -15,4 +15,8 @@ Portability problems not fixed by Gnulib: @item On some platforms, a script without executable permission is still run: Cygwin 1.5.x. +@item +On Windows platforms (excluding Cygwin), this function operates by spawning +and then by exiting the current process, which means the current +process's parent may incorrectly proceed as if its child had exited. @end itemize diff --git a/doc/posix-functions/execle.texi b/doc/posix-functions/execle.texi index 1dbc9f3b01..1966fa1445 100644 --- a/doc/posix-functions/execle.texi +++ b/doc/posix-functions/execle.texi @@ -15,4 +15,8 @@ Portability problems not fixed by Gnulib: @item On some platforms, a script without executable permission is still run: Cygwin 1.5.x. +@item +On Windows platforms (excluding Cygwin), this function operates by spawning +and then by exiting the current process, which means the current +process's parent may incorrectly proceed as if its child had exited. @end itemize diff --git a/doc/posix-functions/execlp.texi b/doc/posix-functions/execlp.texi index ad72214750..6a0f9544f9 100644 --- a/doc/posix-functions/execlp.texi +++ b/doc/posix-functions/execlp.texi @@ -15,4 +15,8 @@ Portability problems not fixed by Gnulib: @item On some platforms, a script without executable permission is still run: Cygwin 1.5.x. +@item +On Windows platforms (excluding Cygwin), this function operates by spawning +and then by exiting the current process, which means the current +process's parent may incorrectly proceed as if its child had exited. @end itemize diff --git a/doc/posix-functions/execv.texi b/doc/posix-functions/execv.texi index e4da0c33b3..0b10b51dbe 100644 --- a/doc/posix-functions/execv.texi +++ b/doc/posix-functions/execv.texi @@ -15,4 +15,8 @@ Portability problems not fixed by Gnulib: @item On some platforms, a script without executable permission is still run: Cygwin 1.5.x. +@item +On Windows platforms (excluding Cygwin), this function operates by spawning +and then by exiting the current process, which means the current +process's parent may incorrectly proceed as if its child had exited. @end itemize diff --git a/doc/posix-functions/execve.texi b/doc/posix-functions/execve.texi index 6f99556502..03f97eb526 100644 --- a/doc/posix-functions/execve.texi +++ b/doc/posix-functions/execve.texi @@ -15,4 +15,8 @@ Portability problems not fixed by Gnulib: @item On some platforms, a script without executable permission is still run: Cygwin 1.5.x. +@item +On Windows platforms (excluding Cygwin), this function operates by spawning +and then by exiting the current process, which means the current +process's parent may incorrectly proceed as if its child had exited. @end itemize diff --git a/doc/posix-functions/execvp.texi b/doc/posix-functions/execvp.texi index dbd9258fd1..da93271441 100644 --- a/doc/posix-functions/execvp.texi +++ b/doc/posix-functions/execvp.texi @@ -15,4 +15,8 @@ Portability problems not fixed by Gnulib: @item On some platforms, a script without executable permission is still run: Cygwin 1.5.x. +@item +On Windows platforms (excluding Cygwin), this function operates by spawning +and then by exiting the current process, which means the current +process's parent may incorrectly proceed as if its child had exited. @end itemize