This is the mail archive of the
mailing list for the glibc project.
Re: [tile] support openat() in not-cancel.h
> The problem is that there's no model for the dozen-odd files in
> sysdeps/unix/sysv/linux/ to get the correct version of "not-cancel.h"; they
> will all include the standard one, and break on Linux architectures using
> the new asm-generic API. So, naively, we'd need to duplicate about 2,700
> lines of code into sysdeps/unix/sysv/linux/generic/ to avoid modifying
> An alternative would be to move not-cancel.h somewhere overrideable by
Unless I'm missing something, there is no such problem. All the instances
use '#include <not-cancel.h>', not '#include "not-cancel.h"'. That means
the one in the most-specific sysdeps directory will always be the one used.
Oops, I found one instance: sysdeps/unix/sysv/linux/grantpt.c uses "".
That should be fixed.