From afcf05e46aacbe58f9fd8338ab6ecf9b7d06d004 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 2 Mar 2001 16:52:14 +0000 Subject: setlocale(3) has been fixed to match POSIX standard: LC_ALL takes precedence over other LC_* envariables. --- contrib/groff/src/preproc/eqn/neqn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/groff/src/preproc/eqn/neqn.sh') diff --git a/contrib/groff/src/preproc/eqn/neqn.sh b/contrib/groff/src/preproc/eqn/neqn.sh index 1ae98e8fa8b8..49cd70f3e1d4 100644 --- a/contrib/groff/src/preproc/eqn/neqn.sh +++ b/contrib/groff/src/preproc/eqn/neqn.sh @@ -4,7 +4,7 @@ # $FreeBSD$ # Default device. -locale=${LC_CTYPE:-$LANG} +locale=${LC_ALL:-${LC_CTYPE:-$LANG}} if test `expr "$locale" : ".*\.ISO_8859-1"` -gt 0 then T=latin1 -- cgit v1.2.3