diff options
author | ru <ru@FreeBSD.org> | 2001-03-02 16:52:14 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-03-02 16:52:14 +0000 |
commit | 3e8d7346e8d524380230b24dff5cb01becde964b (patch) | |
tree | 225fde80fe94b1fa2ce048160833bd1655dff767 /sys | |
parent | a79ec4865fc9fdfd8362a7fb93be50e7ff00c4f9 (diff) | |
download | FreeBSD-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 'sys')
-rwxr-xr-x | sys/boot/common/newvers.sh | 2 | ||||
-rw-r--r-- | sys/boot/ficl/Makefile | 2 | ||||
-rw-r--r-- | sys/conf/newvers.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/common/newvers.sh b/sys/boot/common/newvers.sh index ab16fe2..7a4856c 100755 --- a/sys/boot/common/newvers.sh +++ b/sys/boot/common/newvers.sh @@ -36,7 +36,7 @@ # # @(#)newvers.sh 8.1 (Berkeley) 4/20/94 -LC_TIME=C; export LC_TIME +LC_ALL=C; export LC_ALL u=${USER-root} h=`hostname` t=`date` #r=`head -n 6 $1 | tail -n 1 | awk -F: ' { print $1 } '` r=`awk -F: ' /^[0-9]\.[0-9]+:/ { print $1; exit }' $1` diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile index 9053b83..d6db6ae 100644 --- a/sys/boot/ficl/Makefile +++ b/sys/boot/ficl/Makefile @@ -38,6 +38,6 @@ CFLAGS+= -I${.CURDIR} -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR}/../common -DFICL softcore.c: ${SOFTWORDS} softcore.awk (cd ${.CURDIR}/softwords; cat ${SOFTWORDS} \ - | awk -f softcore.awk -v datestamp="`LC_TIME=C date`") > ${.TARGET} + | awk -f softcore.awk -v datestamp="`LC_ALL=C date`") > ${.TARGET} diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index fd76146..f7d30d4 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -78,7 +78,7 @@ fi COPYRIGHT="$COPYRIGHT " -LC_TIME=C; export LC_TIME +LC_ALL=C; export LC_ALL if [ ! -r version ] then echo 0 > version |