bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: posix_spawn_file_actions_addchdir


From: Eric Blake
Subject: Re: posix_spawn_file_actions_addchdir
Date: Fri, 7 Sep 2018 17:20:36 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 09/07/2018 04:53 PM, Bruno Haible wrote:

Implemented as follows. The prototype is as in [3], except that I dropped
the suffix '_np', because
   - Functions with suffix '_np' are in the system's namespace, that is,
     there is no requirement that different systems implement them with the
     same semantics or same prototype.
   - Gnulib has fewer backward compatibility requirements, in case we need
     to change the prototype in order to conform to some future POSIX standard.

Did you also read my POSIX request (which also drops _np)? http://austingroupbugs.net/view.php?id=1208

There, I argue that we also need posix_spawn_file_actions_addfchdir(), in part because it lets us get the same power as openat() in determining how relative file names are resolved in relation to an fd.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]