1) the AT constants might be put into a different new file,
i.e. <bits/atfile.h> or <bits/atfcntl.h>. This way it would suffice
just only one new generic file.
Good idea, I am going to implement this solution and push it upstream.
It has the advantage that only the main glibc has to be changed, no need
to also do the changes (in sync) with ports.
Or guard redefinition in main <fcntl.h> by i.e.
--- fcntl.h~
+++ fcntl.h
@@ -56,7 +56,7 @@
# define SEEK_END 2 /* Seek from end of file. */
#endif /* XPG */
-#ifdef __USE_ATFILE
+#if defined(__USE_ATFILE) && !defined(AT_EACCESS)
# define AT_FDCWD -100 /* Special value used to indicate
the *at functions should use the
current working directory. */
Petr
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org