external/glibc.git
22 years agoUpdate.
Ulrich Drepper [Sat, 29 Dec 2001 15:58:00 +0000 (15:58 +0000)]
Update.

2001-12-25  Dmitry V. Levin  <ldv@alt-linux.org>

* crypt/md5-crypt.c: Realloc error handling memory leak fix.
* elf/chroot_canon.c: Likewise.
* elf/dl-object.c: Likewise.
* iconv/iconv_charmap.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* libio/iogetdelim.c: Likewise.
* locale/lc-time.c: Likewise.
* stdlib/canonicalize.c: Likewise.
* sunrpc/svc.c: Likewise.
* sysdeps/generic/glob.c: Likewise.

22 years agoRealloc error handling memory leak fix.
Ulrich Drepper [Sat, 29 Dec 2001 15:57:15 +0000 (15:57 +0000)]
Realloc error handling memory leak fix.

22 years agoUpdate.
Andreas Jaeger [Sat, 29 Dec 2001 13:46:34 +0000 (13:46 +0000)]
Update.

2001-12-29  Andreas Jaeger  <aj@suse.de>

* Examples/ex9.c: Add noreturn attribute for thread.
* Examples/ex10.c: Likewise.
* Examples/ex13.c (thread_start): Likewise.
* Examples/ex15.c (worker): Likewise.

* Examples/ex18.c: Include unistd.h for prototype of sleep.

22 years agoInclude unistd.h for prototype of sleep.
Andreas Jaeger [Sat, 29 Dec 2001 13:45:59 +0000 (13:45 +0000)]
Include unistd.h for prototype of sleep.

22 years agoUpdate.
Ulrich Drepper [Sat, 29 Dec 2001 01:02:17 +0000 (01:02 +0000)]
Update.

2001-12-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/profil-counter.h: Move/copy to ...
* sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: ... here,
remove high order bit from the program counter.
* sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h: ... and here.

2001-12-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove
unnecessary code and add missing reloc types.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty
case for reloc type R_390_NONE.

22 years ago(elf_machine_rela): Remove unnecessary code and add missing reloc types.
Ulrich Drepper [Sat, 29 Dec 2001 00:33:04 +0000 (00:33 +0000)]
(elf_machine_rela): Remove unnecessary code and add missing reloc types.

22 years agoUpdate.
Andreas Jaeger [Fri, 28 Dec 2001 16:43:13 +0000 (16:43 +0000)]
Update.

2001-12-28  Andreas Jaeger  <aj@suse.de>

* io/bug-ftw3.c: Include string.h for prototypes.

* crypt/md5test.c (main): Remove unused variable.

* linuxthreads_db/td_init.c (td_init): Don't use __FUNCTION__ as
literal.
* linuxthreads_db/td_log.c (td_log): Likewise.
* linuxthreads_db/td_ta_delete.c (td_ta_delete): Likewise.
* linuxthreads_db/td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise.
* linuxthreads_db/td_ta_get_ph.c (td_ta_get_ph): Likewise.
* linuxthreads_db/td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise.
* linuxthreads_db/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise.
* linuxthreads_db/td_ta_new.c (td_ta_new): Likewise.
* linuxthreads_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
* linuxthreads_db/td_ta_enable_stats.c (td_ta_enable_stats): Likewise.
* linuxthreads_db/td_ta_event_addr.c (td_ta_event_addr): Likewise.
* linuxthreads_db/td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise.
* linuxthreads_db/td_ta_get_stats.c (td_ta_get_stats): Likewise.
* linuxthreads_db/td_ta_reset_stats.c (td_ta_reset_stats): Likewise.
* linuxthreads_db/td_ta_set_event.c (td_ta_set_event): Likewise.
* linuxthreads_db/td_ta_setconcurrency.c (td_ta_setconcurrency):
Likewise.
* linuxthreads_db/td_ta_thr_iter.c (td_ta_thr_iter): Likewise.
* linuxthreads_db/td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise.
* linuxthreads_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
* linuxthreads_db/td_thr_dbresume.c (td_thr_dbresume): Likewise.
* linuxthreads_db/td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise.
* linuxthreads_db/td_thr_event_enable.c (td_thr_event_enable):
Likewise.
* linuxthreads_db/td_thr_event_getmsg.c (td_thr_event_getmsg):
Likewise.
* linuxthreads_db/td_thr_get_info.c (td_thr_get_info): Likewise.
* linuxthreads_db/td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
* linuxthreads_db/td_thr_getgregs.c (td_thr_getgregs): Likewise.
* linuxthreads_db/td_thr_getxregs.c (td_thr_getxregs): Likewise.
* linuxthreads_db/td_thr_getxregsize.c (td_thr_getxregsize): Likewise.
* linuxthreads_db/td_thr_set_event.c (td_thr_set_event): Likewise.
* linuxthreads_db/td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
* linuxthreads_db/td_thr_setgregs.c (td_thr_setgregs): Likewise.
* linuxthreads_db/td_thr_setprio.c (td_thr_setprio): Likewise.
* linuxthreads_db/td_thr_setsigpending.c (td_thr_setsigpending):
Likewise.
* linuxthreads_db/td_thr_setxregs.c (td_thr_setxregs): Likewise.
* linuxthreads_db/td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise.
* linuxthreads_db/td_thr_tsd.c (td_thr_tsd): Likewise.
* linuxthreads_db/td_thr_validate.c (td_thr_validate): Likewise.

* dlfcn/modstatic.c: Add prototype to avoid warning.

22 years agoDon't use __FUNCTION__ as literal.
Andreas Jaeger [Fri, 28 Dec 2001 16:41:29 +0000 (16:41 +0000)]
Don't use __FUNCTION__ as literal.

22 years ago* sysdeps/mach/hurd/sigwait.c (__sigwait): When returning immediately,
Roland McGrath [Wed, 26 Dec 2001 20:10:32 +0000 (20:10 +0000)]
* sysdeps/mach/hurd/sigwait.c (__sigwait): When returning immediately,

check only (SS->pending & MASK) for the signal to return.
From Jeroen Dekkers <jeroen@dekkers.cx>.

* iconv/skeleton.c [!RESET_INPUT_BUFFER && !SAVE_RESET_STATE]:
Use preprocessor #if conditionals instead of `if' to avoid
warnings about divide by zero in dead code.

22 years ago* hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set,
Roland McGrath [Sat, 22 Dec 2001 20:52:21 +0000 (20:52 +0000)]
* hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set,

_hurd_port_init, and __hurd_self_sigstate.

22 years ago* mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy.
Roland McGrath [Sat, 22 Dec 2001 20:28:21 +0000 (20:28 +0000)]
* mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy.

* hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set
and __hurd_self_sigstate.

22 years ago2001-12-22 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 22 Dec 2001 20:20:57 +0000 (20:20 +0000)]
2001-12-22  Roland McGrath  <roland@frob.com>

* mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy.
* hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set
and __hurd_self_sigstate.

22 years agoUpdate.
Andreas Jaeger [Fri, 21 Dec 2001 10:16:41 +0000 (10:16 +0000)]
Update.

2001-12-21  Andreas Jaeger  <aj@suse.de>

* elf/dblloadmod1.c: Add prototype to avoid warning.
* elf/dblloadmod2.c: Likewise.
* elf/dblloadmod3.c: Likewise.
* elf/reldepmod5.c: Likewise.
* elf/reldepmod6.c: Likewise.

* elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute
for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not
used on all architectures.

* sunrpc/svc_tcp.c: Add noreturn attribute for
svctcp_rendezvous_abort.
* sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort.

* sysdeps/generic/strstr.c (strstr): Add paranthese for assignment
to avoid warning.

22 years ago* elf/dblloadmod1.c: Add prototype to avoid warning.
Andreas Jaeger [Fri, 21 Dec 2001 10:16:16 +0000 (10:16 +0000)]
* elf/dblloadmod1.c: Add prototype to avoid warning.

* elf/dblloadmod2.c: Likewise.
* elf/dblloadmod3.c: Likewise.
* elf/reldepmod5.c: Likewise.
* elf/reldepmod6.c: Likewise.
* elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute
for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not
used on all architectures.

* sunrpc/svc_tcp.c: Add noreturn attribute for
svctcp_rendezvous_abort.
* sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort.

* sysdeps/generic/strstr.c (strstr): Add paranthese for assignment
to avoid warning.

22 years agoUpdate.
Ulrich Drepper [Wed, 19 Dec 2001 23:47:50 +0000 (23:47 +0000)]
Update.

2001-12-19  Jakub Jelinek  <jakub@redhat.com>

* manual/llio.texi (aio_fsync): Fix a typo.
Patch by Tammy Fox <tfox@redhat.com>.

22 years agoUpdate.
Ulrich Drepper [Wed, 19 Dec 2001 00:21:23 +0000 (00:21 +0000)]
Update.

2001-12-18  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (clone): Subtract
stack bias from child stack pointer before passing it to clone syscall.

2001-12-18  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/sysconf.c (__sysconf): Respect POSIX minimum for
_SC_TZNAME_MAX.
* sysdeps/generic/sysconf.c (__sysconf): Likewise.
Reported by Thorsten Kukuk <kukuk@suse.de>.

* sysdeps/unix/grantpt.c (grantpt): Correct typo in comment and
add some casts.

* sysdeps/unix/sysv/linux/grantpt.c: Make __unix_grantpt static.

2001-12-18  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/grantpt.c: Make errno results standard
conforming: return EBADF if file descriptor is invalid and EINVAL
if file descriptor is no valid tty.
* login/tst-grantpt.c: New file.
* login/Makefile (tests): Add tst-grantpt.

22 years agoUpdate.
Ulrich Drepper [Mon, 17 Dec 2001 23:10:14 +0000 (23:10 +0000)]
Update.

2001-12-17  Ulrich Drepper  <drepper@redhat.com>

* io/ftw.c (ftw_dir): Handle inaccessibility of toplevel dir
different than implemented in last patch.
* io/bug-ftw3.c: Adjust test for changed handling of
inaccessibility of toplevel dir.

22 years ago(ftw_dir): Handle inaccessibility of toplevel dir different than implemented in last...
Ulrich Drepper [Mon, 17 Dec 2001 23:07:40 +0000 (23:07 +0000)]
(ftw_dir): Handle inaccessibility of toplevel dir different than implemented in last patch.

22 years ago* nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.
Roland McGrath [Mon, 17 Dec 2001 05:52:18 +0000 (05:52 +0000)]
* nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.

* grp/initgroups.c (internal_getgrouplist): Likewise.

22 years ago* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after
Roland McGrath [Mon, 17 Dec 2001 01:03:08 +0000 (01:03 +0000)]
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after

`default:' to silence new GCC warning.
Rewrite cast of lvalue to silence new GCC warning.

* sysdeps/mach/hurd/i386/init-first.c: Avoid multi-line strings in asm.

22 years ago* sysdeps/mach/hurd/spawni.c: New file, by me with a
Roland McGrath [Sun, 16 Dec 2001 22:11:04 +0000 (22:11 +0000)]
* sysdeps/mach/hurd/spawni.c: New file, by me with a

couple fixes by Neal H Walfield <neal@cs.uml.edu>.

22 years ago2001-12-16 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 16 Dec 2001 22:10:46 +0000 (22:10 +0000)]
2001-12-16  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/spawni.c: New file, by me with a
couple fixes by Neal H Walfield <neal@cs.uml.edu>.

22 years agoUpdate.
Ulrich Drepper [Sat, 15 Dec 2001 06:45:58 +0000 (06:45 +0000)]
Update.

Patch by Stephen R. van den Berg.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 22:17:03 +0000 (22:17 +0000)]
Update.

* sysdeps/generic/strstr.c (strstr): Update.  New optimized version.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 18:06:36 +0000 (18:06 +0000)]
Update.

2001-12-14  Ulrich Drepper  <drepper@redhat.com>

* crypt/md5.h: Define md5_uintptr.

22 years agoDefine md5_uintptr.
Ulrich Drepper [Fri, 14 Dec 2001 18:06:03 +0000 (18:06 +0000)]
Define md5_uintptr.

22 years agoFix typo.
Andreas Jaeger [Fri, 14 Dec 2001 15:55:04 +0000 (15:55 +0000)]
Fix typo.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 07:26:22 +0000 (07:26 +0000)]
Update.

* libio/tst_swprintf.c (main): Add test for string argument with
zero precision.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 07:22:26 +0000 (07:22 +0000)]
Update.

* stdio-common/Makefile (tests): Add tst-sprintf.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 07:19:20 +0000 (07:19 +0000)]
Update.

2001-12-13  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/tst-sprintf.c: New file.

2001-12-13  Andreas Schwab  <schwab@suse.de>

* stdio-common/vfprintf.c (process_string_arg): Correctly handle
zero precision with wide character string format.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 07:02:23 +0000 (07:02 +0000)]
Update.

2001-12-13  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/posix/cuserid.c (cuserid): If we don't find the UID,
but have a user supplied buffer, return the empty buffer, not NULL.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 06:33:57 +0000 (06:33 +0000)]
Update.

2001-12-13  Ulrich Drepper  <drepper@redhat.com>

* crypt/md5.c (md5_process_bytes): Correct handling of alignment.
Patch by Eric Sharkey <sharkey@netrics.com>.

* crypt/md5test.c (main): Add test for multiple calls to
__md5_process_bytes to itererate over input string.

22 years agoUpdate.
Ulrich Drepper [Thu, 13 Dec 2001 03:57:52 +0000 (03:57 +0000)]
Update.

* nis/nis_intern.h: Define parameters controlling __nis_findfastest
[PR libc/2520].  Patch by Alexander Belopolsky <alexb@rentec.com>.

22 years agoUpdate.
Ulrich Drepper [Thu, 13 Dec 2001 03:40:19 +0000 (03:40 +0000)]
Update.

2001-12-12  Ulrich Drepper  <drepper@redhat.com>

* nis/nis_findserv.c (__nis_findfastest_with_timeout): Mostly the code
from __nis_findfastest.  Take timeout value from parameter.
(__nis_findfastest): Call __nis_findfastest_with_timeout repeatedly.
* nis/nis_intern.h: Define parameters controlling __nis_findfastest.
Patch by Alexander Belopolsky <alexb@rentec.com>.

* sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch.

22 years agoUpdate from translation team.
Ulrich Drepper [Wed, 12 Dec 2001 23:46:58 +0000 (23:46 +0000)]
Update from translation team.

22 years ago* configure.in: Use -nostartfiles -nostdlib for linker tests, fix
Andreas Jaeger [Wed, 12 Dec 2001 18:36:44 +0000 (18:36 +0000)]
* configure.in: Use -nostartfiles -nostdlib for linker tests, fix

combreloc test so that it works in this case.
2001-12-12  Andreas Jaeger  <aj@suse.de>

* configure.in: Use -nostartfiles -nostdlib for linker tests, fix
combreloc test so that it works in this case.

* sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last
patch.

22 years agoUpdate.
Ulrich Drepper [Wed, 12 Dec 2001 18:06:59 +0000 (18:06 +0000)]
Update.

2001-12-12  NIIBE Yutaka  <gniibe@m17n.org>

* sysdeps/sh/Makefile: New file.
* sysdeps/sh/_mcount.S: New file.
* sysdeps/sh/sysdep.h (CALL_MCOUNT): Implemented.
* sysdeps/sh/machine-gmon.h: Remove "NOTYET" comment, as we are ready.

22 years ago(INIT_THREAD_SELF): Added __volatile__ qualifier to be safe.
Ulrich Drepper [Wed, 12 Dec 2001 18:01:23 +0000 (18:01 +0000)]
(INIT_THREAD_SELF): Added __volatile__ qualifier to be safe.

22 years ago(elf_machine_rela): Fix typo in last patch.
Andreas Jaeger [Wed, 12 Dec 2001 09:02:09 +0000 (09:02 +0000)]
(elf_machine_rela): Fix typo in last patch.

22 years agoUpdate.
Ulrich Drepper [Wed, 12 Dec 2001 07:38:32 +0000 (07:38 +0000)]
Update.

2001-12-11  Ulrich Drepper  <drepper@redhat.com>

* resolv/nss_dns/dns-host.c (getanswer_r): Remove MAX_NR_ADDRS
limitation [PR libc/2564].

22 years agoUpdate.
Ulrich Drepper [Wed, 12 Dec 2001 05:49:48 +0000 (05:49 +0000)]
Update.

2001-12-11  Ulrich Drepper  <drepper@redhat.com>

* SUPPORTED (SUPPORTED-LOCALES): Add vi_VN.TCVN.

22 years agoUpdate.
Ulrich Drepper [Wed, 12 Dec 2001 00:21:26 +0000 (00:21 +0000)]
Update.

2001-12-11  Jakub Jelinek  <jakub@redhat.com>

* elf/Makefile (dl-routines): Add conflict.
(rtld-ldscript-in, rtld-ldscript, rtld-parms): Remove.
(ld.so): Add _begin local symbol.
* elf/elf.h (DT_VALTAGIDX, DT_VALNUM, DT_ADDRTAGIDX, DT_ADDRNUM):
Define.
* elf/dl-deps.c (_dl_build_local_scope): New.
(_dl_map_object_deps): If LD_TRACE_PRELINKING, compute local scopes
of all libraries.
* elf/do-rel.h (VALIDX): Define.
(elf_dynamic_do_rel): If ELF_MACHINE_PLT_REL is defined, don't do
lazy binding for RELA.  If DT_GNU_PRELINKED, DT_RELACOUNT relocations
can be skipped.
* elf/dl-conflict.c: New file.
* elf/dl-lookup.c (_dl_debug_bindings): New.
(_dl_lookup_symbol): Use _dl_debug_bindings.  Reference_name is always
non-NULL.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
* elf/dl-runtime.c (PLTREL): If ELF_MACHINE_PLT_REL is defined,
define to ElfW(Rel).
* elf/dynamic-link.h (elf_get_dynamic_info): Record selected dynamic
tags in the DT_VALRNGLO..DT_VALRNGHI and DT_ADDRRNGLO..DT_ADDRRNGHI
ranges.
Don't adjust address dynamic tags if l_addr is 0.
* elf/rtld.c (_dl_trace_prelink, _dl_trace_prelink_map): New variables.
(_dl_start): Skip ELF_DYNAMIC_RELOCATE if ld.so is prelinked.
(VALIDX, ADDRIDX): Define.
(_dl_start_final): Initialize _dl_rtld_map's l_map_start and l_map_end.
(dl_main): Print library list for LD_TRACE_PRELINKING.
If prelinking information can be used, skip relocating libraries and
call _dl_resolve_conflicts instead.
(process_envvars): Handle LD_TRACE_PRELINKING envvar.
* elf/dl-load.c (_dl_map_object): Don't create fake libs
if LD_TRACE_PRELINKING.
* include/link.h (struct link_map) [l_info]: Add DT_VALNUM
+ DT_ADDRNUM.
* sysdeps/generic/ldsodefs.h (_dl_trace_prelink_map): New declaration.
(DL_DEBUG_PRELINK): Define.
(_dl_resolve_conflicts): Add prototype.

* sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Reinitialize
.plt for prelinked libraries where prelinking info cannot be used.
(elf_machine_rela): If relocating R_ALPHA_JMP_SLOT in .gnu.conflict
section, use RESOLVE_CONFLICT_FIND_MAP to find out reloc's link_map.
* sysdeps/arm/bits/link.h: New file.
* sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Save original
content of .got[1].
(ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
(ELF_MACHINE_PLT_REL): Define.
(elf_machine_rela, elf_machine_rela_relative): New.
(elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
* sysdeps/i386/bits/link.h: New file.
* sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Save original
content of .got[1].
(ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
(ELF_MACHINE_PLT_REL): Define.
(elf_machine_rela, elf_machine_rela_relative): New.
(elf_machine_lazy_rel): Reinitialize R_386_JUMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): If relocating
conflicts, skip finaladdr computation.  Use RESOLVE_CONFLICT_FIND_MAP
to find out map for R_PPC_JMP_SLOT relocs.
* sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Define.
(OPCODE_BA): Define.
(elf_machine_runtime_setup): Reinitialize .plt for prelinked
libraries where prelinking info cannot be used.
(sparc_fixup_plt): Renamed from elf_machine_fixup_plt.
(elf_machine_fixup_plt): Call sparc_fixup_plt.
(elf_machine_rela): Set value to 0 if relocating conflicts.
Call sparc_fixup_plt for R_SPARC_JMP_SLOT.
* sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Define.
(sparc64_fixup_plt): Fix a typo.
(elf_machine_rela): Set value to 0 if relocating conflicts.
Handle R_SPARC_JMP_SLOT relocs when relocating conflicts.
(elf_machine_runtime_setup): Reinitialize .plt for prelinked
libraries where prelinking info cannot be used.
* sysdeps/sh/bits/link.h: New file.
* sysdeps/sh/dl-machine.h (elf_machine_runtime_setup): Save original
content of .got[1].
(elf_machine_lazy_rel): Reinitialize R_SH_JMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
* sysdeps/s390/s390-32/bits/link.h: New file.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
Save original content of .got[1].
(elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
* sysdeps/s390/s390-64/bits/link.h: New file.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup):
Save original content of .got[1].
(elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
* sysdeps/x86_64/bits/link.h: New file.
* sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
Save original content of .got[1].
(elf_machine_lazy_rel): Reinitialize R_X86_64_JMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.

22 years agoUpdate.
Ulrich Drepper [Tue, 11 Dec 2001 22:22:44 +0000 (22:22 +0000)]
Update.

2001-12-11  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use sizeof
where appropriate instead of numbers.  Little optimizations.

22 years ago(__ptsname_r): Use sizeof where appropriate instead of numbers. Little optimizations.
Ulrich Drepper [Tue, 11 Dec 2001 22:08:19 +0000 (22:08 +0000)]
(__ptsname_r): Use sizeof where appropriate instead of numbers.  Little optimizations.

22 years ago* sysdeps/mach/hurd/bind.c (bind): Don't deallocate IFSOCK if we never
Roland McGrath [Tue, 11 Dec 2001 05:04:23 +0000 (05:04 +0000)]
* sysdeps/mach/hurd/bind.c (bind): Don't deallocate IFSOCK if we never

set it.

22 years ago* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Set default
Roland McGrath [Tue, 11 Dec 2001 04:54:57 +0000 (04:54 +0000)]
* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Set default

set to GLIBC_2.2.5, not GLIBC_2.2.4.

22 years ago* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde):
Roland McGrath [Tue, 11 Dec 2001 04:30:44 +0000 (04:30 +0000)]
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde):

Fix conditionals so this is set by default for stdio and not for libio.
* sysdeps/mach/hurd/configure: Regenerated.

22 years ago2001-12-10 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 11 Dec 2001 04:30:20 +0000 (04:30 +0000)]
2001-12-10  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde):
Fix conditionals so this is set by default for stdio and not for libio.
* sysdeps/mach/hurd/configure: Regenerated.

22 years agoUpdate.
Ulrich Drepper [Mon, 10 Dec 2001 23:59:02 +0000 (23:59 +0000)]
Update.

2001-12-10  Thorsten Kukuk  <kukuk@suse.de>

* io/ftw.c (ftw_startup): Check, if the path is search and readable.

* io/Makefile (tests): Add bug-ftw3.
* io/bug-ftw3.c: New file.

22 years agoUpdate.
Ulrich Drepper [Mon, 10 Dec 2001 12:21:07 +0000 (12:21 +0000)]
Update.

2001-12-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/glob.c (glob): Return only pattern if nothing
matches and GLOB_NOCHECK is set.
* posix/globtest.sh: Correct expected result for NOCHECK test.

* po/ca.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Mon, 10 Dec 2001 11:35:38 +0000 (11:35 +0000)]
Update.

2001-12-10  Ulrich Drepper  <drepper@redhat.com>

* locales/ca_ES: Fix typos (desembre -> decembre).
Patch by Xavi Drudis Ferran <xdrudis@tinet.org>.

22 years agoUpdate.
Ulrich Drepper [Mon, 10 Dec 2001 01:37:56 +0000 (01:37 +0000)]
Update.

2001-12-09  Ulrich Drepper  <drepper@redhat.com>

Implement transliteration of characters in strings of the locale
definitions.
* locale/programs/linereader.c: Adjust for additional parameter to
lr_token.
(get_string): If character <Uxxxx> is not found try to transliterate
it.
* locale/programs/ld-ctype.c: Adjust for additional parameter to
lr_token.  Add const to charmap parameter of all functions.
(find_translit, find_translit2): New functions.
* locale/programs/charmap.c: Adjust for additional parameter to
lr_token.
* locale/programs/repertoire.c: Likewise.
* locale/programs/linereader.h: Likewise.
* locale/programs/ld-address.c: Likewise.  Add const to charmap
parameter of all functions.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* locale/programs/locfile.c: Likewise.
* locale/programs/localedef.c: Likewise.
* locale/programs/localedef.h: Likewise.
* locale/programs/locfile.h: Likewise.  Add declaration for
find_translit.
* locale/programs/simple-hash.c: Add const to first parameter of
find_entry, iterate_table, and lookup.
* locale/programs/simple-hash.h: Likewise.
* locale/localeinfo.h: Don't define __LC_LAST here.  Include <locale.h>
instead.
* include/locale.h: Define __LC_LAST.
* iconv/Makefile (CFLAGS-linereader.c): Define to -DNO_TRANSLITERATION.

22 years agoAdd const to first parameter of find_entry, iterate_table, and lookup.
Ulrich Drepper [Mon, 10 Dec 2001 01:18:36 +0000 (01:18 +0000)]
Add const to first parameter of find_entry, iterate_table, and lookup.

22 years ago* sysdeps/powerpc/Dist: Update for recent FP changes.
Geoff Keating [Fri, 7 Dec 2001 23:59:15 +0000 (23:59 +0000)]
* sysdeps/powerpc/Dist: Update for recent FP changes.

* sysdeps/powerpc/fpu/Dist: Likewise.
2001-12-07  Geoff Keating  <geoffk@redhat.com>

* sysdeps/powerpc/Dist: Update for recent FP changes.
* sysdeps/powerpc/fpu/Dist: Likewise.

22 years ago* sysdeps/unix/sysv/linux/opensock.c: Include <string.h>.
Andreas Schwab [Fri, 7 Dec 2001 15:39:43 +0000 (15:39 +0000)]
* sysdeps/unix/sysv/linux/opensock.c: Include <string.h>.

22 years agoInclude <string.h>.
Andreas Schwab [Fri, 7 Dec 2001 15:39:30 +0000 (15:39 +0000)]
Include <string.h>.

22 years agoRemade for development-2.2.90
Geoff Keating [Thu, 6 Dec 2001 23:48:26 +0000 (23:48 +0000)]
Remade for development-2.2.90

22 years ago* sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr
Geoff Keating [Thu, 6 Dec 2001 23:41:33 +0000 (23:41 +0000)]
* sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr

save/restore functions here.
(libm-support): Don't define these functions here.
* sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore
functions here.
* sysdeps/powerpc/fe_nomask.c: Move to...
* sysdeps/powerpc/fpu/fe_nomask.c: ... here.
* sysdeps/powerpc/fprrest.S: Move to...
* sysdeps/powerpc/fpu/fprrest.S: ... here.
* sysdeps/powerpc/fprsave.S: Move to...
* sysdeps/powerpc/fpu/fprsave.S: ... here.
2001-12-06  Geoff Keating  <geoffk@redhat.com>

* sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr
save/restore functions here.
(libm-support): Don't define these functions here.
* sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore
functions here.
* sysdeps/powerpc/fe_nomask.c: Move to...
* sysdeps/powerpc/fpu/fe_nomask.c: ... here.
* sysdeps/powerpc/fprrest.S: Move to...
* sysdeps/powerpc/fpu/fprrest.S: ... here.
* sysdeps/powerpc/fprsave.S: Move to...
* sysdeps/powerpc/fpu/fprsave.S: ... here.

22 years agoUpdate.
Ulrich Drepper [Thu, 6 Dec 2001 23:05:22 +0000 (23:05 +0000)]
Update.

2001-12-06  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/opensock.c: New file.

22 years agoOpen socket for communication with network layer.
Ulrich Drepper [Thu, 6 Dec 2001 23:02:00 +0000 (23:02 +0000)]
Open socket for communication with network layer.

22 years ago* config.make.in (with-fp): Define from configure.
Geoff Keating [Thu, 6 Dec 2001 09:17:26 +0000 (09:17 +0000)]
* config.make.in (with-fp): Define from configure.

* configure.in: Substitute with_fp.
* configure: Regenerate.
* powerpc/Makefile: Set -msoft-float when --without-fp is specified,
and don't change FPU environment.
2001-12-06  Geoff Keating  <geoffk@redhat.com>

* config.make.in (with-fp): Define from configure.
* configure.in: Substitute with_fp.
* configure: Regenerate.
* sysdeps/powerpc/Makefile: Set -msoft-float when --without-fp is
specified, and don't change FPU environment.

22 years agoUpdate.
Ulrich Drepper [Thu, 6 Dec 2001 08:49:08 +0000 (08:49 +0000)]
Update.

2001-12-06  Ulrich Drepper  <drepper@redhat.com>

* libio/vasprintf.c (_IO_vasprintf): Free buffer on failure.
* assert/assert.c: Check result of __asprintf call and don't use
string if it failed.
* assert/assert-perr.c: Likewise.
* inet/rcmd.c: Likewise.
* locale/programs/localedef.c (main): Check result of
construct_output_path and exit if it failed.
(construct_output_path): Check result of asprintf and mkdir calls and
fail if they failed.
* posix/getopt.c: Check result of __asprintf calls and fail if
they failed.
Patch by Dmitry V. Levin <ldv@alt-linux.org>.

22 years agoUpdate.
Ulrich Drepper [Thu, 6 Dec 2001 07:59:42 +0000 (07:59 +0000)]
Update.

* string/tester.c: Add tests for strcasecmp and strncasecmp.
* Versions.def (libc): Add GCC_3.0.
__deregister_frame_info_bases, _Unwind_Find_FDE): Add for GCC_3.0.

22 years agoUpdate.
Ulrich Drepper [Thu, 6 Dec 2001 05:11:32 +0000 (05:11 +0000)]
Update.

* sysdeps/generic/strncase.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 6 Dec 2001 04:44:33 +0000 (04:44 +0000)]
Update.

2001-12-05  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/strcasecmp.c (__strcasecmp): Little performance
patch.

22 years ago(__strcasecmp): Little performance patch.
Ulrich Drepper [Thu, 6 Dec 2001 01:22:25 +0000 (01:22 +0000)]
(__strcasecmp): Little performance patch.

22 years ago* scripts/cpp: Test the exit status from 'type', not 'awk'.
Geoff Keating [Thu, 6 Dec 2001 01:21:03 +0000 (01:21 +0000)]
* scripts/cpp: Test the exit status from 'type', not 'awk'.

* scripts/cpp: Test the exit status from 'type', not 'awk'.

22 years ago* sysdeps/powerpc/__longjmp.S: Don't restore FP registers.
Geoff Keating [Thu, 6 Dec 2001 00:12:11 +0000 (00:12 +0000)]
* sysdeps/powerpc/__longjmp.S: Don't restore FP registers.

* sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers.
* sysdeps/powerpc/setjmp.S: Don't save FP registers.
* sysdeps/powerpc/fpu/setjmp.S: Do save FP registers.
* sysdeps/powerpc/fclrexcpt.c: Move to...
* sysdeps/powerpc/fpu/fclrexcpt.c: ... here.
* sysdeps/powerpc/fpu_control.h: Move to...
* sysdeps/powerpc/fpu/fpu_control.h: ... here.
2001-12-05  Geoff Keating  <geoffk@redhat.com>

* sysdeps/powerpc/__longjmp.S: Don't restore FP registers.
* sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers.
* sysdeps/powerpc/setjmp.S: Don't save FP registers.
* sysdeps/powerpc/fpu/setjmp.S: Do save FP registers.
* sysdeps/powerpc/fclrexcpt.c: Move to...
* sysdeps/powerpc/fpu/fclrexcpt.c: ... here.
* sysdeps/powerpc/fpu_control.h: Move to...
* sysdeps/powerpc/fpu/fpu_control.h: ... here.

22 years agoUpdate.
Ulrich Drepper [Wed, 5 Dec 2001 22:32:52 +0000 (22:32 +0000)]
Update.

* locales/bg_BG: Rewrite.
Patch by Alexander Shopov <al_shopov@web.bg>.

22 years agoUpdate.
Ulrich Drepper [Wed, 5 Dec 2001 19:32:18 +0000 (19:32 +0000)]
Update.

* iconvdata/testdata/TCVN-5712: New file.
* iconvdata/testdata/TCVN-5712..UTF8: New file.

22 years agoUpdate.
Ulrich Drepper [Wed, 5 Dec 2001 19:19:20 +0000 (19:19 +0000)]
Update.

* iconvdata/ibm1129.h: Remove duplicate mappings.
* iconvdata/ibm937.c: Handle overflow errors.  Handle new tables.
* iconvdata/ibm937.h: Reorganize table to safe a lot of space.
Patch by Masahide Washizawa <WASHI@jp.ibm.com>.

* timezone/zic.c: Fix handling of turnaround times.
Patch by Arthur David Olson <olsona@dc37a.nci.nih.gov>.

2001-12-02  Moshe Olshansky  <OLSHANSK@il.ibm.com>

* sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix
overflow problem.

2001-12-05  Ulrich Drepper  <drepper@redhat.com>

* posix/regex.c: For use outside glibc defined bounded pointer
macros here.  Patch by Jim Meyering <jim@meyering.net>.

22 years agoUpdate.
Ulrich Drepper [Wed, 5 Dec 2001 10:11:07 +0000 (10:11 +0000)]
Update.

2001-12-05  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/Makefile (modules): Add TCVN5712-1.
* iconvdata/TESTS: Add TCVN5712-1.
* iconvdata/gconv-modules: Likewise.
* iconvdata/tcvn5712-1.c: New file.
* iconvdata/testdata/TCVN5712-1: New file.
* iconvdata/testdata/TCVN5712-1..UTF8: New file.

22 years agoUpdate.
Ulrich Drepper [Wed, 5 Dec 2001 04:30:39 +0000 (04:30 +0000)]
Update.

2001-12-04  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/cp1258.c: Optimize conversion from UCS4.

22 years agoUpdate.
Ulrich Drepper [Tue, 4 Dec 2001 00:02:32 +0000 (00:02 +0000)]
Update.

2001-12-03  Ulrich Drepper  <drepper@redhat.com>

* locales/translit_neutral: Define transliteration for dong sign.

22 years agoDefine transliteration for dong sign.
Ulrich Drepper [Tue, 4 Dec 2001 00:00:55 +0000 (00:00 +0000)]
Define transliteration for dong sign.

22 years ago* mach/Makefile, mach/Machrules: Move comments out of \ continuations.
Roland McGrath [Sun, 2 Dec 2001 22:13:05 +0000 (22:13 +0000)]
* mach/Makefile, mach/Machrules: Move comments out of \ continuations.

22 years ago* hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.
Roland McGrath [Sun, 2 Dec 2001 19:45:22 +0000 (19:45 +0000)]
* hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.

Reported by Jeff Bailey <jbailey@nisa.net>.

Reported by Jeff Bailey <jbailey@nisa.net>.

22 years ago* hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl.
Roland McGrath [Sun, 2 Dec 2001 19:43:55 +0000 (19:43 +0000)]
* hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl.

22 years ago* mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).
Roland McGrath [Sun, 2 Dec 2001 19:34:28 +0000 (19:34 +0000)]
* mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).

* mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise.
Reported by Jeff Bailey <jbailey@nisa.net>.

22 years ago* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add
Roland McGrath [Sun, 2 Dec 2001 00:01:27 +0000 (00:01 +0000)]
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add

missing backslash in test arguments.
* sysdeps/mach/hurd/configure: Regenerated.

2001-11-26  Roland McGrath  <roland@frob.com>

* hurd/hurdinit.c (_hurd_ports_use): Check if _hurd_ports is null.
Reported by John Tobey <jtobey@john-edwin-tobey.org>.

22 years ago2001-12-01 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 2 Dec 2001 00:01:20 +0000 (00:01 +0000)]
2001-12-01  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add
missing backslash in test arguments.
* sysdeps/mach/hurd/configure: Regenerated.

22 years agoUpdate.
Ulrich Drepper [Sat, 1 Dec 2001 07:10:53 +0000 (07:10 +0000)]
Update.

2001-11-30  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/Makefile (modules): Add ARMSCII-8.
* iconvdata/gconv-modules: Add entries for ARMSCII-8.
* iconvdata/armscii-8.c: New file.

* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl call.

22 years agoUpdate.
Ulrich Drepper [Fri, 30 Nov 2001 21:14:09 +0000 (21:14 +0000)]
Update.

2001-11-30  Andreas Schwab  <schwab@suse.de>

* pthread.c (pthread_handle_sigcancel) [THREAD_SELF]: Double check
that self is the manager thread, and initialize the thread
register if not.
(thread_self_stack) [THREAD_SELF]: New function to find self via
stack pointer.
* manager.c (pthread_handle_create): Don't block cancel signal any
more.

(THREAD_GETMEM_NC):

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Nov 2001 21:57:56 +0000 (21:57 +0000)]
Update.

2001-11-29  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces
don't match, fix {{a,b},c} globbing, clean up.
Patch by Flavio Veloso <flaviovs@magnux.com>.
* posix/globtest.sh: Add new tests.

22 years ago(next_brace_sub): Return NULL if braces don't match, fix {{a,b},c} globbing, clean up.
Ulrich Drepper [Thu, 29 Nov 2001 21:53:29 +0000 (21:53 +0000)]
(next_brace_sub): Return NULL if braces don't match, fix {{a,b},c} globbing, clean up.

22 years agoUpdate.
Andreas Jaeger [Thu, 29 Nov 2001 16:44:59 +0000 (16:44 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/Versions: Add arch_prctl.

22 years agoUpdate.
Andreas Jaeger [Thu, 29 Nov 2001 16:28:03 +0000 (16:28 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl
call.

22 years agoUpdate.
Andreas Jaeger [Thu, 29 Nov 2001 11:12:04 +0000 (11:12 +0000)]
Update.

2001-11-29  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/abort.c: Include libioP.h for
_IO_flush_all_lockp prototype.

22 years agoInclude libioP.h for _IO_flush_all_lockp prototype.
Andreas Jaeger [Thu, 29 Nov 2001 11:11:36 +0000 (11:11 +0000)]
Include libioP.h for _IO_flush_all_lockp prototype.

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Nov 2001 08:51:52 +0000 (08:51 +0000)]
Update.

2001-11-29  Ulrich Drepper  <drepper@redhat.com>

* posix/regex.h: Define __restrict_arr correctly.

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Nov 2001 07:43:03 +0000 (07:43 +0000)]
Update.

* iconvdata/ibm1163.c: New file.
* iconvdata/ibm1163.h: New file.
* iconvdata/ibm1164.c: New file.
* iconvdata/ibm1164.h: New file.
* iconvdata/TESTS: Add entries for IBM1163 and IBM1164.
* iconvdata/Makefile: Likewise.
* iconvdata/testdata/IBM1163: New file.
* iconvdata/testdata/IBM1163..UTF8: New file.
* iconvdata/testdata/IBM1164: New file.
* iconvdata/testdata/IBM1164..UTF8: New file.
Patch by Masahide Washizawa <WASHI@jp.ibm.com>.

* iconvdata/ibm1046.h: Optimize.  Remove duplicate mappings.
* iconvdata/ibm1124.h: Likewise.
* iconvdata/ibm1132.h: Likewise.
* iconvdata/ibm1133.h: Likewise.
* iconvdata/ibm1160.h: Likewise.
* iconvdata/ibm1161.h: Likewise.
* iconvdata/ibm1162.h: Likewise.
* iconvdata/ibm856.h: Likewise.
* iconvdata/ibm922.h: Likewise.
* iconvdata/ibm930.h: Likewise.
* iconvdata/ibm932.h: Likewise.
* iconvdata/ibm933.h: Likewise.
* iconvdata/ibm935.h: Likewise.
* iconvdata/ibm937.h: Likewise.
* iconvdata/ibm939.h: Likewise.
* iconvdata/ibm943.h: Likewise.
* iconvdata/ibm930.c: Pretty printing.
* iconvdata/ibm937.c: Avoid access accross array boundary.

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Nov 2001 05:00:56 +0000 (05:00 +0000)]
Update.

* iconv/gconv_open.c (__gconv_open): Empty codeset name now means using
the current locale's codeset.
* iconv/iconv_open.c (iconv_open): Don't strip out everything for
empty input string.
* iconv/iconv_prog.c: Pass empty strings as default value for to-
and from-charset.  Don't determine locale's charset here.

if libio is used [PR libc/2575].

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 23:35:29 +0000 (23:35 +0000)]
Update.

2001-11-28  Ulrich Drepper  <drepper@redhat.com>

* libio/genops.c (_IO_flush_all_lockp): New function.  The same code
as the old _IO_flush_all but lock only if parameter is nonzero.
(_IO_flush_all): Call _IO_flush_all_lockp with 1 as parameter.
* libio/libioP.h: Add prototype for _IO_flush_all_lockp.
* sysdeps/generic/abort.c (fflush): Define to _IO_flush_all_lockp(0)
if libio is used.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 22:27:20 +0000 (22:27 +0000)]
Update.

2001-11-22  Wolfram Gloger  <wg@malloc.de>

* pthread.c (pthread_onexit_process): Don't call free
after threads have been asynchronously terminated.

* manager.c (pthread_handle_exit): Surround cancellation
of threads with __flockfilelist()/__funlockfilelist().

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 21:12:46 +0000 (21:12 +0000)]
Update.

2001-11-28  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit,
__signbitl): Only define for ISO C99.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 20:22:08 +0000 (20:22 +0000)]
Update.

2001-11-22  Thorsten Kukuk  <kukuk@suse.de>

* nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set
herrnop to NETDB_INTERNAL if we run out of buffer space.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 20:12:17 +0000 (20:12 +0000)]
Update.

2001-11-28  Ulrich Drepper  <drepper@redhat.com>

* nss/nss_files/files-XXX.c (internal_getent): Correct input
overflow test for platforms with signed char.
Reported by Andrew Haley <aph@cambridge.redhat.com>.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 17:22:21 +0000 (17:22 +0000)]
Update.

2001-11-28  Bruno Haible  <bruno@clisp.org>

* locale/programs/simple-hash.c (lookup_2): Remove function.
(insert_entry_2): Call lookup instead of lookup_2.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 00:09:26 +0000 (00:09 +0000)]
Update.

2001-03-04  Bruno Haible  <bruno@clisp.org>

* intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally.

2001-10-31  Bruno Haible  <bruno@clisp.org>

* intl/plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.

2001-03-21  Bruno Haible  <bruno@clisp.org>

* intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
chokes on empty macro arguments.
* intl/plural.y: Add #pragma for alloca on AIX 3.

2001-11-27  Ulrich Drepper  <drepper@redhat.com>

* intl/dcigettext.c (guess_category_value): Only implement for
glibc.  Otherwise rely on function _nl_locale_name which isn't
present in the glibc sources.

2001-09-24  Bruno Haible  <bruno@clisp.org>

* intl/loadmsgcat.c (_nl_init_domain_conv): Also enable
transliteration when building on a glibc system but outside glibc.

2001-09-22  Bruno Haible  <bruno@clisp.org>

* intl/plural-eval.c: New file, extracted from dcigettext.c.
* intl/dcigettext.c (plural_eval): Remove function, moved to
intl/plural-eval.c.
(plural_lookup): Call PLURAL_EVAL instead of plural_eval.
Include plural-eval.c.

2001-09-22  Bruno Haible  <bruno@clisp.org>

* intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that
don't start with a digit; nplurals must be positive.

2001-09-02  Bruno Haible  <bruno@clisp.org>

* intl/plural-exp.h: New file, extracted from gettextP.h.
* intl/plural-exp.c: New file, extracted from loadmsgcat.c.
* intl/gettextP.h (struct expression, struct parse_args,
__gettext_free_exp, __gettextparse): Move to plural-exp.h.
* intl/loadmsgcat.c: Include plural-exp.h.
(PLURAL_PARSE): Move macro to plural-exp.h.
(plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
plural-exp.c.
(_nl_load_domain): Move plural handling code to plural-exp.c.  Call
EXTRACT_PLURAL_EXPRESSION.
(_nl_unload_domain): Update.
* intl/dcigettext.c: Include plural-exp.h.
* intl/plural.y: Include plural-exp.h, not gettextP.h.
(FREE_EXPRESSION): Move macro to plural-exp.h.
* intl/Makefile (routines): Add plural-exp.
(distribute): Add plural-exp.h.

2001-07-28  Bruno Haible  <bruno@clisp.org>

* intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha,
isdigit, tolower argument to 'unsigned char'.
* intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to
'unsigned char'.
* intl/localealias.c (read_alias_file): Cast isspace argument to
'unsigned char'.

2001-10-20  Bruno Haible  <bruno@clisp.org>

Assume strchr() exists. (Without it, intl/explodename.c wouldn't link
anyway.)
* intl/dcigettext.c (strchr): Remove fallback definition; it conflicts
with the variable 'index' in plural_lookup.
* intl/l10nflist.c (strchr): Likewise.
* intl/localealias.c (strchr): Likewise.

Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
* intl/bindtextdom.c: Likewise.
* intl/dcigettext.c: Likewise.
* intl/dgettext.c: Likewise.
* intl/dngettext.c: Likewise.
* intl/explodename.c: Likewise.
* intl/finddomain.c: Likewise.
* intl/gettext.c: Likewise.
* intl/l10nflist.c: Likewise.
* intl/loadmsgcat.c: Likewise.
* intl/localealias.c: Likewise.
* intl/ngettext.c: Likewise.
* intl/textdomain.c: Likewise.
* intl/gettext.h: Assume <limits.h> exists.

22 years agoUpdate.
Ulrich Drepper [Tue, 27 Nov 2001 08:33:32 +0000 (08:33 +0000)]
Update.

2001-11-27  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/Makefile (tests): Add scanf11.
* stdio-common/scanf11.c: New file.