summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2001-12-21 13:14:02 +0000
committerphantom <phantom@FreeBSD.org>2001-12-21 13:14:02 +0000
commitba5bb8717a32d37a6763a4dfaed093b85f42dd22 (patch)
tree7a8417702fddd151b8a6759adef054750e937497 /lib
parent2fae03920fe96a65d63f45eee4e8ceef4aa6a078 (diff)
downloadFreeBSD-src-ba5bb8717a32d37a6763a4dfaed093b85f42dd22.zip
FreeBSD-src-ba5bb8717a32d37a6763a4dfaed093b85f42dd22.tar.gz
Slightly re-work locale messages storage scheme. Before this commit
LC_MESSAGES related data was installed to <locale>/LC_MESSAGES file. Now it go to <locale>/LC_MESSAGES/SYS_LC_MESSAGES file. LC_MESSAGES directory is supposed to be storage of message catalogs of userland tools. This should allow us to avoid many potential problems with future libintl related functionality introduction. Thanks for useful suggestions about correct way how to replace plain files with directories at installworld stage to: Ruslan Ermilov <ru>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/locale/lmessages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/lmessages.c b/lib/libc/locale/lmessages.c
index 4dcd719..3349700 100644
--- a/lib/libc/locale/lmessages.c
+++ b/lib/libc/locale/lmessages.c
@@ -60,7 +60,7 @@ __messages_load_locale(const char *name) {
_messages_locale.nostr = empty;
return __part_load_locale(name, &_messages_using_locale,
- _messages_locale_buf, "LC_MESSAGES",
+ _messages_locale_buf, "LC_MESSAGES/SYS_LC_MESSAGES",
LCMESSAGES_SIZE_FULL, LCMESSAGES_SIZE_MIN,
(const char **)&_messages_locale);
}
OpenPOWER on IntegriCloud