Module Name: src Committed By: joerg Date: Tue Apr 30 00:45:05 UTC 2013
Modified Files: src/include: locale.h src/lib/libc/include: namespace.h src/lib/libc/locale: Makefile.inc setlocale.c Added Files: src/lib/libc/locale: duplocale.c freelocale.c newlocale.c Log Message: Make that to process PATH_LOCALE the first time _find_category is called. Use this to implement newlocale and provide duplocale/freelocale as well. Based on patches by Takehiko Nozaki with simplications and fix for the init order by myself. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/include/locale.h cvs rdiff -u -r1.165 -r1.166 src/lib/libc/include/namespace.h cvs rdiff -u -r1.61 -r1.62 src/lib/libc/locale/Makefile.inc \ src/lib/libc/locale/setlocale.c cvs rdiff -u -r0 -r1.1 src/lib/libc/locale/duplocale.c \ src/lib/libc/locale/freelocale.c src/lib/libc/locale/newlocale.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.