platform/upstream/glibc.git
21 years agoUpdate.
Ulrich Drepper [Thu, 3 Oct 2002 01:03:45 +0000 (01:03 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/Dist: Add bits/utmpx.h.
* sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 3 Oct 2002 00:24:35 +0000 (00:24 +0000)]
Update.

2002-10-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/s390/s390-32/initfini.c: Avoid unterminated string literals.
* sysdeps/sh/elf/initfini.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/hppa/elf/initfini.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Oct 2002 21:03:48 +0000 (21:03 +0000)]
Update.

2002-10-02  Steven Munroe  <sjmunroe@us.ibm.com>
    Jakub Jelinek  <jakub@redhat.com>

* login/programs/utmpdump.c (print_entry): Copy up->ut_tv fields
to struct timeval temp_tv before printing to be 32-/64-bit agnostic.
* sysdeps/powerpc/bits/wordsize.h: Move to...
* sysdeps/powerpc/powerpc32/bits/wordsize.h: ...here.
(__WORDSIZE_COMPAT32): Define.
* sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
* sysdeps/sparc/sparc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
Define.
* sysdeps/sparc/sparc64/bits/wordsize.h (__WORDSIZE_COMPAT32):
Define.
* sysdeps/s390/bits/wordsize.h: Move to...
* sysdeps/s390/s390-32/bits/wordsize.h: ...here.
* sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
* sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Define.
* sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/utmp.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: New file.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Oct 2002 20:28:30 +0000 (20:28 +0000)]
Update.

2002-10-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix comment typo.
Temporarily enable R_ALPHA_NONE relocs in ld.so.
* sysdeps/ia64/dl-machine.h (elf_machine_rela): Temporarily enable
R_IA64_NONE relocs in ld.so.

21 years agoTemporarily enable R_*_NONE relocs in ld.so.
Ulrich Drepper [Wed, 2 Oct 2002 20:24:21 +0000 (20:24 +0000)]
Temporarily enable R_*_NONE relocs in ld.so.

21 years ago* sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.
Andreas Jaeger [Wed, 2 Oct 2002 11:01:06 +0000 (11:01 +0000)]
* sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.

* sysdeps/mips/fpu/fesetenv.c: Likewise.

21 years ago* README.template: Minimum Linux kernel for powerpc64 is 2.4.19.
Roland McGrath [Wed, 2 Oct 2002 08:48:09 +0000 (08:48 +0000)]
* README.template: Minimum Linux kernel for powerpc64 is 2.4.19.

* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm):
Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields
so they are consistent between PPC32 and PPC64.

21 years ago* sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:
Roland McGrath [Wed, 2 Oct 2002 08:34:07 +0000 (08:34 +0000)]
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:

(_STAT_VER): Define to _STAT_VER_KERNEL.
(stru stat, struct stat64): Define to match the PPC64 kernel.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
(libc: GLIBC_2.2): Remove __xstat64, __fxstat64, and __lxstat64.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add kernel_stat.h.

2002-10-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]:
Conditionalize the function definitions on this.
* sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]:
Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]:
Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]:
Likewise.

* Make-dist (dist): Create .bz2 file.  Add rule to create .bz2 files.

21 years ago2002-10-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Oct 2002 08:33:46 +0000 (08:33 +0000)]
2002-10-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]:
Conditionalize the function definitions on this.
* sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]:
Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]:
Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]:
Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Oct 2002 07:30:48 +0000 (07:30 +0000)]
Update.

2002-10-02  Ulrich Drepper  <drepper@redhat.com>

* version.h (VERSION): Bump to 2.3.

* elf/Makefile (distribute): Add tst-tlsmod1.c, tst-tlsmod2.c,
tst-tlsmod3.c, tst-tlsmod4.c, circlemod1.c, circlemod1a.c,
circlemod2.c, circlemod2a.c, circlemod3.c, circlemod3a.c,
and nodlopenmod2.c.

* login/Makefile (distribute): Add utmp-equal.h.

* iconvdata/Makefile (distribute): Add TSCII.precomposed and
TSCII.irreversible.

* Make-dist (dist): Create .bz2 file.  Add rule to create .bz2
files.
Also distribute xtests sources.

2002-10-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* elf/elf.h: Change TLS ELF relocation numbers.
* elf/tls-macros.h: Fix code sequences for SH TLS_LD and TLS_GD
macros.
* sysdeps/sh/dl-machine.h (dl_machine_rela) [case R_SH_TLS_TPOFF32]:
Use addend.
* sysdeps/sh/elf/initfini.c: Move __fpscr_values to...
* sysdeps/sh/elf/start.S: ...here.

21 years agoUpdate.
Ulrich Drepper [Wed, 2 Oct 2002 06:22:02 +0000 (06:22 +0000)]
Update.

2002-10-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/pt-machine.h: Make C code ifndef'ed with __ASSEMBLER__.
* sysdeps/sh/tls.h: Likewise.
* sysdeps/unix/sysv/linux/sh/smp.h: New file.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Oct 2002 20:13:00 +0000 (20:13 +0000)]
Update.

2002-10-01  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ,
SIGSTKSZ): Changed to match kernel.
* sysdeps/unix/sysv/linux/sparc/bits/sigstack.h: New file.

21 years ago(MINSIGSTKSZ, SIGSTKSZ): Changed to match kernel.
Ulrich Drepper [Tue, 1 Oct 2002 20:10:32 +0000 (20:10 +0000)]
(MINSIGSTKSZ, SIGSTKSZ): Changed to match kernel.

21 years ago* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
Roland McGrath [Tue, 1 Oct 2002 19:42:32 +0000 (19:42 +0000)]
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h

[__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
[__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
DN_ATTRIB, DN_MULTISHOT): New macros.

2002-02-08  Randolph Chung  <tausq@debian.org>

* sysdeps/hppa/elf/start.S: Define __data_start.

21 years ago2002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca>
Roland McGrath [Tue, 1 Oct 2002 19:42:01 +0000 (19:42 +0000)]
2002-10-01  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
[__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
[__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
DN_ATTRIB, DN_MULTISHOT): New macros.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Oct 2002 09:26:03 +0000 (09:26 +0000)]
Update.

2002-10-01  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regex_internal.c (re_string_reconstruct): Reset the member
LEN and STOP.
* posix/regexec.c (re_search_stub): Remove incorrect condition of
"range < 0".
Round RANGE in case that it is too small.

21 years ago(re_string_reconstruct): Reset the member LEN and STOP.
Ulrich Drepper [Tue, 1 Oct 2002 09:22:32 +0000 (09:22 +0000)]
(re_string_reconstruct): Reset the member LEN and STOP.

21 years ago* config.h.in (NO_HIDDEN): New #undef.
Roland McGrath [Tue, 1 Oct 2002 08:46:42 +0000 (08:46 +0000)]
* config.h.in (NO_HIDDEN): New #undef.

* include/libc-symbols.h [! NO_HIDDEN]: Add this condition to
nonempty definitions of hidden_proto et al.
* configure.in: Grok --disable-hidden-plt to define NO_HIDDEN.
* configure: Regenerated.
* sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN.
* sysdeps/mach/hurd/configure: Regenerated.

21 years ago2002-10-01 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 1 Oct 2002 08:45:44 +0000 (08:45 +0000)]
2002-10-01  Roland McGrath  <roland@frob.com>

* config.h.in (NO_HIDDEN): New #undef.
* include/libc-symbols.h [! NO_HIDDEN]: Add this condition to
nonempty definitions of hidden_proto et al.
* configure.in: Grok --disable-hidden-plt to define NO_HIDDEN.
* configure: Regenerated.
* sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN.
* sysdeps/mach/hurd/configure: Regenerated.

21 years agoUpdate.
Ulrich Drepper [Tue, 1 Oct 2002 00:05:23 +0000 (00:05 +0000)]
Update.

2002-09-19  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/ia64/dl-fptr.c (make_fdesc): Load address of "local" via
a 64-bit gp-relative address to enable binaries with large data
sections.

2002-09-30  Ulrich Drepper  <drepper@redhat.com>

* stdlib/cxa_finalize.c (__cxa_finalize): Call UNREGISTER_ATFORK
if it is defined.
* posix/Makefile (distribute): Add fork.h.
* sysdeps/generic/fork.h: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Sep 2002 22:30:11 +0000 (22:30 +0000)]
Update.

2002-09-29  Bruno Haible  <bruno@clisp.org>

* sysdeps/generic/utmp_file.c (LOCKING_FAILED): New macro.
(UNLOCK_FILE): Add a label.
(getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
updwtmp_file): Shut off the alarm clock when locking failed.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Sep 2002 22:01:05 +0000 (22:01 +0000)]
Update.

2002-09-30  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regex_internal.h (re_match_context_t): Add a new member.
(re_fail_stack_ent_t): New structure.
(re_fail_stack_t): Likewise.
* posix/regexec.c (re_search_internal): Use the new member of
re_match_context_t.
Use fail stack only if it has back references and there are plural
matching candidates.
(proceed_next_node): Use fail stack if it is indicated.
(set_regs): Likewise.
(push_fail_stack): New function.
(pop_fail_stack): New function.
(check_dst_limits): Likewise.
(check_dst_limits_calc_pos): Likewise.
(search_subexp): Check the limitations on the top of subexpressions.
(sift_states_bkref): Check the limitations of the destination node.
Reuse the array sctx->sifted_states.

2002-09-30  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/printf_fp.c: Shuffle a few lines around to help the
compiler optimizing.  No semantical changes intended.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Sep 2002 20:56:47 +0000 (20:56 +0000)]
Update.

21 years ago* sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bits
Roland McGrath [Mon, 30 Sep 2002 20:15:35 +0000 (20:15 +0000)]
* sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bits

from the next quad are needed.

21 years ago* elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.
Roland McGrath [Mon, 30 Sep 2002 10:26:59 +0000 (10:26 +0000)]
* elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.

* sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD] [! PIC]:
Use direct-%fs form of TLS access for errno.

* sysdeps/unix/sysv/linux/i386/i686/sysdep.h: File removed, since
the i386 version has all the same asm now.

* sysdeps/i386/elf/configure.in: Add @GOTNTPOFF and @NTPOFF uses to
the TLS support check.
* sysdeps/i386/elf/configure: Regenerated.

* sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD]
(SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno.

* sysdeps/unix/i386/sysdep.S (syscall_error)
[USE_TLS && HAVE___THREAD]: Use TLS access for errno.

21 years ago2002-09-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Sep 2002 10:26:28 +0000 (10:26 +0000)]
2002-09-30  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD]
(SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno.

21 years agoUpdate.
Andreas Jaeger [Mon, 30 Sep 2002 07:48:10 +0000 (07:48 +0000)]
Update.

* stdlib/tst-bsearch.c (main): Fix format strings.
* stdio-common/tst-rndseek.c (do_test): Likewise.
* libio/tst_swprintf.c (main): Likewise.
* catgets/tst-catgets.c (main): Likewise.
* libio/tst-fgetws.c (main): Likewise.
* posix/tst-mmap.c (main): Likewise.
* posix/bug-regex12.c (main): Likewise.
* posix/bug-regex11.c (main): Likewise.
* io/tst-getcwd.c (do_test): Likewise.

21 years agoFix format strings.
Andreas Jaeger [Mon, 30 Sep 2002 07:47:16 +0000 (07:47 +0000)]
Fix format strings.

21 years ago* sysdeps/unix/sysv/linux/x86_64/sysdep.h
Roland McGrath [Mon, 30 Sep 2002 07:26:12 +0000 (07:26 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.h

[USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access.

21 years ago* rt/tst-aio7.c (do_test): Don't read from stdin, which could be the
Roland McGrath [Mon, 30 Sep 2002 07:21:20 +0000 (07:21 +0000)]
* rt/tst-aio7.c (do_test): Don't read from stdin, which could be the

terminal when the test is running in a background job.  Instead, make
a pipe and read from its read half while never writing anything to it.

21 years ago2002-09-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Sep 2002 07:19:21 +0000 (07:19 +0000)]
2002-09-30  Roland McGrath  <roland@redhat.com>

* rt/tst-aio7.c (do_test): Don't read from stdin, which could be the
terminal when the test is running in a background job.  Instead, make
a pipe and read from its read half while never writing anything to it.

21 years agoUpdate.
Andreas Jaeger [Mon, 30 Sep 2002 07:08:16 +0000 (07:08 +0000)]
Update.

2002-09-30  Andreas Jaeger  <aj@suse.de>

* iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t.

* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
Store 4 bytes into errno, not 8 bytes.

21 years ago(test): Use %td in printf for ptrdiff_t.
Andreas Jaeger [Mon, 30 Sep 2002 06:53:25 +0000 (06:53 +0000)]
(test): Use %td in printf for ptrdiff_t.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Sep 2002 00:58:29 +0000 (00:58 +0000)]
Update.

2002-09-29  Ulrich Drepper  <drepper@redhat.com>

* posix/regexec.c (sift_states_bkref): Remove ret variable.  Use
err instead.

handling and don't pass in a siginfo variable.
* nss/Makefile: Move bug-erange from tests to xtests.

21 years ago(sift_states_bkref): Remove ret variable. Use err instead.
Ulrich Drepper [Mon, 30 Sep 2002 00:54:22 +0000 (00:54 +0000)]
(sift_states_bkref): Remove ret variable.  Use err instead.

21 years ago* test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.
Roland McGrath [Mon, 30 Sep 2002 00:22:26 +0000 (00:22 +0000)]
* test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.

Examine the child's status and print something different if it wasn't
just killed by our SIGKILL.
(main): In the child process call setpgid to put it in its own pgrp.

21 years ago2002-09-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Sep 2002 00:22:13 +0000 (00:22 +0000)]
2002-09-29  Roland McGrath  <roland@redhat.com>

* test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.
Examine the child's status and print something different if it wasn't
just killed by our SIGKILL.
(main): In the child process call setpgid to put it in its own pgrp.

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Sep 2002 23:24:50 +0000 (23:24 +0000)]
Update.

2002-09-29  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sigwait.c (__sigwait): The return value
semantics for sigtimedwait is different.  Rework the return value
handling and don't pass in an siginfo variable.

21 years ago* malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining.
Roland McGrath [Sun, 29 Sep 2002 22:53:29 +0000 (22:53 +0000)]
* malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining.

* sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.

21 years ago* sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.
Roland McGrath [Sun, 29 Sep 2002 22:48:07 +0000 (22:48 +0000)]
* sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.

2002-09-29  Roland McGrath  <roland@redhat.com>

21 years ago2002-09-29 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Sun, 29 Sep 2002 22:45:29 +0000 (22:45 +0000)]
2002-09-29  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/pthread/tst-timer.c (main): Clear
SIGEV2.sigev_notify_attributes.

21 years ago(__sigwait): The return value semantics for sigtimedwait is different. Rework the...
Ulrich Drepper [Sun, 29 Sep 2002 22:02:28 +0000 (22:02 +0000)]
(__sigwait): The return value semantics for sigtimedwait is different. Rework the return value handling and don't pass in an siginfo variable.

21 years ago* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:
Roland McGrath [Sun, 29 Sep 2002 21:50:55 +0000 (21:50 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:

Define errno in .tbss.
* sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS
access for setting errno.

* sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits.
AFAICT, it was just blind luck that the word following errno in .bss
was just alignment padding and not some other variable to be clobbered.

21 years ago2002-09-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 29 Sep 2002 21:41:17 +0000 (21:41 +0000)]
2002-09-29  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:
Define errno in .tbss.
* sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS
access for setting errno.

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Sep 2002 20:44:22 +0000 (20:44 +0000)]
Update.

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_SETRESUID_SYSCALL): On the sparc, define to 1, not empty.

2002-09-29  Jakub Jelinek  <jakub@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Sep 2002 18:25:48 +0000 (18:25 +0000)]
Update.

* nss/bug-erange.c (main): Don't fail if /etc/resolv.conf doesn't
exist.

2002-09-29  Ulrich Drepper  <drepper@redhat.com>

* nss/Makefile: Move bug-erage from tests to xtests.

2002-09-29  Jakub Jelinek  <jakub@redhat.com>

21 years ago(DO_SET_THREAD_AREA): Don't use INLINE_SYSCALL for set_thread_area syscall.
Ulrich Drepper [Sun, 29 Sep 2002 18:12:30 +0000 (18:12 +0000)]
(DO_SET_THREAD_AREA): Don't use INLINE_SYSCALL for set_thread_area syscall.

21 years ago* stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
Roland McGrath [Sun, 29 Sep 2002 12:35:09 +0000 (12:35 +0000)]
* stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.

2002-09-29  Jakub Jelinek  <jakub@redhat.com>

21 years ago* sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asm
Roland McGrath [Sun, 29 Sep 2002 11:32:03 +0000 (11:32 +0000)]
* sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asm

volatile.
(inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
inline_syscall5, inline_syscall6): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INLINE_SYSCALL):
Likewise.

2002-09-29  Roland McGrath  <roland@redhat.com>

* configure.in (libc_cv_ranlib_necessary check): Put the .o file in
the archive, not the .c file.
* configure: Regenerated.

21 years ago* configure: Regenerated after aclocal.m4 change.
Roland McGrath [Sun, 29 Sep 2002 10:38:40 +0000 (10:38 +0000)]
* configure: Regenerated after aclocal.m4 change.

* sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here.

* sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP):
Define it, because _dl_sym presumes it (for any platform).

* sysdeps/x86_64/dl-tls.h: New file.

* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast.

* sysdeps/x86_64/elf/configure.in: New file.
* sysdeps/x86_64/elf/configure: New generated file.

21 years ago* elf/rtld.c (_dl_start): Fix conditional for declaring CNT.
Roland McGrath [Sun, 29 Sep 2002 09:35:51 +0000 (09:35 +0000)]
* elf/rtld.c (_dl_start): Fix conditional for declaring CNT.

* aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib
before we check it.

21 years ago2002-09-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 29 Sep 2002 09:35:35 +0000 (09:35 +0000)]
2002-09-28  Roland McGrath  <roland@redhat.com>

* aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib
before we check it.

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Sep 2002 07:03:57 +0000 (07:03 +0000)]
Update.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Sep 2002 23:05:39 +0000 (23:05 +0000)]
Update.

2002-09-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __syscall_exit
entry point.

* sysdeps/unix/nice.c (nice): Use getpriority() for the return value.

21 years agoAdd __syscall_exit entry point.
Ulrich Drepper [Sat, 28 Sep 2002 23:02:54 +0000 (23:02 +0000)]
Add __syscall_exit entry point.

21 years ago* pthread.c (__pthread_reset_main_thread) [FLOATING_STACKS]:
Roland McGrath [Sat, 28 Sep 2002 21:58:14 +0000 (21:58 +0000)]
* pthread.c (__pthread_reset_main_thread) [FLOATING_STACKS]:

Don't call setrlimit, since we did no prior bogon we need to undo.

21 years ago* posix/bug-regex11.c (tests): Add flags field.
Roland McGrath [Sat, 28 Sep 2002 20:51:31 +0000 (20:51 +0000)]
* posix/bug-regex11.c (tests): Add flags field.

(main): Avoid warnings.  Use test[i].flags.  Return nonzero
if any of the tests failed.
* posix/bug-regex12.c: New file.
* posix/Makefile (tests): Add bug-regex12.

21 years ago2002-09-28 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Sat, 28 Sep 2002 20:51:17 +0000 (20:51 +0000)]
2002-09-28  Jakub Jelinek  <jakub@redhat.com>

* posix/bug-regex11.c (tests): Add flags field.
(main): Avoid warnings.  Use test[i].flags.  Return nonzero
if any of the tests failed.
* posix/bug-regex12.c: New file.
* posix/Makefile (tests): Add bug-regex12.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Sep 2002 20:12:15 +0000 (20:12 +0000)]
Update.

2002-03-02  Thorsten Kukuk  <kukuk@suse.de>

        * sysdeps/unix/nice.c (nice): Use getpriority() for the return value.

2002-09-28  Jeff Bailey  <jbailey@gnu.org>

* sysdeps/unix/sysv/sysv4/solaris2/configure.in: Delete.
* sysdeps/unix/sysv/aix/configure.in: Update comment and remove
stdio=libio setting.

* sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite):
Define these to __NR_pread64, __NR_pwrite64 if not defined.

21 years ago* sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for
Roland McGrath [Sat, 28 Sep 2002 19:45:42 +0000 (19:45 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for

_dl_signal_error.
* sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise.
* sysdeps/powerpc/powerpc64/dl-machine.c
(_dl_reloc_overflow): Likewise.
* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_rela): Likewise.

21 years ago* include/libc-symbols.h (__hidden_dot_weak1): Fix typo. Replace
Roland McGrath [Sat, 28 Sep 2002 19:22:39 +0000 (19:22 +0000)]
* include/libc-symbols.h (__hidden_dot_weak1): Fix typo.  Replace

ASM_GLOBAL_DIRECTIVE with .weak.

21 years ago2002-09-27 Steven Munroe <sjmunroe@us.ibm.com>
Roland McGrath [Sat, 28 Sep 2002 19:22:26 +0000 (19:22 +0000)]
2002-09-27  Steven Munroe  <sjmunroe@us.ibm.com>

* include/libc-symbols.h (__hidden_dot_weak1): Fix typo.  Replace
ASM_GLOBAL_DIRECTIVE with .weak.

21 years ago(nice): Use getpriority() for the return value.
Ulrich Drepper [Sat, 28 Sep 2002 19:13:13 +0000 (19:13 +0000)]
(nice): Use getpriority() for the return value.

21 years ago(td_thr_tls_get_addr): Fix reference to dtv.
Ulrich Drepper [Sat, 28 Sep 2002 17:41:37 +0000 (17:41 +0000)]
(td_thr_tls_get_addr): Fix reference to dtv.

21 years ago* sysdeps/unix/sysv/linux/mips/truncate64.c (truncate64): Fix
Andreas Jaeger [Sat, 28 Sep 2002 13:40:33 +0000 (13:40 +0000)]
* sysdeps/unix/sysv/linux/mips/truncate64.c (truncate64): Fix

number of args to syscall.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c (__ftruncate64): Likewise.
Patch by Guido Guenther <agx@sigxcpu.org>.

21 years agoFix number of args to syscall.
Andreas Jaeger [Sat, 28 Sep 2002 13:40:10 +0000 (13:40 +0000)]
Fix number of args to syscall.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Sep 2002 06:34:10 +0000 (06:34 +0000)]
Update.

2002-09-27  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (reg_free): Free the debug area.
(re_compile_internal): Allocate debug area for the input string.
(create_initial_state): Check the back references in initial states
if they are really match null string in the initial state.
(parse_reg_exp): Mark the dfa that the dfa can have plural matchings.
(parse_expression): Likewise.
(parse_bracket_exp): Likewise.
* posix/regex_internal.c (re_node_set_intersect): Remove unused
function.
(re_node_set_contains): Change to return the index of node.
* posix/regex_internal.h (re_backref_cache_entry): Change the members.
(re_match_context_t): Likewise.
(struct re_dfa_t): Likewise.
(re_sift_context_t): New structure.
* posix/regexec.c (match_ctx_clear_flag): New function.
(sift_ctx_init): Likewise.
(update_cur_sifted_state): Likewise.
(add_epsilon_src_nodes): Likewise.
(sub_epsilon_src_nodes): Likewise.
(check_subexp_limits): Likewise.
(search_subexp): Likewise.
(sift_states_bkref): Likewise.
(merge_state_array): Likewise.
(sift_states_iter_bkref): Remove unused function.
(add_epsilon_backreference): Remove unused function.
(re_search_internal): Adapt new members and interfaces.
(check_matching): Check the back references in initial states
if they are really match null string in the initial state.
(proceed_next_node): Change the evaluation of back references,
since we have real registers here.
(set_regs): Adapt new interface of proceed_next_node.
(sift_states_backward): Add invocation of update_cur_sifted_state
instead of add_epsilon_backreference.
Add a sentinel to the outermost while loop.
Move the handling of back references to sift_states_bkref function,
since we can't handle some back references (e.g. a back reference
which match NULL string) here.
(transit_state_mb): Handle the new member max_mb_elem_len.
(transit_state_bkref_loop): Move the evaluation of back references to
search_subexp function, since we can't evaluate some back references
(e.g. a back reference which can have plural matchings) here.
(match_ctx_init): Adapt the new member.
(match_ctx_add_entry): Adapt the new members.

2002-09-25  Alan Modra  <amodra@bigpond.net.au>

* elf/do-rel.h: Define macro DO_ELF_MACHINE_REL_RELATIVE for
'elf_machine_rel_relative'
(elf_dynamic_do_rel): Call DO_ELF_MACHINE_REL_RELATIVE macro
instead of 'elf_machine_rel_relative'.
* sysdeps/hppa/dl-machine.h:
Define macro DO_ELF_MACHINE_REL_RELATIVE for
'elf_machine_rel_relative' with extra map parameter
required by HPPA.
(elf_machine_rela_relative): Add plt relocation changes.

2001-11-14  Matthew Wilcox  <willy@debian.org>

* sysdeps/unix/sysv/linux/hppa/bits/ipc.h: New file.
* sysdeps/unix/sysv/linux/hppa/bits/msq.h: New file.
* sysdeps/unix/sysv/linux/hppa/bits/sem.h: New file.
* sysdeps/unix/sysv/linux/hppa/bits/shm.h: New file.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Sep 2002 05:28:44 +0000 (05:28 +0000)]
Update.

2002-09-27  Ulrich Drepper  <drepper@redhat.com>

* locales/zh_TW: Use shorter forms for abday and day.
Patch by Rex Tsai <chihchun@kalug.linux.org.tw>.

21 years agoDefine macro DO_ELF_MACHINE_REL_RELATIVE for 'elf_machine_rel_relative'. (elf_dynamic...
Ulrich Drepper [Sat, 28 Sep 2002 04:29:49 +0000 (04:29 +0000)]
Define macro DO_ELF_MACHINE_REL_RELATIVE for 'elf_machine_rel_relative'. (elf_dynamic_do_rel): Call DO_ELF_MACHINE_REL_RELATIVE macro instead of 'elf_machine_rel_relative'.

21 years ago* sysdeps/unix/sysv/linux/x86_64/sysdep.h
Roland McGrath [Sat, 28 Sep 2002 04:15:27 +0000 (04:15 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.h

(__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64
if not defined.

* sysdeps/unix/sysv/linux/powerpc/lchown.S
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Use this condition
on chown compatibility symbol; use compat_symbol, not symbol_version.

21 years ago2002-09-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 28 Sep 2002 04:15:00 +0000 (04:15 +0000)]
2002-09-27  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sysdep.h
(__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64
if not defined.

21 years agoSysV shared memory definitions for Linux/PA.
Ulrich Drepper [Sat, 28 Sep 2002 04:05:23 +0000 (04:05 +0000)]
SysV shared memory definitions for Linux/PA.

21 years ago(Hash Search Function): Describe that memory must be cleared before calling hcreate_r.
Ulrich Drepper [Sat, 28 Sep 2002 03:51:42 +0000 (03:51 +0000)]
(Hash Search Function): Describe that memory must be cleared before calling hcreate_r.

21 years ago2002-09-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 28 Sep 2002 03:26:03 +0000 (03:26 +0000)]
2002-09-27  Roland McGrath  <roland@redhat.com>

* sysdeps/x86_64/tls.h [__ASSEMBLER__]: Don't include <pt-machine.h>.

21 years ago* sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment.
Roland McGrath [Fri, 27 Sep 2002 19:59:04 +0000 (19:59 +0000)]
* sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment.

21 years ago* sysdeps/powerpc/powerpc64/Makefile
Roland McGrath [Fri, 27 Sep 2002 19:45:50 +0000 (19:45 +0000)]
* sysdeps/powerpc/powerpc64/Makefile

[$(build-shared) = yes] (pic-ccflag): Define it.
[$(subdir) = csu] (CFLAGS-initfini.s): Add -fpic here too.

21 years ago* sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Remove
Roland McGrath [Fri, 27 Sep 2002 08:29:54 +0000 (08:29 +0000)]
* sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Remove

unneeded TLS cases.

21 years ago* elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_start
Roland McGrath [Fri, 27 Sep 2002 07:29:51 +0000 (07:29 +0000)]
* elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_start

unconditionally.  Set dli_fname to _dl_argv[0] only for main program.

2002-09-27  Roland McGrath  <roland@redhat.com>

* elf/dl-addr.c (_dl_addr): Add a cast.

* sysdeps/x86_64/dl-machine.h (elf_machine_rela) [USE_TLS]: Handle new
TLS relocs R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, and R_X86_64_TPOFF64.

* elf/elf.h (R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, R_X86_64_TPOFF64,
R_X86_64_TLSGD, R_X86_64_TLSLD, R_X86_64_DTPOFF32,
R_x86_64_GOTTPOFF, R_X86_64_TPOFF32): New macros.
(R_X86_64_NUM): Update the value.

21 years ago* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't
Roland McGrath [Fri, 27 Sep 2002 03:24:18 +0000 (03:24 +0000)]
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't

rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the
addend.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use
the same l_addr computation.
* sysdeps/sparc/sparc64/configure.in: Removed.
* sysdeps/sparc/sparc64/configure: Removed.
* config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove.

21 years ago2002-09-24 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Fri, 27 Sep 2002 03:23:45 +0000 (03:23 +0000)]
2002-09-24  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't
rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the
addend.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use
the same l_addr computation.
* sysdeps/sparc/sparc64/configure.in: Removed.
* sysdeps/sparc/sparc64/configure: Removed.
* config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove.

21 years agoUpdate.
Ulrich Drepper [Fri, 27 Sep 2002 03:17:20 +0000 (03:17 +0000)]
Update.

2002-09-26  Ulrich Drepper  <drepper@redhat.com>

* elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_HASH entry
if necessary.
* elf/dl-lookup.c (_dl_setup_hash): DT_HASH entry is already relocated.
* elf/dl-addr.c (_dl_addr): Use .hash[1] entry to determine end of the
symbol table if necessary.

21 years ago(elf_get_dynamic_info): Also relocate DT_HASH entry if necessary.
Ulrich Drepper [Fri, 27 Sep 2002 02:56:54 +0000 (02:56 +0000)]
(elf_get_dynamic_info): Also relocate DT_HASH entry if necessary.

21 years ago* stdlib/longlong.h: Replaced with current version from GCC mainline,
Roland McGrath [Thu, 26 Sep 2002 22:33:24 +0000 (22:33 +0000)]
* stdlib/longlong.h: Replaced with current version from GCC mainline,

last modified 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>.

21 years ago2002-09-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 26 Sep 2002 22:32:54 +0000 (22:32 +0000)]
2002-09-26  Roland McGrath  <roland@redhat.com>

* stdlib/longlong.h: Replaced with current version from GCC mainline,
last modified 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>.

21 years ago* sysdeps/unix/sysv/linux/mips/syscalls.list: Add syscall_exit.
Andreas Jaeger [Wed, 25 Sep 2002 11:14:50 +0000 (11:14 +0000)]
* sysdeps/unix/sysv/linux/mips/syscalls.list: Add syscall_exit.

Patch by Guido Guenther <agx@sigxcpu.org>.

21 years agoAdd syscall_exit.
Andreas Jaeger [Wed, 25 Sep 2002 11:09:55 +0000 (11:09 +0000)]
Add syscall_exit.

21 years ago* Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS).
Roland McGrath [Wed, 25 Sep 2002 07:20:01 +0000 (07:20 +0000)]
* Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS).

21 years ago2002-09-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 25 Sep 2002 07:19:28 +0000 (07:19 +0000)]
2002-09-25  Roland McGrath  <roland@redhat.com>

* Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS).

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Sep 2002 06:47:44 +0000 (06:47 +0000)]
Update.

2002-09-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/configure.in: Recognize nptl add-on name.

21 years agoRecognize nptl add-on name.
Ulrich Drepper [Wed, 25 Sep 2002 06:44:02 +0000 (06:44 +0000)]
Recognize nptl add-on name.

21 years ago* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read,
Roland McGrath [Wed, 25 Sep 2002 03:26:16 +0000 (03:26 +0000)]
* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read,

__libc_write, __libc_lseek64, to ...
(ld: GLIBC_PRIVATE): ... here.

21 years ago* csu/Versions: Use %include <tls.h> to get USE_TLS defined.
Roland McGrath [Wed, 25 Sep 2002 01:58:37 +0000 (01:58 +0000)]
* csu/Versions: Use %include <tls.h> to get USE_TLS defined.

(libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _errno, errno.
(libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put errno here instead.
* resolv/Versions: Use %include <tls.h> to get USE_TLS defined.
(libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _h_errno, h_errno,
and _res.
(libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put h_errno, _res here.

* elf/tls-macros.h [__x86_64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
New macros for x86-64.

* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
It was indentical to the linux/bits/time.h file.

* nscd/nscd_gethst_r.c (nscd_gethst_r): Add a cast to silence warning.

* resolv/gethnamaddr.c (gethostbyaddr): Use socklen_t for SIZE.

21 years ago2002-09-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 25 Sep 2002 01:57:50 +0000 (01:57 +0000)]
2002-09-24  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
It was indentical to the linux/bits/time.h file.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Sep 2002 23:34:51 +0000 (23:34 +0000)]
Update.

21 years ago(td_thr_tls_get_addr): Change second parameter to be the address of the link map...
Ulrich Drepper [Tue, 24 Sep 2002 23:33:35 +0000 (23:33 +0000)]
(td_thr_tls_get_addr): Change second parameter to be the address of the link map in the inferior process.

21 years ago* posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K]
Roland McGrath [Tue, 24 Sep 2002 06:40:26 +0000 (06:40 +0000)]
* posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K]

for gethostname declaration.

21 years ago2002-09-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 24 Sep 2002 06:26:28 +0000 (06:26 +0000)]
2002-09-23  Roland McGrath  <roland@redhat.com>

* posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K]
for gethostname declaration.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Sep 2002 05:51:46 +0000 (05:51 +0000)]
Update.

2002-09-23  Ulrich Drepper  <drepper@redhat.com>

* po/zh_CN.po: New file.

21 years agoSimplified Chinese translations for libc.
Ulrich Drepper [Tue, 24 Sep 2002 05:42:16 +0000 (05:42 +0000)]
Simplified Chinese translations for libc.

21 years ago* catgets/open_catalog.c (__open_catalog): Don't use a value type
Roland McGrath [Tue, 24 Sep 2002 04:24:25 +0000 (04:24 +0000)]
* catgets/open_catalog.c (__open_catalog): Don't use a value type

as the __builtin_expect expression, just the Boolean value.

* sysdeps/generic/wordexp.c (parse_glob): int -> size_t for counter.
* sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
* resolv/res_hconf.c (arg_service_list, parse_line): Likewise.
* iconvdata/tst-loading.c (main): Likewise.
* catgets/tst-catgets.c (main): Likewise.
* stdlib/tst-xpg-basename.c (main): Likewise.
* stdlib/tst-bsearch.c (main): Likewise.
* stdio-common/test-vfprintf.c (main): Likewise.
* stdio-common/tst-rndseek.c (do_test): Likewise.
* libio/tst_swprintf.c (main): Likewise.
* libio/tst-fgetws.c (main): Likewise.
* wcsmbs/tst-mbrtowc.c (check_ascii): Likewise.
* time/tst-posixtz.c (main): Likewise.
* time/tst-strptime.c (test_tm): Likewise.
* time/tst-strptime.c (main): Likewise.
* time/tst-getdate.c (main): Likewise.
* posix/tst-mmap.c (main): Likewise.
* posix/tst-getaddrinfo.c (do_test): Likewise.
* io/tst-getcwd.c (do_test): Likewise.
* resolv/tst-aton.c (main): Likewise.
* inet/tst-network.c (main): Likewise.
* libio/tst-fgetws.c (main): Likewise.
* sysdeps/posix/sprofil.c (add_region): int -> unsigned int for I.
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -> unsigned int
for PTYNO.

* stdlib/msort.c (qsort): Add a cast to silence warning.
* stdio-common/vfprintf.c (process_string_arg): Likewise.
* libio/oldfileops.c (_IO_old_do_write): Likewise.
* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise.
* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
* sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
* argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
* sysdeps/unix/grantpt.c (grantpt): Likewise.
* libio/tst-widetext.c (main): Likewise.
* libio/tst-mmap2-eofsync.c (do_test): Likewise.
* rt/tst-aio.c (test_file): Likewise.
* rt/tst-aio64.c (test_file): Likewise.
* resolv/tst-aton.c (main): Likewise.

* catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant.

* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t
instead of uint32_t in these macros.