summaryrefslogtreecommitdiffstats
path: root/contrib/groff/src
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-03-02 16:52:14 +0000
committerru <ru@FreeBSD.org>2001-03-02 16:52:14 +0000
commit3e8d7346e8d524380230b24dff5cb01becde964b (patch)
tree225fde80fe94b1fa2ce048160833bd1655dff767 /contrib/groff/src
parenta79ec4865fc9fdfd8362a7fb93be50e7ff00c4f9 (diff)
downloadFreeBSD-src-3e8d7346e8d524380230b24dff5cb01becde964b.zip
FreeBSD-src-3e8d7346e8d524380230b24dff5cb01becde964b.tar.gz
setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
Diffstat (limited to 'contrib/groff/src')
-rw-r--r--contrib/groff/src/preproc/eqn/neqn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/groff/src/preproc/eqn/neqn.sh b/contrib/groff/src/preproc/eqn/neqn.sh
index 1ae98e8..49cd70f 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
OpenPOWER on IntegriCloud