X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fduplocale.c;h=8aa2b12b4b6d077d700534f122308c46d7370690;hb=ec68a6fee63ee22364cb88f215b906989ab6b33c;hp=6f06d1fae27bfebdf02b40cb6f583b1023cabd2e;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/lib/duplocale.c b/lib/duplocale.c index 6f06d1fae..8aa2b12b4 100644 --- a/lib/duplocale.c +++ b/lib/duplocale.c @@ -1,5 +1,5 @@ /* Duplicate a locale object. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,7 +32,9 @@ locale_t rpl_duplocale (locale_t locale) { /* Work around crash in the duplocale function in glibc < 2.12. - See . */ + See . + Also, on AIX 7.1, duplocale(LC_GLOBAL_LOCALE) returns (locale_t)0 with + errno set to EINVAL. */ if (locale == LC_GLOBAL_LOCALE) { /* Create a copy of the locale by fetching the name of each locale