mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-19 13:40:59 +08:00
Update.
2003-06-12 Ulrich Drepper <drepper@redhat.com> * scripts/config.guess: Update from upstream version. * scripts/config.sub: Likewise. 2003-06-12 Jakub Jelinek <jakub@redhat.com> * locale/programs/ld-time.c (time_output): Also copy the era format, not only the name.
This commit is contained in:
parent
66b110e855
commit
ad316adfa6
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2003-06-12 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* scripts/config.guess: Update from upstream version.
|
||||
* scripts/config.sub: Likewise.
|
||||
|
||||
2003-06-12 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* locale/programs/ld-time.c (time_output): Also copy the era format,
|
||||
not only the name.
|
||||
|
||||
2003-06-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* posix/transbug.c (run_test): Return 1 for failure.
|
||||
|
@ -670,7 +670,7 @@ time_output (struct localedef_t *locale, const struct charmap_t *charmap,
|
||||
idx[1 + last_idx] = idx[last_idx];
|
||||
for (num = 0; num < time->num_era; ++num)
|
||||
{
|
||||
size_t l;
|
||||
size_t l, l2;
|
||||
|
||||
iov[2 + cnt].iov_base = (void *) &time->era_entries[num].direction;
|
||||
iov[2 + cnt].iov_len = sizeof (int32_t);
|
||||
@ -699,15 +699,14 @@ time_output (struct localedef_t *locale, const struct charmap_t *charmap,
|
||||
|
||||
l = ((char *) rawmemchr (time->era_entries[num].format, '\0')
|
||||
- time->era_entries[num].name) + 1;
|
||||
l = (l + 3) & ~3;
|
||||
iov[2 + cnt].iov_base = alloca (l);
|
||||
/* This time we *really* want to use the properties of strncpy. */
|
||||
strncpy (iov[2 + cnt].iov_base, time->era_entries[num].name,
|
||||
l);
|
||||
iov[2 + cnt].iov_len = l;
|
||||
l2 = (l + 3) & ~3;
|
||||
iov[2 + cnt].iov_base = alloca (l2);
|
||||
memset (mempcpy (iov[2 + cnt].iov_base, time->era_entries[num].name, l),
|
||||
'\0', l2 - l);
|
||||
iov[2 + cnt].iov_len = l2;
|
||||
++cnt;
|
||||
|
||||
idx[1 + last_idx] += 8 * sizeof (int32_t) + l;
|
||||
idx[1 + last_idx] += 8 * sizeof (int32_t) + l2;
|
||||
|
||||
assert (idx[1 + last_idx] % 4 == 0);
|
||||
|
||||
|
7
scripts/config.guess
vendored
7
scripts/config.guess
vendored
@ -3,7 +3,7 @@
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2003-05-22'
|
||||
timestamp='2003-06-06'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
@ -106,6 +106,7 @@ trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
|
||||
: ${TMPDIR=/tmp} ;
|
||||
{ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
||||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
|
||||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
|
||||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
|
||||
dummy=$tmp/dummy ;
|
||||
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
|
||||
@ -770,8 +771,8 @@ EOF
|
||||
i*:PW*:*)
|
||||
echo ${UNAME_MACHINE}-pc-pw32
|
||||
exit 0 ;;
|
||||
x86:Interix*:3*)
|
||||
echo i586-pc-interix3
|
||||
x86:Interix*:[34]*)
|
||||
echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
|
||||
exit 0 ;;
|
||||
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
||||
echo i${UNAME_MACHINE}-pc-mks
|
||||
|
14
scripts/config.sub
vendored
14
scripts/config.sub
vendored
@ -3,7 +3,7 @@
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2003-05-09'
|
||||
timestamp='2003-06-06'
|
||||
|
||||
# This file is (in principle) common to ALL GNU software.
|
||||
# The presence of a machine in this file suggests that SOME GNU software
|
||||
@ -771,18 +771,24 @@ case $basic_machine in
|
||||
pentiumpro | p6 | 6x86 | athlon | athlon_*)
|
||||
basic_machine=i686-pc
|
||||
;;
|
||||
pentiumii | pentium2)
|
||||
pentiumii | pentium2 | pentiumiii | pentium3)
|
||||
basic_machine=i686-pc
|
||||
;;
|
||||
pentium4)
|
||||
basic_machine=i786-pc
|
||||
;;
|
||||
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
||||
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
||||
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
pentiumii-* | pentium2-*)
|
||||
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
|
||||
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
pentium4-*)
|
||||
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
pn)
|
||||
basic_machine=pn-gould
|
||||
;;
|
||||
@ -1131,7 +1137,7 @@ case $os in
|
||||
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
||||
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
||||
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
||||
| -powermax* | -dnix*)
|
||||
| -powermax* | -dnix* | -nx6 | -nx7)
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
-qnx*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user