This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/3] Avoid duplication of _CLOEXEC and _NONBLOCK values
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.