From fcdc67f963a44603553e52a0f883e5d0e5727b34 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 20 Sep 2002 20:06:45 +0000 Subject: * sysdeps/powerpc/bits/setjmp.h [__WORDSIZE]: Add 64-bit jmpbuf. * sysdeps/powerpc/bits/wordsize.h: New file. * sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Change long array to int array for 32-/64-bit compatibility. 2002-09-20 Roland McGrath * login/programs/utmpdump.c: Don't include , . * sysdeps/generic/utimes.c (__utimes): Don't check TVP for null. Reported by Bruno Haible . * sysdeps/generic/ifreq.h (__ifreq): Compute termination condition before doubling RQ_LEN. * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise. Reported by Bruno Haible . 2002-09-18 Bruno Haible * login/logout.c (logout): Don't assume ut_time has the same size as a time_t. * login/logwtmp.c (logwtmp): Likewise. * sysdeps/pthread/configure: New file, moved here from linuxthreads/sysdeps/unix/sysv/linux/configure. --- localedata/gen-locale.sh | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'localedata/gen-locale.sh') diff --git a/localedata/gen-locale.sh b/localedata/gen-locale.sh index edd0e89ca0..9e411c1cd8 100644 --- a/localedata/gen-locale.sh +++ b/localedata/gen-locale.sh @@ -1,6 +1,6 @@ #! /bin/sh # Generate test locale files. -# Copyright (C) 2000-2001 Free Software Foundation, Inc. +# Copyright (C) 2000,01,02 Free Software Foundation, Inc. # This file is part of the GNU C Library. # @@ -25,18 +25,22 @@ locfile="$1"; shift generate_locale () { - charmap=$1 - input=$2 - out=$3 - I18NPATH=. GCONV_PATH=${common_objpfx}iconvdata \ - ${localedef} --quiet -c -f $charmap -i $input \ - ${common_objpfx}localedata/$out - - if [ $? -ne 0 ]; then - echo "Charmap: \"${charmap}\" Inputfile: \"${input}\"" \ - "Outputdir: \"${out}\" failed" - exit 1 - fi + charmap=$1 + input=$2 + out=$3 + if I18NPATH=. GCONV_PATH=${common_objpfx}iconvdata \ + ${localedef} --quiet -c -f $charmap -i $input \ + ${common_objpfx}localedata/$out + then + # The makefile checks the timestamp of the LC_CTYPE file, + # but localedef won't have touched it if it was able to + # hard-link it to an existing file. + touch ${common_objpfx}localedata/$out/LC_CTYPE + else + echo "Charmap: \"${charmap}\" Inputfile: \"${input}\"" \ + "Outputdir: \"${out}\" failed" + exit 1 + fi } locfile=`echo $locfile|sed 's|.*/\([^/]*/LC_CTYPE\)|\1|'` -- cgit 1.4.1