summaryrefslogtreecommitdiffstats
path: root/etc
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 /etc
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 'etc')
-rwxr-xr-xetc/periodic/weekly/320.whatis2
-rwxr-xr-xetc/periodic/weekly/330.catman2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/periodic/weekly/320.whatis b/etc/periodic/weekly/320.whatis
index 6af7747..dfc218a 100755
--- a/etc/periodic/weekly/320.whatis
+++ b/etc/periodic/weekly/320.whatis
@@ -36,7 +36,7 @@ case "$weekly_whatis_enable" in
then
for i in ${man_locales}
do
- LC_CTYPE=$i /usr/libexec/makewhatis.local -a \
+ LC_ALL=$i /usr/libexec/makewhatis.local -a \
-L "${MANPATH}" || rc=3
done
fi
diff --git a/etc/periodic/weekly/330.catman b/etc/periodic/weekly/330.catman
index 999913f..6739ae9 100755
--- a/etc/periodic/weekly/330.catman
+++ b/etc/periodic/weekly/330.catman
@@ -42,7 +42,7 @@ case "$weekly_catman_enable" in
then
for i in $man_locales
do
- LC_CTYPE=$i echo /usr/libexec/catman.local -L \
+ LC_ALL=$i echo /usr/libexec/catman.local -L \
"$MANPATH" | su -fm man || rc=3
done
fi
OpenPOWER on IntegriCloud