Re: r3991 - in glibc-package/trunk/debian: . patches patches/any
Huh ?
On Thu, Nov 19, 2009 at 11:34:02AM -0500, Scott Lawrence wrote:
> On Thu, Nov 19, 2009 at 11:14, Aurelien Jarno <aurel32@alioth.debian.org> wrote:
> > Author: aurel32
> > Date: 2009-11-19 16:14:18 +0000 (Thu, 19 Nov 2009)
> > New Revision: 3991
> >
> > Added:
> > glibc-package/trunk/debian/patches/any/submitted-bits-fcntl_h-at.diff
> > Modified:
> > glibc-package/trunk/debian/changelog
> > glibc-package/trunk/debian/patches/series
> > Log:
> > * patches/any/submitted-bits-fcntl_h-at.diff: new patch to move AT_*
> > constants from <fcntl.h> to <bits/fcntl.h>.
> >
> >
> >
> > Modified: glibc-package/trunk/debian/changelog
> > ===================================================================
> > --- glibc-package/trunk/debian/changelog 2009-11-19 13:10:41 UTC (rev 3990)
> > +++ glibc-package/trunk/debian/changelog 2009-11-19 16:14:18 UTC (rev 3991)
> > @@ -17,6 +17,8 @@
> > patches/locale/cvs-C-first_weekday.diff. Closes: #556884.
> > * rules.d/debhelper.mk: don't use --strip-unneeded when stripping .o
> > objects. Closes: #556951.
> > + * patches/any/submitted-bits-fcntl_h-at.diff: new patch to move AT_*
> > + constants from <fcntl.h> to <bits/fcntl.h>.
> >
> > [ Carlos O'Donell]
> > * patches/hppa/local-stack-grows-up.diff: new version.
> > @@ -24,7 +26,7 @@
> > [ Petr Salinger]
> > * kfreebsd/local-sysdeps.diff: update to revision 2855 (from glibc-bsd).
> >
> > - -- Aurelien Jarno <aurel32@debian.org> Thu, 19 Nov 2009 11:50:25 +0100
> > + -- Aurelien Jarno <aurel32@debian.org> Thu, 19 Nov 2009 17:13:00 +0100
> >
> > eglibc (2.10.1-7) unstable; urgency=low
> >
> >
> > Added: glibc-package/trunk/debian/patches/any/submitted-bits-fcntl_h-at.diff
> > ===================================================================
> > --- glibc-package/trunk/debian/patches/any/submitted-bits-fcntl_h-at.diff (rev 0)
> > +++ glibc-package/trunk/debian/patches/any/submitted-bits-fcntl_h-at.diff 2009-11-19 16:14:18 UTC (rev 3991)
> > @@ -0,0 +1,376 @@
> > +2009-11-19 Aurelien Jarno <aurelien@aurel32.net>
> > +
> > + * io/fcntl.h: Move AT_* defines to...
> > + * sysdeps/mach/hurd/bits/fcntl.h: ...here.
> > + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: ...here.
> > + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: ...here.
> > + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: ...here.
> > + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: ...here.
> > + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: ...here.
> > + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: ...here.
> > + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: ...here.
> > +
> > +2009-11-19 Aurelien Jarno <aurelien@aurel32.net>
> > +
> > + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define AT_*
> > + constants.
> > + * sysdeps/unix/sysv/linux/am33/bits/fcntl.h: Define AT_*
> > + constants.
> > + * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Define AT_*
> > + constants.
> > + * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: Define AT_*
> > + constants.
> > + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Define AT_*
> > + constants.
> > + * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Define AT_*
> > + constants.
> > + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define AT_*
> > + constants.
> > +
> > +--- a/io/fcntl.h
> > ++++ b/io/fcntl.h
> > +@@ -56,18 +56,6 @@ __BEGIN_DECLS
> > + # define SEEK_END 2 /* Seek from end of file. */
> > + #endif /* XPG */
> > +
> > +-#ifdef __USE_ATFILE
> > +-# define AT_FDCWD -100 /* Special value used to indicate
> > +- the *at functions should use the
> > +- current working directory. */
> > +-# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > +-# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > +- unlinking file. */
> > +-# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > +-# define AT_EACCESS 0x200 /* Test access permitted for
> > +- effective IDs, not real IDs. */
> > +-#endif
> > +-
> > + /* Do the file control operation described by CMD on FD.
> > + The remaining arguments are interpreted depending on CMD.
> > +
> > +--- a/sysdeps/mach/hurd/bits/fcntl.h
> > ++++ b/sysdeps/mach/hurd/bits/fcntl.h
> > +@@ -219,3 +219,16 @@ struct flock64
> > + # define POSIX_FADV_DONTNEED 4 /* Don't need these pages. */
> > + # define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
> > + #endif
> > ++
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > +--- a/sysdeps/unix/sysv/linux/i386/bits/fcntl.h
> > ++++ b/sysdeps/unix/sysv/linux/i386/bits/fcntl.h
> > +@@ -227,6 +227,19 @@ struct f_owner_ex
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> > +--- a/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
> > ++++ b/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
> > +@@ -221,6 +221,19 @@ struct f_owner_ex
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> > +--- a/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
> > ++++ b/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
> > +@@ -227,6 +227,19 @@ struct f_owner_ex
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> > +--- a/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
> > ++++ b/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
> > +@@ -247,6 +247,19 @@ struct f_owner_ex
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> > +--- a/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
> > ++++ b/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
> > +@@ -227,6 +227,19 @@ struct f_owner_ex
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> > +--- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
> > ++++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
> > +@@ -246,6 +246,19 @@ struct f_owner_ex
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> > +--- a/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h
> > ++++ b/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h
> > +@@ -241,6 +241,19 @@ struct f_owner_ex
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> > +--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
> > ++++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
> > +@@ -200,6 +200,19 @@ struct flock64
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> > +--- a/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
> > ++++ b/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
> > +@@ -179,3 +179,18 @@ struct flock64
> > + # define POSIX_FADV_DONTNEED 4 /* Don't need these pages. */
> > + # define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
> > + #endif
> > ++
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > ++
> > +--- a/ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
> > ++++ b/ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
> > +@@ -227,6 +227,19 @@ struct f_owner_ex
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> > +--- a/ports/sysdeps/unix/sysv/linux/cris/bits/fcntl.h
> > ++++ b/ports/sysdeps/unix/sysv/linux/cris/bits/fcntl.h
> > +@@ -182,6 +182,19 @@ struct flock64
> > + # define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + /* Provide kernel hint to read ahead. */
> > +--- a/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
> > ++++ b/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
> > +@@ -198,6 +198,19 @@ struct flock64
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> > +--- a/ports/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
> > ++++ b/ports/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
> > +@@ -226,6 +226,19 @@ struct f_owner_ex
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> > +--- a/ports/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
> > ++++ b/ports/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
> > +@@ -240,6 +240,19 @@ struct f_owner_ex
> > + # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */
> > + #endif
> > +
> > ++/* Values for `*at' functions. */
> > ++#ifdef __USE_ATFILE
> > ++# define AT_FDCWD -100 /* Special value used to indicate
> > ++ the *at functions should use the
> > ++ current working directory. */
> > ++# define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
> > ++# define AT_REMOVEDIR 0x200 /* Remove directory instead of
> > ++ unlinking file. */
> > ++# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
> > ++# define AT_EACCESS 0x200 /* Test access permitted for
> > ++ effective IDs, not real IDs. */
> > ++#endif
> > ++
> > + __BEGIN_DECLS
> > +
> > + #ifdef __USE_GNU
> >
> > Modified: glibc-package/trunk/debian/patches/series
> > ===================================================================
> > --- glibc-package/trunk/debian/patches/series 2009-11-19 13:10:41 UTC (rev 3990)
> > +++ glibc-package/trunk/debian/patches/series 2009-11-19 16:14:18 UTC (rev 3991)
> > @@ -212,3 +212,4 @@
> > all/local-ldd.diff
> > any/cvs-malloc-check.diff
> > any/cvs-ksm.diff
> > +any/submitted-bits-fcntl_h-at.diff
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-glibc-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
> >
>
>
>
> --
> Scott Lawrence
>
> Webmaster
> The Blair Robot Project
> Montgomery Blair High School
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
Reply to: