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 roland/mman-linux] Move bits/mman-linux.h out of sysdeps/unix/sysv/linux/.


On 03/18/2014 05:52 PM, Roland McGrath wrote:
>> Every other way I can think of organizing the header, include_next, or
>> something else, just looks uglier than moving the header. So your solution
>> seems like the most reasonable.
> 
> I also had a hack where sysdeps/.../Makefile just copied the source file to
> the build directory.  That works well enough and avoids nastiness inside
> the file itself.  But it's less clean than moving the file.

It always irritates me when other build systems do this as it makes it
harder to understand the entirety of the source without having a build
directory. At present we do a pretty good job of keeping the source
structured such that you can read it and understand what it should do.
 
>> On request. Add enough comments that we know why this file is there so
>> someone reading either Makefile's or the header itself knows why it's
>> not where it should be.
> 
> I forgot about this request before I pushed the change.
> I'll add some comments now.

Thanks.

Cheers,
Carlos.


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