Re: posix_spawnp(3) not checking for empty file name

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
On Sun, Sep 29, 2024 at 01:42:36PM +0200, [email protected] wrote:
> If the execvp(3) checks that the name passed is not the empty string,
> posix_spawnp(3) doesn't with the file argument.
> 
> Is it intended?

It is just an optimization to speed up failure. I'll add it to posix_spawnp(3)
too.

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.