From 5631e740ff086e9c978e817509bee9d73bceeff3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 2 May 2006 21:55:00 +0000 Subject: [PATCH] [BZ #1201] * posix/regex.h: g++ still cannot handled [restrict]. --- ChangeLog | 3 +++ localedata/ChangeLog | 4 ++++ localedata/locales/de_DE | 6 +++--- posix/regex.h | 3 ++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c370154d9f..35396998ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-05-02 Ulrich Drepper + [BZ #1201] + * posix/regex.h: g++ still cannot handled [restrict]. + [BZ #2509] * stdio-common/vfprintf.c (process_arg): Fix reading of signed short and byte values from parameter list. diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 70b9e2e8fb..8fb2d58464 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,5 +1,9 @@ 2006-05-02 Ulrich Drepper + [BZ #1203] + * locales/de_DE: Fix order of day of month and month name in + date_fmt. Add period after the day number and avoid padding. + * SUPPORTED (SUPPORTED-LOCALES): Add tr_CY.ISO-8859-9 and tr_CY.UTF-8. diff --git a/localedata/locales/de_DE b/localedata/locales/de_DE index 51a88d5622..8c6fe41eb2 100644 --- a/localedata/locales/de_DE +++ b/localedata/locales/de_DE @@ -150,9 +150,9 @@ d_fmt "" % "%T" t_fmt "" t_fmt_ampm "" -date_fmt "/ -/ -" +date_fmt "/ +/ +" END LC_TIME LC_MESSAGES diff --git a/posix/regex.h b/posix/regex.h index d787b9bff9..807c404ec2 100644 --- a/posix/regex.h +++ b/posix/regex.h @@ -525,7 +525,8 @@ extern int re_exec (const char *); #endif /* gcc 3.1 and up support the [restrict] syntax. */ #ifndef __restrict_arr -# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) +# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) \ + && !defined __GNUG__ # define __restrict_arr __restrict # else # define __restrict_arr