aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-08-05[BZ #295]Ulrich Drepper2-1/+9
Update. 2004-08-04 Jakub Jelinek <jakub@redhat.com> * resolv/inet_pton.c (inet_pton4): Disallow octal numbers. Reported by A. Guru <a.guru@sympatico.ca>. [BZ #295]
2004-08-05Update.Ulrich Drepper2-598/+706
* po/nl.po: Update from translation team.
2004-08-05Update.Ulrich Drepper2-8/+52
2004-08-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4 numeric address formats inet_addr knows. (getaddrinfo): Allow AI_NUMERICSERV flag. If neither IPv4 nor IPv6 inerface is present we cannot make any decision for AI_ADDRCONFIG. Fail if AI_NUMERICSERV is set and the string is not just a number. Remove useless freeaddrinfo call. * resolv/netdb.h (AI_NUMERICSERV): Define. Based on a patch by a.guru@sympatico.ca. 2004-08-04 Jakub Jelinek <jakub@redhat.com> * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure instead of trying to initialize some, but not all, fields one by one. * stdio-common/printf_size.c (printf_size): Initialize fb_info structure with *info instead of trying to initialize some, but not all, fields from it. * nscd/connections.c (handle_request): Check if req->type is in LASTDBREQ .. LASTREQ range instead of req. * locale/programs/linereader.c (lr_create): Initialize lr->return_widestr to 0. * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section. (free_mem): Call free_slotinfo just once. * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead of NULL. * locale/localeinfo.h (_nl_locale_subfreeres): New prototype. * locale/setlocale.c (free_category): Add __libc_freeres_fn_section. (free_mem): Rename to _nl_locale_subfreeres. * iconv/gconv_db.c: Include locale/localeinfo.h. (free_derivation, free_modules_db): Add __libc_freeres_fn_section. (free_mem): Call _nl_locale_subfreeres. * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section.
2004-08-05(AI_NUMERICSERV): Define.Ulrich Drepper1-0/+1
2004-08-05* Makeconfig ($(common-objpfx)config.status):Roland McGrath4-315/+728
Fix typo: $(add_ons) -> $(add-ons). (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs) include, use black magic to get it set to an add-on's name during the include of the add-on's Makeconfig. * configure.in: Use variable name `libc_add_on' when sourcing add-on configure fragments, so they can refer to this. * configure: Regenerated.
2004-08-05* posix/tst-waitid.c (test_child): Sleep a second before stopping.Roland McGrath1-0/+5
(do_test): Bump sleep to three seconds. (sigchld, check_sigchld): New functions. (do_test): Handle SIGCHLD and check for getting the right details.
2004-08-052004-08-04 Roland McGrath <roland@redhat.com>Roland McGrath1-2/+169
* posix/tst-waitid.c (test_child): Sleep a second before stopping. (do_test): Bump sleep to three seconds. (sigchld, check_sigchld): New functions. (do_test): Handle SIGCHLD and check for getting the right details.
2004-08-04(do_release_all): Add __libc_freeres_fn_section.Ulrich Drepper9-25/+31
2004-08-04(__vstrfmon_l): Memset whole info structure instead of trying to initialize ↵Ulrich Drepper1-7/+1
some, but not all, fields one by one.
2004-08-04[WCONTINUED]: Test WCONTINUED functionality.Roland McGrath1-0/+1
2004-08-04* posix/tst-waitid.c (do_test): Kill the child process when bailingRoland McGrath1-0/+5
out early on some failure.
2004-08-042004-08-04 Roland McGrath <roland@redhat.com>Roland McGrath1-33/+39
* posix/tst-waitid.c (do_test): Kill the child process when bailing out early on some failure.
2004-08-04(handle_request): Missing _() in last patch.Ulrich Drepper1-1/+1
2004-08-04Update.Ulrich Drepper2-1/+8
2004-08-03 Ulrich Drepper <drepper@redhat.com> * nscd/connections.c (handle_request): Print more descriptive message for invalid request types.
2004-08-02Update.Ulrich Drepper19-455/+626
2004-08-02 Jakub Jelinek <jakub@redhat.com> * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff. Always treat high as highest number in range + 1. * iconvdata/ibm943.c (BODY): Likewise. 2004-07-31 Bruno Haible <bruno@clisp.org> * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004. * iconvdata/jisx0213.c (__jisx0213_to_ucs_main, __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1, __jisx0213_from_ucs_level2): Regenerated. * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function. * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from JISX0213_1_set. (JISX0213_1_2004_set): New enum value. (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O. (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O when possible, ESC $ ( Q when needed. * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters. * iconvdata/testdata/EUC-JISX0213..UTF8: Update. * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters. * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update. * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters. * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update. 2004-07-22 Bruno Haible <bruno@clisp.org> * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
2004-08-02Update.Ulrich Drepper2-1/+6
2004-08-02 Ulrich Drepper <drepper@redhat.com> * linuxthreads.texi (Cleanup Handlers): Fix typo. Reported by Bjoern Engelmann <bjengelmann@gmx.de>.
2004-07-31Update.Ulrich Drepper1-0/+6
2004-07-29 David S. Miller <davem@redhat.com> * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize better for smaller than 256 byte copies. Also, use only one unrolled loop instead of two for the large copy case.
2004-07-31(memcpy): Optimize better for smaller than 256 byte copies. Also, use only ↵Ulrich Drepper1-336/+231
one unrolled loop instead of two for the large copy case.
2004-07-30 * sysdeps/alpha/divq.S: Save t3 before it gets clobbered. * ↵Richard Henderson5-138/+223
sysdeps/alpha/remq.S: Likewise. * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the new division algorithms in divl.S and divq.S respectively. 2004-07-30 Richard Henderson <rth@redhat.com> * sysdeps/alpha/divq.S: Save t3 before it gets clobbered. * sysdeps/alpha/remq.S: Likewise. * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the new division algorithms in divl.S and divq.S respectively.
2004-07-29Update.Ulrich Drepper11-127/+348
2004-07-28 GOTO Masanori <gotom@debian.or.jp> * timezone/asia: Update from tzdata2004b. * timezone/backward: Likewise. * timezone/europe: Likewise. * timezone/iso3166.tab: Likewise. * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise. * timezone/private.h: Update from tzcode2004b. * timezone/zic.c: Likewise.
2004-07-27Update.Ulrich Drepper2-3/+14
2004-07-27 Ulrich Drepper <drepper@redhat.com> * nscd/grpcache.c (cache_addgr): If necessary, add entry also under the name the user provided. * nscd/pwdcache.c (cache_addpw): Likewise.
2004-07-27(cache_addpw): If necessary, add entry also under the name the user provided.Ulrich Drepper1-3/+8
2004-07-27* sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS forRoland McGrath1-0/+5
call to __waitpid.
2004-07-272004-07-26 Roland McGrath <roland@redhat.com>Roland McGrath1-1/+6
* sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for call to __waitpid.
2004-07-27Update.Ulrich Drepper2-10/+22
* nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to memory leaks.
2004-07-26Update.Ulrich Drepper2-2/+8
2004-07-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for new buffer at the right time. Reported by Jakub Bogusz <qboosh@pld-linux.org>.
2004-07-26Update.Ulrich Drepper9-9/+185
2004-07-25 Ulrich Drepper <drepper@redhat.com> * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter, getsourcefilter, setipv4sourcefilter, and setsourcefilter. * inet/Makefile (routines): Likewise. * inet/netinet/in.h: Add prototypes for getipv4sourcefilter, getsourcefilter, setipv4sourcefilter, and setsourcefilter. * sysdeps/generic/getipv4sourcefilter.c: New file. * sysdeps/generic/setipv4sourcefilter.c: New file. * sysdeps/generic/getsourcefilter.c: New file. * sysdeps/generic/setsourcefilter.c: New file.
2004-07-25Update.Ulrich Drepper2-86/+246
2004-07-17 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling for POWER4 machines.
2004-07-25[BZ #274]Ulrich Drepper3-1/+23
Update. 2004-07-21 Jakub Jelinek <jakub@redhat.com> [BZ #274] * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >= BITS_PER_MP_LIMB shifting up. * stdlib/tst-strtod.c (main): Add new tests.
2004-07-24[BZ #284]Ulrich Drepper4-2/+14
Update. 2004-07-23 Jakub Jelinek <jakub@redhat.com> [BZ #284] * sysdeps/pthread/pthread.h (pthread_getcpuclockid): Use __clockid_t instead of clockid_t.
2004-07-23[BZ #282]Ulrich Drepper6-40/+104
Update. 2004-07-23 Jakub Jelinek <jakub@redhat.com> [BZ #282] * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of _IO_no_init. Remove wd from struct locked_FILE. (_IO_wproc_jumps): Remove. Reported by Andrew Josey <a.josey@opengroup.org>. * stdio-common/Makefile (tests): Add tst-popen. * stdio-common/tst-popen.c: New test.
2004-07-23Update.Ulrich Drepper10-30/+67
2004-07-23 Ulrich Drepper <drepper@redhat.com> * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and _POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX, _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX. Reported by Andrew Josey. * include/features.h: Document _POSIX_C_SOURCE == 200112L. * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined. * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined. * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t, time_t, and uid_t if __USE_XOPEN2K is defined. * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined. * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and useconds_t if __USE_XOPEN2K is defined. * io/utime.h: Define time_t if __USE_XOPEN2K is defined. * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
2004-07-23Update.Ulrich Drepper2-4/+21
2004-07-19 Thorsten Kukuk <kukuk@suse.de> * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't allocate memory for large temporary variables with alloca. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility code must have version GLIBC_2.0. Patch by Dwayne McConnell.
2004-07-23Update.Ulrich Drepper2-13/+22
2004-07-22 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL pointer and zero length.
2004-07-22Update.Ulrich Drepper1-0/+4
2004-07-21 Ulrich Drepper <drepper@redhat.com> * nscd/cache.c (prune_cache): Print correct list when debugging.
2004-07-22(prune_cache): Print correct list when debugging.Ulrich Drepper1-2/+2
2004-07-21* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).Roland McGrath3-2/+17
2004-07-212004-07-21 Roland McGrath <roland@redhat.com>Roland McGrath2-1/+3
* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).
2004-07-21Update.Ulrich Drepper4-2/+69
2004-07-21 Jakub Jelinek <jakub@redhat.com> * resolv/res_libc.c (res_init): If RES_INIT is set and _res.nscount > 0, call __res_nclose and free nsaddrs. * resolv/Makefile: Add rules to build and run tst-leaks2. * resolv/tst-leaks2.c: New test.
2004-07-21[BZ #276]Ulrich Drepper2-6/+15
Update. 2004-07-21 Ulrich Drepper <drepper@redhat.com> * intl/libintl.h: Don't define macros for C++. Patch by Goto Masanori. 2004-07-22 GOTO Masanori <gotom@debian.or.jp> [BZ #276] * include/arpa/inet.h: Change inet_aton type from in_addr_t to int. * inet/arpa/inet.h: Likewise. * resolv/inet_addr.c: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
2004-07-21Change inet_aton type from in_addr_t to int.Ulrich Drepper3-4/+4
2004-07-21* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: AddAndreas Jaeger1-0/+5
semtimedop.
2004-07-21Add semtimedop.Andreas Jaeger1-0/+1
2004-07-20* configure.in (add_ons): Substitute this. Move $add_ons handlingRoland McGrath9-799/+500
after AC_CANONICAL_HOST and default setting of $machine et al. Don't set $subdirs from $add_ons. Instead, source add-on/configure fragments early on. (base_machine): If it's already set, don't set it based on $machine. (libc_config_ok): New variable, set to no. If an add-on fragment sets it to yes, skip the tuple sanity check as if --enable-hacker-mode. (sysnames): Try appending add-on names after machine as well. * configure: Regenerated. * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@. * Makeconfig ($(common-objpfx)config.status): Also depend on configure files in $(add_ons) dirs. * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove definition, now in netinet/in.h proper. long. Rewrite example code so that it takes into account l64a output
2004-07-202004-07-02 Roland McGrath <roland@redhat.com>Roland McGrath3-5/+8
* configure: Don't exit.
2004-07-20* sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.Ulrich Drepper1-1/+1
2004-07-20Fix entries.Andreas Jaeger2-27/+30
* sysdeps/mips/atomicity.h: Use standard names for ABI macros, include sgidefs.h where appropriate. * sysdeps/mips/dl-machine.h: Likewise. * sysdeps/mips/machine-gmon.h: Likewise. * sysdeps/mips/bits/setjmp.h: Likewise. * sysdeps/mips/fpu/bits/mathdef.h: Likewise. * sysdeps/mips/mips64/__longjmp.c: Likewise. * sysdeps/mips/mips64/setjmp_aux.c: Likewise. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/user.h: * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): * sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
2004-07-20UPdate.Andreas Jaeger30-60/+141
* sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): Sort by syscalls. Make sure we get headers such as sgidefs.h from the build tree before just-installed ones. * sysdeps/mips/atomicity.h, sysdeps/mips/dl-machine.h, sysdeps/mips/machine-gmon.h, sysdeps/mips/bits/setjmp.h, sysdeps/mips/fpu/bits/mathdef.h, sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c, sysdeps/unix/sysv/linux/mips/kernel_stat.h, sysdeps/unix/sysv/linux/mips/pread.c, sysdeps/unix/sysv/linux/mips/pread64.c, sysdeps/unix/sysv/linux/mips/ptrace.c, sysdeps/unix/sysv/linux/mips/pwrite.c, sysdeps/unix/sysv/linux/mips/pwrite64.c, sysdeps/unix/sysv/linux/mips/sigaction.c, sysdeps/unix/sysv/linux/mips/sigcontextinfo.h, sysdeps/unix/sysv/linux/mips/bits/fcntl.h, sysdeps/unix/sysv/linux/mips/bits/sigcontext.h, sysdeps/unix/sysv/linux/mips/bits/stat.h, sysdeps/unix/sysv/linux/mips/sys/procfs.h, sysdeps/unix/sysv/linux/mips/sys/ptrace.h, sysdeps/unix/sysv/linux/mips/sys/tas.h, sysdeps/unix/sysv/linux/mips/sys/ucontext.h, sysdeps/unix/sysv/linux/mips/sys/user.h: Use standard names for ABI macros, include sgidefs.h where appropriate. sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): Likewise. sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Likewise. sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
2004-07-20Update.Andreas Jaeger1-0/+6
2004-07-20 Alexandre Oliva <aoliva@redhat.com> * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use _dl_lookup_symbol_x. (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
2004-07-20(__dl_runtime_resolve): Update to use _dl_lookup_symbol_x. ↵Andreas Jaeger1-7/+7
(elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.