[PATCH 1/3] Avoid duplication of _CLOEXEC and _NONBLOCK values
Carlos O'Donell
carlos@systemhalted.org
Fri Aug 13 18:22:00 GMT 2010
On Fri, Aug 13, 2010 at 11:33 AM, Ulrich Drepper <drepper@redhat.com> wrote:
> The code is written as it is for a reason. You cannot just include
> another header in public headers because you are polluting the namespace.
>
> Additionally, there is no requirement that all archs use the same value
> as O_CLOEXEC for the flags.
>
> There just is no reason whatsoever to do any of this.
The patches decreases maintenance cost for the targets, avoiding
duplication of all of the header files for each target.
Is your only disagreement that the patch pollutes the namespace?
Cheers,
Carlos.
More information about the Libc-alpha
mailing list