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] Add name_to_handle_at and open_by_handle_at for PowerPC


On 09/27/2012 10:37 AM, Roland McGrath wrote:
They are in bits/fcntl.h because they are Linux-specific.  It would be a
reasonable cleanup to add a new shared bits/fcntl-linux.h and move the
repetitious parts of the linux/*/bits/fcntl.h files there and make them
all #include <bits/fcntl-linux.h>.
Ah, I see linux/bits/fcntl.h is currently just a stub to provide an error. Ugh.

Should this cleanup also take care of the ports/ implementations?

In theory, I'd expect the vast majority of that new file to be sharable across the architectures.

Jeff


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