Author: madcoder Date: 2007-04-14 23:48:38 +0000 (Sat, 14 Apr 2007) New Revision: 2067
Added: glibc-package/trunk/debian/patches/any/submitted-unistd_XOPEN_VERSION.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: Closes: #203412. * patches/any/submitted-unistd_XOPEN_VERSION.diff: set _XOPEN_VERSION to 600 when __USE_XOPEN2K is set. Closes: #203412. Signed-off-by: Pierre Habouzit <[EMAIL PROTECTED]> Modified: glibc-package/trunk/debian/changelog =================================================================== --- glibc-package/trunk/debian/changelog 2007-04-14 23:02:25 UTC (rev 2066) +++ glibc-package/trunk/debian/changelog 2007-04-14 23:48:38 UTC (rev 2067) @@ -1,3 +1,10 @@ +glibc (2.5-3) UNRELEASED; urgency=low + + * patches/any/submitted-unistd_XOPEN_VERSION.diff: set _XOPEN_VERSION to 600 + when __USE_XOPEN2K is set. Closes: #203412. + + -- Pierre Habouzit <[EMAIL PROTECTED]> Sun, 15 Apr 2007 01:46:38 +0200 + glibc (2.5-2) unstable; urgency=low * Update Portuguese debconf translation, by Ricardo Silva. Closes: #418301, Added: glibc-package/trunk/debian/patches/any/submitted-unistd_XOPEN_VERSION.diff =================================================================== --- glibc-package/trunk/debian/patches/any/submitted-unistd_XOPEN_VERSION.diff 2007-04-14 23:02:25 UTC (rev 2066) +++ glibc-package/trunk/debian/patches/any/submitted-unistd_XOPEN_VERSION.diff 2007-04-14 23:48:38 UTC (rev 2067) @@ -0,0 +1,25 @@ +# Debian: #203412 +# Upstream: http://sourceware.org/bugzilla/show_bug.cgi?id=4364 +# +Index: glibc-2.5/posix/unistd.h +=================================================================== +--- glibc-2.5.orig/posix/unistd.h 2007-04-15 01:39:35.612383707 +0200 ++++ glibc-2.5/posix/unistd.h 2007-04-15 01:40:56.028966387 +0200 +@@ -56,10 +56,14 @@ + #define _POSIX2_LOCALEDEF 200112L + + /* X/Open version number to which the library conforms. It is selectable. */ +-#ifdef __USE_UNIX98 +-# define _XOPEN_VERSION 500 ++#ifdef __USE_XOPEN2K ++# define _XOPEN_VERSION 600 + #else +-# define _XOPEN_VERSION 4 ++# ifdef __USE_UNIX98 ++# define _XOPEN_VERSION 500 ++# else ++# define _XOPEN_VERSION 4 ++# endif + #endif + + /* Commands and utilities from XPG4 are available. */ Modified: glibc-package/trunk/debian/patches/series =================================================================== --- glibc-package/trunk/debian/patches/series 2007-04-14 23:02:25 UTC (rev 2066) +++ glibc-package/trunk/debian/patches/series 2007-04-14 23:48:38 UTC (rev 2067) @@ -137,3 +137,4 @@ any/submitted-getcwd-sys_param_h.diff -p0 any/submitted-clock-settime.diff -p0 any/submitted-date-and-unknown-tz.diff -p0 +any/submitted-unistd_XOPEN_VERSION.diff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]