aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-03-02 16:52:14 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-03-02 16:52:14 +0000
commitafcf05e46aacbe58f9fd8338ab6ecf9b7d06d004 (patch)
tree4d1655d724be575f060459c555ab30a5630ec3e9 /sys
parent7a6be913664526370f69f43e340b7ed33f20ea8f (diff)
downloadsrc-afcf05e46aacbe58f9fd8338ab6ecf9b7d06d004.tar.gz
src-afcf05e46aacbe58f9fd8338ab6ecf9b7d06d004.zip
setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
Notes
Notes: svn path=/head/; revision=73349
Diffstat (limited to 'sys')
-rwxr-xr-xsys/boot/common/newvers.sh2
-rw-r--r--sys/boot/ficl/Makefile2
-rw-r--r--sys/conf/newvers.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/common/newvers.sh b/sys/boot/common/newvers.sh
index ab16fe28d4e5..7a4856c7480f 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 9053b83f60fd..d6db6aed8d98 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 fd76146b82d0..f7d30d461558 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