diff options
author | phantom <phantom@FreeBSD.org> | 2001-12-21 13:14:02 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2001-12-21 13:14:02 +0000 |
commit | ba5bb8717a32d37a6763a4dfaed093b85f42dd22 (patch) | |
tree | 7a8417702fddd151b8a6759adef054750e937497 /lib/libc/locale/lmessages.c | |
parent | 2fae03920fe96a65d63f45eee4e8ceef4aa6a078 (diff) | |
download | FreeBSD-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/libc/locale/lmessages.c')
-rw-r--r-- | lib/libc/locale/lmessages.c | 2 |
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); } |