Welcome! Log In Create A New Profile

Advanced

[njs] Fixed configure process with non-default locale.

Valentin Bartenev
July 24, 2018 12:34PM
details: http://hg.nginx.org/njs/rev/7ccf9c0a412a
branches:
changeset: 568:7ccf9c0a412a
user: Valentin Bartenev <vbart@nginx.com>
date: Tue Jul 24 19:25:39 2018 +0300
description:
Fixed configure process with non-default locale.

Overriding LANG might not work, since it has less precedence than LC_* settings.
LC_ALL has the highest precedence.

diffstat:

configure | 4 ++--
nxt/auto/configure | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r a4e5abdc345d -r 7ccf9c0a412a configure
--- a/configure Tue Jul 24 18:29:25 2018 +0300
+++ b/configure Tue Jul 24 19:25:39 2018 +0300
@@ -5,8 +5,8 @@


# Disable localized program messages.
-LANG=C
-export LANG
+LC_ALL=C
+export LC_ALL

# Stop on error exit status.
set -e
diff -r a4e5abdc345d -r 7ccf9c0a412a nxt/auto/configure
--- a/nxt/auto/configure Tue Jul 24 18:29:25 2018 +0300
+++ b/nxt/auto/configure Tue Jul 24 19:25:39 2018 +0300
@@ -5,8 +5,8 @@


# Disable localized program messages.
-LANG=C
-export LANG
+LC_ALL=C
+export LC_ALL

# Stop on error exit status.
set -e
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed configure process with non-default locale.

Valentin Bartenev 383 July 24, 2018 12:34PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready