diff --git a/ChangeLog b/ChangeLog index f1a0036aa3..68bf791817 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,10 @@ (__libc_csu_init): ...here. * csu/libc-start.c [!SHARED]: Call __libc_csu_irel early. +2009-11-22 Ulrich Drepper + + * sunrpc/create_xid.c (_create_xid): Reinitialize state after fork. + 2009-11-18 H.J. Lu [BZ #10162] diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 4ddd35d681..88284268a9 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,15 @@ +2009-11-24 Ulrich Drepper + + * locales/hsb_DE: Define week, first_weekday, and first_workday. + +2009-11-23 Ulrich Drepper + + * locales/en_DK: Define week, first_weekday, and first_workday. + +2009-11-22 Ulrich Drepper + + * locales/nl_NL: Define week, first_weekday, and first_workday. + 2009-10-30 Ulrich Drepper * locales/it_CH: Fix typos in last change. diff --git a/localedata/locales/en_DK b/localedata/locales/en_DK index aa58763578..3ec5170558 100644 --- a/localedata/locales/en_DK +++ b/localedata/locales/en_DK @@ -85,34 +85,34 @@ END LC_NUMERIC LC_TIME abday "";"";/ - "";"";/ - "";"";/ - "" + "";"";/ + "";"";/ + "" day "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" + "";/ + "";/ + "";/ + "";/ + "";/ + "" abmon "";"";/ - "";"";/ - "";"";/ - "";"";/ - "";"";/ - "";"" + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"" mon "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" % date formats following ISO 8601-1988 d_t_fmt "" d_fmt "" @@ -122,6 +122,9 @@ t_fmt_ampm "" date_fmt "/ / " +week 7;19971130;4 +first_weekday 2 +first_workday 2 END LC_TIME LC_MESSAGES diff --git a/localedata/locales/hsb_DE b/localedata/locales/hsb_DE index 50355af35a..0929897c8a 100644 --- a/localedata/locales/hsb_DE +++ b/localedata/locales/hsb_DE @@ -197,7 +197,7 @@ collating-symbol % letter;accent;case;specials order_start forward;backward/ - ;forward;position + ;forward;position % or letters first: @@ -2136,16 +2136,16 @@ END LC_NUMERIC LC_TIME abday "";"";/ - "";"";/ - "";"";/ - "" + "";"";/ + "";"";/ + "" day "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" + "";/ + "";/ + "";/ + "";/ + "";/ + "" abmon "";"";/ "";"";/ "";"";/ @@ -2172,6 +2172,10 @@ t_fmt_ampm "" date_fmt "/ / " + +week 7;19971130;4 +first_weekday 2 +first_workday 2 END LC_TIME LC_PAPER diff --git a/localedata/locales/nl_NL b/localedata/locales/nl_NL index 9719cec5f6..6f832927a3 100644 --- a/localedata/locales/nl_NL +++ b/localedata/locales/nl_NL @@ -88,33 +88,33 @@ END LC_NUMERIC LC_TIME abday "";"";"";/ - "";"";"";/ - "" + "";"";"";/ + "" day "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" + "";/ + "";/ + "";/ + "";/ + "";/ + "" abmon "";"";/ - "";"";/ - "";"";/ - "";"";/ - "";"";/ - "";"" + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"" mon "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "";/ - "" + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" d_t_fmt "" d_fmt "" t_fmt "" @@ -123,6 +123,10 @@ t_fmt_ampm "" date_fmt "/ / " + +week 7;19971130;4 +first_weekday 2 +first_workday 2 END LC_TIME LC_PAPER diff --git a/sunrpc/create_xid.c b/sunrpc/create_xid.c index 4e76918644..c247568cee 100644 --- a/sunrpc/create_xid.c +++ b/sunrpc/create_xid.c @@ -1,4 +1,4 @@ -/* Copyright (c) 1998, 2000 Free Software Foundation, Inc. +/* Copyright (c) 1998, 2000, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk , 1998. @@ -27,7 +27,7 @@ __libc_lock_define_initialized (static, createxid_lock) -static int is_initialized; +static pid_t is_initialized; static struct drand48_data __rpc_lrand48_data; unsigned long @@ -37,13 +37,15 @@ _create_xid (void) __libc_lock_lock (createxid_lock); - if (!is_initialized) + pid_t pid = getpid (); + if (is_initialized != pid) { struct timeval now; __gettimeofday (&now, (struct timezone *) 0); - __srand48_r (now.tv_sec ^ now.tv_usec, &__rpc_lrand48_data); - is_initialized = 1; + __srand48_r (now.tv_sec ^ now.tv_usec ^ pid, + &__rpc_lrand48_data); + is_initialized = pid; } lrand48_r (&__rpc_lrand48_data, &res); diff --git a/version.h b/version.h index e44ecd4a19..3c51c9ca2a 100644 --- a/version.h +++ b/version.h @@ -1,4 +1,4 @@ /* This file just defines the current version number of libc. */ #define RELEASE "stable" -#define VERSION "2.11" +#define VERSION "2.11.1"