Use LC_MESSAGES locale category instead of value of LANG environment variable
while opening of tcsh's message catalog. It gives us more flexibility, and do not change current behaviour (since we call setlocale() here) Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com> PR: bin/76773 MFC After: 3 days
This commit is contained in:
parent
7c61c21042
commit
2b40ba25cc
@ -130,6 +130,8 @@
|
||||
/* we want to use the system malloc when we install as /bin/csh */
|
||||
#define SYSMALLOC
|
||||
#define BSD_STYLE_COLORLS
|
||||
/* Use LC_MESSAGES locale category used to open the message catalog */
|
||||
#define MCLoadBySet NL_CAT_LOCALE
|
||||
#endif
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
|
@ -130,6 +130,8 @@
|
||||
/* we want to use the system malloc when we install as /bin/csh */
|
||||
#define SYSMALLOC
|
||||
#define BSD_STYLE_COLORLS
|
||||
/* Use LC_MESSAGES locale category used to open the message catalog */
|
||||
#define MCLoadBySet NL_CAT_LOCALE
|
||||
#endif
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user