Having never heard of posix_spawn(3), I read the full manpage and
(besides wondering "what's the point"), found that it's misspelled Ed
Schouten's name:

Index: posix_spawn.3
===================================================================
RCS file: /cvs/src/lib/libc/gen/posix_spawn.3,v
retrieving revision 1.10
diff -u -p -r1.10 posix_spawn.3
--- posix_spawn.3       26 Jun 2023 06:58:18 -0000      1.10
+++ posix_spawn.3       26 Jun 2023 15:17:07 -0000
@@ -132,4 +132,4 @@ These functions were ported from
 to
 .Ox 5.2 .
 .Sh AUTHORS
-.An \&Ed Shouten Aq Mt e...@freebsd.org
+.An \&Ed Schouten Aq Mt e...@freebsd.org

I checked the rest of the tree, no other occurences of 'Ed Shouten'
can be found.

Paul

On Sun, Jun 25, 2023 at 07:07:33PM -0300, Lucas de Sena wrote:
| The manual already describes how posix_spawn(3) behaves when passing it
| a NULL envp, but does not make it clear that it is an OpenBSD extension:
| 
| > If envp is NULL, the environment is passed unchanged from the parent
| > process.
| 
| That differs from GNU/Linux, for example, where a NULL envp gives the
| child an empty environment rather than a copy.
| 
| 
| Index: posix_spawn.3
| ===================================================================
| RCS file: /cvs/src/lib/libc/gen/posix_spawn.3,v
| retrieving revision 1.9
| diff -u -p -r1.9 posix_spawn.3
| --- posix_spawn.3     17 Oct 2017 22:47:58 -0000      1.9
| +++ posix_spawn.3     25 Jun 2023 21:38:47 -0000
| @@ -122,6 +122,10 @@ with exit status 127.
|  .Sh STANDARDS
|  Both functions conform to
|  .St -p1003.1-2001 .
| +.Pp
| +The handling of NULL
| +.Fa envp
| +is an extension to that standard.
|  .Sh HISTORY
|  These functions were ported from
|  .Fx
| 

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to