Here's an update of the platform list regarding whether posix_spawnp rejects
executing shell scripts that do not start with '#!'. This came up while
discussing Cygwin's posix_spawnp implementation [1].

[1] <https://cygwin.com/pipermail/cygwin/2023-April/253521.html>


2023-04-18  Bruno Haible  <br...@clisp.org>

        doc: Update platform list for posix_spawnp.
        * doc/posix-functions/posix_spawnp.texi: Update platform list.

diff --git a/doc/posix-functions/posix_spawnp.texi 
b/doc/posix-functions/posix_spawnp.texi
index dd27fe8518..492cb7c86c 100644
--- a/doc/posix-functions/posix_spawnp.texi
+++ b/doc/posix-functions/posix_spawnp.texi
@@ -19,7 +19,7 @@
 When the program to be invoked is an executable script without a @samp{#!}
 marker in the first line, this function executes the script as if it were
 a shell script, on some platforms:
-glibc 2.14, GNU/Hurd, macOS 11.1, FreeBSD 12.0, OpenBSD 6.7, AIX 7.2, Solaris 
11.4, Cygwin 2.9.
+glibc 2.14/Linux, glibc 2.32/Hurd, macOS 12.5, FreeBSD 13.2, OpenBSD 7.2, AIX 
7.2, Solaris 11.4, Cygwin 3.4.x.
 @end itemize
 
 Portability problems not fixed by Gnulib:




Reply via email to