CVSROOT: /cvs Module name: src Changes by: s...@cvs.openbsd.org 2013/06/01 15:26:18
Modified files: lib/libc : Makefile lib/libc/nls : catopen.3 catopen.c lib/libc/string: strerror_r.c Added files: lib/libc/nls : da.ISO8859-1.msg da.UTF-8.msg de.ISO8859-1.msg de.UTF-8.msg es.ISO8859-1.msg es.UTF-8.msg fi.ISO8859-1.msg fi.UTF-8.msg fr.ISO8859-1.msg fr.UTF-8.msg it.UTF-8.msg nl.ISO8859-1.msg nl.UTF-8.msg no.ISO8859-1.msg no.UTF-8.msg ru.KOI8-R.msg ru.UTF-8.msg sv.ISO8859-1.msg sv.UTF-8.msg Removed files: lib/libc/nls : da.msg de.msg es.msg fi.msg fr.msg it.msg nl.msg no.msg ru.msg sv.msg Log message: Fix catopen(3) for UTF-8 locales and update the implementation to POSIX-2008. Catalogs had an arbitrary character set which was used regardless of locale. Add UTF-8-encoded catalogs for libc error messages, and rename existing ones to indicate their character sets. catopen(3) now chooses a catalog which matches the locale's encoding, if available. help & ok matthew, man page bits ok jmc, input from naddy and bluhm