This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]