aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-05-21Fix typo in comment.Ulrich Drepper
2000-05-21Update.Andreas Jaeger
2000-05-20 2000 H.J. Lu <hjl@gnu.org> * resolv/res_libc.c (_res): Initialize _sock to -1. 2000-05-18 Jakub Jelinek <jakub@redhat.com> * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie. (fopencookie@@GLIBC_2.2): New. (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New. (fopencookie@GLIBC_2.0): New. * libio/Versions: Add fopencookie to GLIBC_2.2. * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. Closes PR libc/1731.
2000-05-18Update.Andreas Jaeger
2000-05-18 Andreas Jaeger <aj@suse.de> * manual/arith.texi (Parsing of Integers): Fix typo. Closes PR libc/1744, reported by blp@gnu.org.
2000-05-18Update.Andreas Jaeger
* sysdeps/generic/memmem.c (memmem): Check arguments to avoid possibly searching through the whole memory. Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
2000-05-17Update.Andreas Jaeger
2000-05-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add __extension__ to hexadecimal floating constant notation. * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): Likewise. * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise. * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): Likewise. * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): Likewise. * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): Likewise. (HUGE_VALL): Set to HUGE_VAL on sparc32.
2000-05-17Update.Andreas Jaeger
2000-05-17 Andreas Jaeger <aj@suse.de> * string/envz.h: Add pure attributes if possible. * string/argz.h: argz_count is a pure function. * string/strings.h: Add pure and const attributes if possible.
2000-05-17Update.Andreas Jaeger
2000-05-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if not yet defined. (_dl_cache_check_flags): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next dl-cache.h. 2000-05-17 Andreas Jaeger <aj@suse.de> * manual/creature.texi (Feature Test Macros): Remove paragraph since the description is wrong. Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>. 2000-05-17 Andreas Jaeger <aj@suse.de> * time/test_time.args: Removed. * time/Makefile (test_time-ARGS): Added contents here instead. * posix/tstgetopt.args: Removed. * posix/Makefile (tstgetopt-ARGS): Added contents here instead. * Rules: Allow arguments for test files to be specified in Makefile with testname-ARGS; remove rules with .args in it. * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1, remove old bogus rule for opendir-tst1.args. * stdlib/test-canon.c: Rewrite to use test-skeleton.c. * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir into objdir. This allows a readonly sourcetree. Reported by lrgallardo@yahoo.com, closes PR libc/1421. 2000-05-16 Andreas Jaeger <aj@suse.de>, David Huggins-Daines <dhd@linuxcare.com> * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache_data in case of only new cache format correctly. * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct cache_file_new. * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align struct cache_file_new. * elf/cache.c (save_cache): Fix str_offset if only new cache is present. * elf/cache.c (save_cache): Align struct new_file_cache. (print_cache): Likewise.
2000-05-17Update.Andreas Jaeger
2000-05-17 Andreas Jaeger <aj@suse.de> * scripts/config.sub: New version. * scripts/config.guess: Likewise. * manual/texinfo.tex: Likewise.
2000-05-152000-05-15 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* tst-fmon.data: Change testcase following fixes for de_DE. * locales/de_DE: Remove space after DEM since DEM is now placed after the value. * tst-fmon.data: Change testcase following fixes for de_DE. * locales/de_DE: Remove space after DEM since DEM is now placed after the value.
2000-05-152000-05-15 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* locales/de_DE: Fix currency placement to use "12.345,68 DM". Reported by Christopher Creutzig <ccr@nescio.foebud.org>, closes PR libc/1713. 2000-05-15 Andreas Jaeger <aj@suse.de> * locales/de_DE: Fix currency placement to use "12.345,68 DM". Reported by Christopher Creutzig <ccr@nescio.foebud.org>, closes PR libc/1713.
2000-05-15Update.Andreas Jaeger
2000-05-13 Jakub Jelinek <jakub@redhat.com> * elf/soinit.c (__libc_global_ctors): Move __pthread_initialize_minimal call out of HAVE_DWARF2_* defines. * resolv/resolv.h (__res_state): Added __attribute__((const)). (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as variable, don't define it to __res_state call.
2000-05-152000-05-13 Jakub Jelinek <jakub@redhat.com>Andreas Jaeger
* elf/soinit.c (__libc_global_ctors): Move __pthread_initialize_minimal call out of HAVE_DWARF2_* defines. * resolv/resolv.h (__res_state): Added __attribute__((const)). (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as variable, don't define it to __res_state call. 2000-05-13 Jakub Jelinek <jakub@redhat.com> * internals.h (__RES_PTHREAD_INTERNAL): Define. 2000-05-13 Jakub Jelinek <jakub@redhat.com> * internals.h (__RES_PTHREAD_INTERNAL): Define.
2000-05-13Update.Andreas Jaeger
2000-05-13 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from Linux 2.3.99pre7. (AF_PPPOX): Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise. (AF_PPPOX): Likewise. * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt argument. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle R_SPARC_UA64. * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
2000-05-12Update.Andreas Jaeger
2000-05-12 Andreas Jaeger <aj@suse.de> * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices. Reported by tmoestl@gmx.net, closes PR libc/1732.
2000-05-12Update.Andreas Jaeger
2000-05-11 Jan Hubicka <jh@suse.cz> * misc/sys/cdefs.h: Add support for pure attribute. * include/string.h: Add __attribute_pure__ to various functions. * string/string.h: Likewise.
2000-05-10Update.Andreas Jaeger
* elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt argument. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle R_SPARC_UA64. * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file. 2000-05-10 Jakub Jelinek <jakub@redhat.com>
2000-05-10Update.Andreas Jaeger
at proper place. Compute the high nibble correctly.
2000-05-10Update.Andreas Jaeger
2000-05-10 Jakub Jelinek <jakub@redhat.com> * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message at proper place.
2000-05-10Update.Andreas Jaeger
* elf/ldconfig.c: Include elf.h.
2000-05-10Update.Andreas Jaeger
2000-05-09 Jakub Jelinek <jakub@redhat.com> * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero. (_dl_vsym): Likewise. Reported by Owen Taylor <otaylor@redhat.com>. * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini always.
2000-05-08Update.Andreas Jaeger
2000-05-08 Andreas Jaeger <aj@suse.de> * include/libintl.h: Add prototype for __bind_textdomain_codeset. * intl/bindtextdom.c (set_binding_values): Add prototype.
2000-05-08Update.Andreas Jaeger
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in call to elf_machine_fixup_plt. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. 2000-05-08 Jakub Jelinek <jakub@redhat.com>
2000-05-082000-05-08 Jakub Jelinek <jakub@redhat.com>Andreas Jaeger
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in call to elf_machine_fixup_plt. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2000-05-08Update.Ulrich Drepper
2000-05-08 Jakub Jelinek <jakub@redhat.com> * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that they are not dlclose'd from underneath us.
2000-05-08Update.Ulrich Drepper
* posix/execle.c: Fix size parameter of memcpy. 2000-05-08 Andreas Schwab <schwab@suse.de>
2000-05-08Fix size parameter of memcpy.Ulrich Drepper
2000-05-08* sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. UseAndreas Schwab
getpagesize syscall if available.
2000-05-08New file. Use getpagesize syscall if available.Andreas Schwab
2000-05-08Update.Andreas Jaeger
2000-05-08 Andreas Jaeger <aj@suse.de> * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and set errno.
2000-05-08Update.Andreas Jaeger
2000-05-08 Jakub Jelinek <jakub@redhat.com> * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in sizeof(struct link_map *) chunks, not in bytes.
2000-05-082000-05-08 Jakub Jelinek <jakub@redhat.com>Andreas Jaeger
* elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in sizeof(struct link_map *) chunks, not in bytes.
2000-05-08Update.Ulrich Drepper
2000-05-07 Ulrich Drepper <drepper@redhat.com> * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's only needed for locale. * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS. It's only needed for catgets. Patches by Greg McGary <gkm@eng.ascend.com>.
2000-05-08Update.Ulrich Drepper
2000-05-07 Mark Kettenis <kettenis@gnu.org> * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print. Remove duplicate <errno.h> include. Remove inclusion of <libintl.h> and "nsswitch.h". (set_cloexec_flag): New function, broken out of dbopen. (dbopen): Changed return type to `enum nss_status'. Mostly rewritten to make sure that we do not report NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts. (internal_setent): Change return type to nss_status. Document, and make sure that the function behaves accordingly. Make dynamically loading the database library really thread-safe and return NSS_STATUS_UNAVAIL if it failed. (db_cursor): Return ENOMEM is memory allocation failed. Remove unecessary casts. * nss/nss_db/dummy-db.h: Add copyright notice. Improve documentation. (struct dbc24, struct dbc27): Use DBT type in parameter lists for c_get function member. * nss/nss_db/nss_db.h: Add and tweak some comments. (DBT): Move typedef before NSS_DBC typedef. (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
2000-05-08Update.Ulrich Drepper
2000-05-07 H.J. Lu <hjl@gnu.org> * csu/initfini.c: Moved to .... * sysdeps/generic/initfini.c: ...here. * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
2000-05-07Update.Ulrich Drepper
* manual/resource.texi: Document POSIX scheduling functions. Patch by Bryan Henderson <bryanh@giraffe-data.com>.
2000-05-07Update.Ulrich Drepper
* inet/rcmd.c (rcmd_af): errno is not set if read returns without reading anything. Reported by Andries.Brouwer@cwi.nl.
2000-05-07Update.Ulrich Drepper
* sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type for x since promotion in comparison might leads to unexpected results. Reported by Dan Pop <Dan.Pop@cern.ch>.
2000-05-07Update.Ulrich Drepper
(ucs4_internal_loop): Likewise. (ucs4_internal_loop_unaligned): Likewise. (internal_ucs4le_loop): Likewise. (internal_ucs4le_loop_unaligned): Likewise. (ucs4le_internal_loop): Likewise. (ucs4le_internal_loop_unaligned): Likewise.
2000-05-07Update.Ulrich Drepper
* iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting empty input buffer over full output buffer.
2000-05-07Update.Ulrich Drepper
2000-05-07 Ulrich Drepper <drepper@redhat.com> * iconv/Makefile (tests): Add tst-iconv1. * iconv/tst-iconv1.c: New file. Reported by yaoz@nih.gov.
2000-05-07Update.Ulrich Drepper
2000-05-06 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform returned != __GCONV_OK, there is nothing to clean up. 2000-05-06 Bruno Haible <haible@clisp.cons.org> * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and OUTPUT_CHARSET environment variables. 2000-05-06 Andreas Jaeger <aj@suse.de> * sysdeps/generic/dl-cache.h (struct file_entry_new): New. (struct cache_file_new): New. (struct file_entry): New (moved from cache.c). (struct cache_file): New (moved from cache.c). * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out from _dl_load_cache_lookup. (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle the different cache formats. New variable cache_new for new format. * elf/ldconfig.h: Change according to changes in cache.c and ldconfig.c; remove cache_libcmp; add opt_format. * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove stuff that's defined in those headers. Add hwcap to struct lib_entry. (opt_format): New variable to select cache format. (options): Add format parameter. (is_hwcap): New function. (path_hwcap): New function. (parse_opt): Handle new format parameter. (search_dir): Handle hwcap, search also subdirectories with hwcap. * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since ldconfig is part of glibc. Include dl-cache.h and remove stuff that's defined there. (struct cache_entry): Add new member hwcap. (print_entry): Print hwcap, cleanup a bit. (print_cache): Print new and old formats. (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap. (save_cache): Save new and old formats. (add_to_cache): Handle hwcap. * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here... * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here. * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here... * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here. * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here... * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here. 2000-05-05 Bruno Haible <haible@clisp.cons.org> * intl/dcigettext.c (alignof): New macro. (_nl_find_msg): Use it instead of __alignof__. Pass correct output buffer length to __gconv/iconv. If malloc (freemem_size) fails, set freemem_size to 0. 2000-05-05 Bruno Haible <haible@clisp.cons.org> * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch return value.
2000-05-07(dcigettext): Fix interpretation of tsearch return value.Ulrich Drepper
2000-05-07Removed conflict marker.Andreas Jaeger
2000-05-06Update.Ulrich Drepper
2000-05-06 Ulrich Drepper <drepper@redhat.com> * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'. (mempcpy): Correct typo is parameter list.
2000-05-06(DCIGETTEXT): Always define local variable `index'. (mempcpy): Correct typo ↵Ulrich Drepper
is parameter list.
2000-05-06Update.Andreas Jaeger
2000-05-06 Andreas Jaeger <aj@suse.de> * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline functions unless -ffast-math is given to gcc.
2000-05-062000-05-06 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* sysdeps/i386/fpu/bits/mathinline.h: Disable some inline functions unless -ffast-math is given to gcc.
2000-05-06Update.Ulrich Drepper
2000-05-06 Ulrich Drepper <drepper@redhat.com> * po/ko.po: Update from translation team.
2000-05-06New version from translator.Ulrich Drepper
2000-05-052000-05-05 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* sysdeps/unix/sysv/linux/i386/getcpuclockid.c (pthread_getcpuclockid): Correct test for ourselves. 2000-05-05 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/getcpuclockid.c (pthread_getcpuclockid): Correct test for ourselves.