aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1998-09-10Update.Ulrich Drepper
1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/locale.texi: Fix typos.
1998-09-10Update.Ulrich Drepper
* stdlib/random_r.c (__setstate_r): Allow call with same state array as currently used (PR libc/774).
1998-09-10Update.Ulrich Drepper
* include/limits.h: Include gcc's header even if this file is found more than once before it (PR libc/778)
1998-09-10Update.Ulrich Drepper
* iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap correction.
1998-09-10Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/Makefile (subdirs==misc) [sysdep_headers]: Remove sys/debugreg.h. * sysdeps/unix/sysv/linux/i386/Makefile (subdirs==misc) [sysdep_headers]: Add sys/debugreg.h. * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed. * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1998-09-10Update.Ulrich Drepper
1998-09-10 Ulrich Drepper <drepper@cygnus.com> * stdio-common/tmpnam.c: Move local static variable buf to toplevel and rename to tmpnam_buffer to ease debugging. Patch by Joe Keane <jgk@jgk.org>. Optimize s == NULL case a bit.
1998-09-10Update.Ulrich Drepper
1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com> * resolv/res_init.c (res_init): Initialize _res.nscount and _res.nsaddr.sin_port differently for the can when no loopback is available to allow immediate timeout in non-networking environments. Patch by Cristian Gafton <gafton@redhat.com>.
1998-09-10Update.Ulrich Drepper
1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL BAR and not EM DASH. * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0). * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF). Fixes PR libc/717.
1998-09-10Update.Ulrich Drepper
1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com> * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files for test. * timezone/tst-timezone.c (tests): Fix typo in last patch. * time/tzfile.c (__tzfile_read): Handle case when there are no transitions. Set __timezone based on computed offset. * time/tzset.c (tzset_internal): Set __timezone before returning. * time/tzset.c (tzset_internal): Optimize handling of local string copy. 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de> * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR libc/776). * sysdeps/powerpc/bits/fenv.h: Add parens.
1998-09-09Update.Ulrich Drepper
1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com> * math/libm-test.c (exp10_test): Adapt epsilons for powerpc. (csqrt_test): Likewise. * sysdeps/powerpc/bits/fenv.h: Add parens. .
1998-09-09Pass pointer to _dl_main_searchlist not _dl_default_scope to _dl_init_next.Ulrich Drepper
1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com> * sysdeps/powerpc/dl-start.S (_start): Pass pointer to _dl_main_searchlist not _dl_default_scope to _dl_init_next. Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1998-09-09Update.Ulrich Drepper
1998-09-09 Mark Kettenis <kettenis@phys.uva.nl> * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is the special `-1' pointer.
1998-09-09(_dl_close): Don't free imap->l_origin if it is the special `-1' pointer.Ulrich Drepper
1998-09-09Regenerated: autoconf configure.inJim Wilson
1998-09-09Update.Ulrich Drepper
1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com> * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function inline. 1998-09-07 Paul Eggert <eggert@twinsun.com> * time/mktime.c (__EXTENSIONS__): Define if not defined. (_REENTRANT): Remove. It has undesirable consequences in Solaris 2.6 (e.g. it turns off the putc macro). Defining __EXTENSIONS__ makes localtime_r and gmtime_r visible, which is what we want. * time/strftime.c: Likewise. 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * elf/dl-error.c: Fix spelling. 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * stdlib/strfmon.c: Quiet -Wparentheses warnings. * stdio-common/_itoa.c: Likewise. * stdio-common/printf_fp.c: Likewise. * stdio-common/vfscanf.c: Likewise. * wcsmbs/wcstok.c: Likewise. * sysdeps/generic/glob.c: Likewise. * posix/getopt.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. * posix/wordexp.c: Likewise. * io/ftw.c: Likewise. * io/fts.c: Likewise. * misc/getpass.c: Likewise. * iconv/gconv_conf.c: Likewise. * argp/argp-fmtstream.c: Likewise. * argp/argp-help.c: Likewise. * elf/dl-load.c: Likewise. * locale/programs/stringtrans.c: Likewise. * catgets/gencat.c: Likewise. * posix/getconf.c: Likewise. * iconv/gconv_conf.c: Likewise. * iconv/iconv_prog.c: Likewise. * string/strcoll.c: Optimize a few expressions. * string/strxfrm.c: Likewise. 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * elf/dl-open.c (dl_open_worker): Move decl of new_global up one level to avoid uninit variable warning. 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> instead of _dl_default_scope[2] as argument to _dl_init_next. Fix compatibility problems introduced in last change.
1998-09-09Add clarifications.Ulrich Drepper
1998-09-09* sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist Andreas Schwab
instead of _dl_default_scope[2] as argument to _dl_init_next. * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist instead of _dl_default_scope[2] as argument to _dl_init_next.
1998-09-09* sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with Andreas Schwab
C9x macro. Wed Sep 9 10:34:06 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with C9x macro.
1998-09-08Update.Ulrich Drepper
* csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is defined. * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add -DWEAK_GMON_START to CFLAGS-initfini.s.
1998-09-08Update.Ulrich Drepper
* elf/rtld.c (dl_main): Don't update _dl_loaded here.
1998-09-08Update.Ulrich Drepper
* elf/dl-object.c (_dl_new_object): Store map address in _dl_loaded if _dl_loaded is NULL.
1998-09-08Update.Ulrich Drepper
1998-09-08 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/setrlimit64.c: Remove stub warning.
1998-09-07Update.Ulrich Drepper
* resolv/res_debug.c: Likewise.
1998-09-07Update.Ulrich Drepper
* argp/argp-help.c: Likewise. * argp/argp-parse.c: Likewise.
1998-09-07Update.Ulrich Drepper
* stdlib/strtol.c: Likewise. * string/strcoll.c: Likewise. * string/strxfrm.c: Likewise.
1998-09-07Update.Ulrich Drepper
* db2/btree/bt_cursor.c: Likewise. * db2/common/db_region.db_c: Likewise. * db2/common/db_salloc.db_c: Likewise. * db2/db/db.c: Likewise. * db2/db/db_rec.c: Likewise. * db2/hash/hash.c: Likewise. * db2/hash/hash_page.c: Likewise. * db2/hash/hash_rec.c: Likewise. * db2/log/log_findckp.c: Likewise. * db2/log/log_get.c: Likewise. * db2/log/log_put.c: Likewise. * db2/mp/mp_fget.c: Likewise. * db2/mp/mp_fput.c: Likewise. * db2/mp/mp_region.c: Likewise.
1998-09-07Update.Ulrich Drepper
1998-09-07 Ulrich Drepper <drepper@cygnus.com> * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc quiet.
1998-09-07Update.Ulrich Drepper
1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com> * math/tgmath.h (scalb): Only define for __USE_MISC or __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1998-09-07Update.Ulrich Drepper
1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * libio/stdio.h: Fix comment. * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if __USE_ISOC9X.
1998-09-06Update.Ulrich Drepper
1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> * Makeconfig (+gccwarn): Remove -Wno-parentheses. * elf/dl-open.c: Quiet -Wparentheses warnings. * iconvdata/johab.c: Likewise. * iconvdata/uhc.c: Likewise. * inet/inet_net.c: Likewise. * io/fts.c: Likewise. * locale/newlocale.c: Likewise. * misc/getttyent.c: Likewise. * misc/mntent_r.c: Likewise. * misc/ttyslot.c: Likewise. * nscd/nscd_conf.c: Likewise. * nss/nsswitch.c: Likewise. * resolv/gethnamaddr.c: Likewise. * resolv/nsap_addr.c: Likewise. * resolv/res_debug.c: Likewise. * stdio-common/_itoa.c: Likewise. * stdlib/strtod.c: Likewise. * string/strverscmp.c: Likewise. * sunrpc/svc.c: Likewise. * sysdeps/libm-ieee754/e_cosh.c: Likewise. * sysdeps/libm-ieee754/e_gamma_r.c: Likewise. * sysdeps/libm-ieee754/e_sinh.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. * include/dlfcn.h: Likewise. * elf/dlfcn.h: Declare dladdr only for __USE_GNU. Define RTLD_DEFAULT.
1998-09-06Update.Ulrich Drepper
1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com> * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test for use of global scope. * elf/dlvsym.c (dlvsym_doit): Likewise. 1998-09-02 Paul Eggert <eggert@twinsun.com> * strftime.c (my_strftime): When mbrlen returns (size_t) -2, copy the redundant bytes at the end of the format as-is; don't just copy their first byte and then rescan, as that might get us an encoding error. Account correctly for the length of multibyte sequences in the format. 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk> * posix/wordexp-test.c: Add tests for different IFS values. Change unquoted-newline test so that newline is not in IFS. * posix/wordexp.c (wordexp): Correct null/unset mix-up when determining IFS characters. Return WRDE_BADCHAR for unquoted special characters _except_ if they are separators. 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com> * include/tgmath.h: New file. * libio/stdio.h: Correct reversed #ifs. Patch by Zack Weinberg. * manual/creature.texi: Better explain reason for feature select macros. Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>. 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> * include/alloca.h: Add multiple-inclusion guard. * include/db.h: Likewise. * include/db_185.h: Likewise. * include/fcntl.h: Likewise. * include/grp.h: Likewise. * include/libintl.h: Likewise. * include/mntent.h: Likewise. * include/pwd.h: Likewise. * include/sched.h: Likewise. * include/search.h: Likewise. * include/setjmp.h: Likewise. * include/shadow.h: Likewise. * include/signal.h: Likewise. * include/stdio.h: Likewise. * include/stdlib.h: Likewise. * include/string.h: Likewise. * include/termios.h: Likewise. * include/time.h: Likewise. * include/ulimit.h: Likewise. * include/utmp.h: Likewise. * include/wchar.h: Likewise. * include/sys/file.h: Likewise. * include/sys/gmon.h: Likewise. * include/sys/ioctl.h: Likewise. * include/sys/mman.h: Likewise. * include/sys/resource.h: Likewise. * include/sys/select.h: Likewise. * include/sys/socket.h: Likewise. * include/sys/statfs.h: Likewise. * include/sys/time.h: Likewise. * include/sys/times.h: Likewise. * include/sys/wait.h: Likewise. * include/dlfcn.h: Declare dladdr only for __USE_GNU. Define RTLD_DEFAULT.
1998-09-06Update.Ulrich Drepper
1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com> * version.h (VERSION): Bump to 2.0.96. Rewrite runtime linker to be truly thread-safe. There is now no global variable specifying the scope. We create all needed scopes at the time the link maps are created. * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist. * elf/link.h: Add struct r_scope_elem and use this for l_searchlist, l_symbolic_searchlist, l_scope, and l_local_scope elements in struct link_map. * elf/dl-close.c: Rewritten accordingly. * elf/dl-deps.c: Likewise. * elf/dl-error.c: Likewise. * elf/dl-init.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-object.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-symbol.c: Likewise. * elf/dl-version.c: Likewise. * elf/dlfcn.h: Likewise. * elf/dlsym.c: Likewise. * elf/dlvsym.c: Likewise. * elf/ldsodefs.h: Likewise. * elf/rtld.c: Likewise. * iconv/gconv_dl.c: Likewise. * nss/nsswitch.c: Likewise. * sysdeps/i386/dl-machine.h: Likewise. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1998-09-06(VERSION): Bump to 2.0.96.Ulrich Drepper
1998-09-051998-09-05 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath
* sysdeps/mach/hurd/i386/init-first.c (init1): Call __getopt_clean_environment with __environ instead of envp. * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1998-09-05* string/argz-extract.c (__argz_extract): Add de-consting cast forRoland McGrath
setting results. * string/argz-next.c (__argz_next): Likewise.
1998-09-05* string/argz.h (argz_next): Add de-consting cast for return.Roland McGrath
1998-09-05* sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):Roland McGrath
Don't add netinet/udp.h, netinet/ip_icmp.h here. * sysdeps/gnu/Makefile: Do it here instead. * sysdeps/unix/sysv/linux/Dist: Move those files from here ... * sysdeps/gnu/Dist: ... to here.
1998-09-051998-09-05 Roland McGrath <roland@baalperazim.frob.com> * ↵Roland McGrath
sysdeps/unix/sysv/linux/netinet/ip_icmp.h, sysdeps/unix/sysv/linux/netinet/tcp.h, sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet. 1998-09-05 Roland McGrath <roland@baalperazim.frob.com> * sysdeps/unix/sysv/linux/netinet/ip_icmp.h, sysdeps/unix/sysv/linux/netinet/tcp.h, sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1998-09-041998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param. * string/argz-next.c, string/argz-extract.c: Fix defns.
1998-09-041998-09-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mach/Makefile: Use -include for mach-syscalls.mk to silence warning. * sysdeps/mach/hurd/sysd-stdio.c: Declare fns __stdio_{read,write,seek,close,fileno} using __io_*_fn types. * sysdeps/generic/sysd-stdio.c: Likewise.
1998-09-041998-09-03 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath
* mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1998-09-02Update.Ulrich Drepper
1998-09-02Update.Ulrich Drepper
1998-09-02 Ulrich Drepper <drepper@cygnus.com> * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly. (_dl_map_object_from_fd): Make NAME argument const. Remove last parameter in _dl_new_object call. (print_search_path): Correct construction of composed path name. (_dl_map_object): Prevent looking at RPATH of the main map twice. Remove last parameter in _dl_new_object call. * elf/dl-object.c: Remove last parameter. Determine whether create origin entry based on empty realname. Handle file in root directory correctly. * elf/ldsodefs.h: Adjust prototype for _dl_new_object. * elf/rtld.c (dl_main): Add comment describing reason for memory leak. Remove last parameter in _dl_new_object call. * sysdeps/generic/dl-origin.h: Handle file in root directory correctly. * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1998-09-01Update.Ulrich Drepper
* elf/dl-close.c (_dl_close): Add more comments and correct some. Free l_searchlist and l_dupsearchlist.
1998-09-01Update.Ulrich Drepper
1998-09-01 Ulrich Drepper <drepper@cygnus.com> * debug/catchsegv.sh: Add one more pair of quotes.
1998-09-01Update.Ulrich Drepper
1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com> * elf/dl-load.c (add_name_to_object): Change return type to void and make NAME parameter const. Allocate room for NAME in same memory block used for l_libname entry. (_dl_map_object_from_fd): Don't free NAME on failure. (map_segment): Pass SONAME to add_name_to_object, not a copy. (_dl_map_object): Don't create copy of NAME. Pass NAME to _dl_map_object_from_fd. * elf/dl-object.c (dl_new_object): Allocate room for NAME in same memory block used for l_libname entry. * elf/dl-close.c: Adjust free()ing for this change.
1998-09-01Update.Ulrich Drepper
1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com> * malloc/Makefile: Include Makeconfig before testing config-sysdirs. * malloc/mtrace.c: Add bug report address. Update email address. Add more @XXX@ to print correct address size. * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is really initialized. * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info for munmap call instead of examining phdr again. Free all malloc()ed strings and arrays.
1998-09-01Update.Ulrich Drepper
1998-08-09 Geoff Keating <geoffk@ozemail.com.au> * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of dl-machine.h. * sysdeps/powerpc/dl-machine.c: New file. * sysdeps/powerpc/dl-machine.h: Move much stuff into separate files. Revise ELF_PREFERRED_ADDRESS to take account of the new mapping information (fixes bug involving huge bloated web browser). Set ELF_MACHINE_PLTREL_OVERLAP. * sysdeps/powerpc/dl-start.S: New file. * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start, l_map_end. * elf/do-rel.h: Call elf_machine_rel only once (to save space). * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the others. Call elf_dynamic_do_##reloc only once (to save even more space). * elf/link.h: Add new members l_map_start and l_map_end to keep track of the memory map. * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and the executable. 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com> * debug/Makefile (catchsegv): We need not rewrite SOVER anymore. Reported by Andreas Jaeger. * posix/glob.h: Use __size_t instead of size_t in definitions and make sure this is defined. * manual/locale.texi: Almost complete rewrite. Document more functions
1998-09-01Update.Ulrich Drepper
1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com> * manual/locale.texi: Almost compelte rewrite. Document more functions and functionality. * manual/arith.texi: Correct reference. * manual/string.texi: Pretty printing. * manual/texinfo.tex: Update from last available version. 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com> * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for invalid password. (_nss_nis_getpwuid_r): Likewise. Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>. * inet/rcmd.c: Implement netgroup support. Patch by Dick Streefland <dick_streefland@tasking.com>.
1998-09-01Fix typo.Ulrich Drepper
* sysdeps/i386/pt-machine.h: Likewise.