about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2000-07-249-55/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-24 Jakub Jelinek <jakub@redhat.com> * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size in wide characters, not bytes. * libio/tst_putwc.c (do_test): Add test for writing lots of data into file. 2000-07-22 Bruno Haible <haible@clisp.cons.org> * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT, LC_IDENTIFICATION. * locale/xlocale.h (struct __locale_struct): Increase size of __locales array. * locale/duplocale.c (__duplocale): Copy newly added categories as well. * locale/freelocale.c (__freelocale): Free newly added categories. * locale/newlocale.c (__newlocale): Fix typo in sanity check. If a base is given, use it, don't simply return it. 2000-07-22 Bruno Haible <haible@clisp.cons.org> * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer variables, copied_key and copied_salt, instead of boolean variables.
* Update.Ulrich Drepper2000-07-241-0/+6
| | | | | | | | * pthread.c (__pthread_initial_thread): Update initializer. (__pthread_manager_thread): Likewise. (pthread_initialize): Move setrlimit call to... (__pthread_initialize_manager): ...here. (__pthread_reset_main_thread): Reset also soft limit on stack size.
* (__pthread_initial_thread): Update initializer. (__pthread_manager_thread): ↵Ulrich Drepper2000-07-241-16/+25
| | | | Likewise. (pthread_initialize): Move setrlimit call to... (__pthread_initialize_manager): ...here. (__pthread_reset_main_thread): Reset also soft limit on stack size.
* (__mmap64): Really fix check for offset.Andreas Jaeger2000-07-241-7/+6
|
* (initgroups_dyn_function): Renamed from initgroups_function, adopted ↵Andreas Jaeger2000-07-241-4/+4
| | | | prototype for change from 2000-07-23. (initgroups): Follow type change.
* Update.Ulrich Drepper2000-07-241-0/+1
| | | | * internals.h (struct _pthread_descr_struct): Add p_condvar_avail.
* (struct _pthread_descr_struct): Add p_condvar_avail.Ulrich Drepper2000-07-241-0/+1
|
* Update.Andreas Jaeger2000-07-242-15/+19
| | | | | | | | * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset & PAGE_MASK case, reformat. * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input from stdin and setup environment.
* Update.Andreas Jaeger2000-07-241-0/+5
| | | | | | | 2000-07-24 Andreas Jaeger <aj@suse.de> * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read from input from stdin and setup environment.
* ($(objpfx)tst-svc.out): Fix rule to read from input from stdin and setup ↵Andreas Jaeger2000-07-241-2/+3
| | | | environment.
* * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.Andreas Schwab2000-07-241-0/+4
|
* Remove mmap64 alias.Andreas Schwab2000-07-241-1/+0
|
* Update.Ulrich Drepper2000-07-242-22/+72
| | | | | | | | 2000-07-24 Ulrich Drepper <drepper@redhat.com> * condvar.c: Handle spurious wakeups. [PR libc/1749]. * spinlock.h: If IMPLEMENT_TAS_WITH_CAS is defined use
* Update.Ulrich Drepper2000-07-2410-51/+110
| | | | | | | | | | | * string/endian.h: Explain the _*_ENDIAN constant values a bit more. Patch by scarlet@mit.edu [PR libc/1799]. * io/ftwtest-sh: Add -f parameter to chmod if -R is also given. [PR libc/1792]. * argp/argp-parse.c (parser_finalize): Reverse order in which parsers are run for ARGP_KEY_END. [PR libc/1755].
* Update.Ulrich Drepper2000-07-247-48/+93
| | | | | | | | | | | | | | | | | | * grp/initgroups.c (initgroups): Don't limit the possible number of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around the setgroups call while the call fails and descrease the number of groups each round. The name of the initgroups function in the NSS modules changed. (compat_call): Adapt for dynamic resizing. * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): Implement dynamic resizing. * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn): Likewise. * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise. * hesiod/Versions: Change exported interface name. * nis/Versions: Change exported interface name. 2000-07-23 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2000-07-246-74/+130
| | | | | | | | | | 2000-07-23 Ulrich Drepper <drepper@redhat.com> * locale/iso-639.def: Some errors corrected. Patch by Keld Simonsen. * include/limits.h: Update non-gcc portion. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
* (yesexpr): Add U005E at the beginning. (noexpr): Likewise.Ulrich Drepper2000-07-241-2/+2
|
* * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the program's data ↵Mark Kettenis2000-07-232-2/+8
| | | | | | | | | | space, reallocate only the space that was just deallocated to release its backing space. 2000-07-22 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the program's data space, reallocate only the space that was just deallocated to release its backing space.
* Update.Ulrich Drepper2000-07-232-1/+4
| | | | | * stdio-common/vfprintf.c (process_string_arg): For wide character version, handle precision also correctly.
* Update.Ulrich Drepper2000-07-232-0/+5
| | | | | * nss/nss_files/files-hosts.c: Correct problem with three or more entries with the same name.
* Update.Ulrich Drepper2000-07-233-13/+194
| | | | | | | 2000-07-23 Ulrich Drepper <drepper@redhat.com> * nss/nss_files/files-hosts.c: Implement multi handling. * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
* Update.Ulrich Drepper2000-07-234-4/+10
| | | | | * nss/nss_files/files-parse.c: Don't pollute namespace by using strcasecmp.
* Update.Ulrich Drepper2000-07-238-62/+290
| | | | | | | | | | | | 2000-07-22 Ulrich Drepper <drepper@redhat.com> * grp/Makefile: Change Makefiles and tests to run only when necessary. * malloc/Makefile: Likewise. * malloc/tst-mtrace.sh: Likewise. * posix/Makefile: Likewise. * posix/globtest.sh: Likewise. * posix/wordexp-tst.sh: Likewise. * string/Makefile: Likewise.
* Update.Ulrich Drepper2000-07-234-2/+9
| | | | | | | | 2000-07-22 Mark Kettenis <kettenis@gnu.org> * locale/findlocale.c (locale_file_list): Use __LC_LAST as array size instead of LC_ALL to take into account the new locale categories.
* Update.Ulrich Drepper2000-07-224-6/+12
| | | | | * intl/tst-translit.c (main): Update for now performed transliteration.
* Update.Ulrich Drepper2000-07-2210-26/+303
| | | | | | | | | | | | | | | | | | * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove remainders of hash table. * locale/categories.def: Remove remainders of transliteration hash table. * locale/langinfo.h: Likewise. * locale/programs/ld-ctype.c: Likewise. Fix code to write out transliteration tables. * locale/gen-translit.pl: New file. * locale/C-translit.h.in: New file. * locale/C-ctype.c: Include C-translit.h. Initialize transliteration data pointers with data from this file. * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h, and gen-translit.pl. Add rule to generate C-translit.h.
* Update.Ulrich Drepper2000-07-224-6/+24
| | | | | | | * stdio-common/vfscanf.c: Handle input -- with format %f correctly (it's no input error). * stdio-common/tstscanf.c: Add test case for format %f with input --. * stdio-common/scanf12.c: Correct expected result for first scanf.
* Update.Ulrich Drepper2000-07-222-3/+33
| | | | | | | 2000-07-22 Ulrich Drepper <drepper@redhat.com> * stdio-common/vfprintf.c (process_string_arg): Correct handling of multibyte character strings in %s format with precision.
* Update.Ulrich Drepper2000-07-222-1/+20
| | | | symbols and elements be named in reorder-after instructions.
* Update.Ulrich Drepper2000-07-222-7/+34
| | | | | | * locale/programs/ld-collate.c (collate_read): Allow collating symbols be named in reorder-after instructions. Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
* Update.Ulrich Drepper2000-07-225-129/+152
| | | | | | | * locale/programs/ld-collate.c (handle_ellipsis): Test for duplication with generated name, not the name of the first character. Patch by Yong Li <yong.li@asu.edu>.
* Update.Ulrich Drepper2000-07-224-9/+20
| | | | | | | 2000-07-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification. Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
* Update.Ulrich Drepper2000-07-222-4/+13
| | | | | | | | | | 2000-07-21 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller allocations only if a non-main arena cannot be extended. * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from UNCHECK_BOUNDS.
* Update.Ulrich Drepper2000-07-211-0/+5
| | | | | | | 2000-07-21 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (_dl_map_object): Take loader==NULL into account in DF_1_NODEFLIB handling.
* (_dl_map_object): Take loader==NULL into account in DF_1_NODEFLIB handling.Ulrich Drepper2000-07-211-2/+12
|
* Update.Andreas Jaeger2000-07-212-1/+5
| | | | | * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its own rule.
* Update.Andreas Jaeger2000-07-211-0/+4
| | | | | | 2000-07-21 Andreas Jaeger <aj@suse.de> * libio/fwide.c: Include <wchar.h> for prototype.
* Include <wchar.h> for prototype.Andreas Jaeger2000-07-211-0/+1
|
* * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset, Greg McGary2000-07-212-24/+29
| | | | | | | | | | | | | | | | set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot): Define in terms of chunk_at_offset. (inuse, set_inuse, clear_inuse): Define in terms of next_chunk. (next_bin, prev_bin): offset by size of real array elements. (chunk_align): Make `m' a scalar, since that's how it's used. * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset, set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot): Define in terms of chunk_at_offset. (inuse, set_inuse, clear_inuse): Define in terms of next_chunk. (next_bin, prev_bin): offset by size of real array elements. (chunk_align): Make `m' a scalar, since that's how it's used. 2000-07-21 Greg McGary <greg@mcgary.org>
* * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from UNCHECK_BOUNDS. Greg McGary2000-07-218-35/+75
| | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Wrap bounds around argv & envp and each of their string members. * sysdeps/powerpc/elf/start.S: Designate BP symbols. * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point symbol in BP_SYM (). Discard bounds of address arg. * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Discard bounds on address arg, add bounds to return value. 2000-07-21 Greg McGary <greg@mcgary.org> * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from UNCHECK_BOUNDS. * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Wrap bounds around argv & envp and each of their string members. * sysdeps/powerpc/elf/start.S: Designate BP symbols. * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point symbol in BP_SYM (). Discard bounds of address arg. * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Discard bounds on address arg, add bounds to return value.
* Rewrite rules to generate filtmod1.so.Ulrich Drepper2000-07-211-2/+5
|
* Update.Ulrich Drepper2000-07-215-2/+35
| | | | | | | * elf/Makefile (tests): Add filter. Add rules to generate filter. * elf/filter.c: New file. * elf/filtmod1.c: New file. * elf/filtmod2.c: New file.
* Update.Ulrich Drepper2000-07-215-2/+28
| | | | | | | | | | * elf/rtld.c: Define _dl_bind_not variable. (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not. * elf/dl-support.c: Likewise. * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not. * elf/dl-runtime.c (fixup): Don't remember looked up value if _dl_bind_not. (profile_fixup): Likewise.
* Update.Ulrich Drepper2000-07-214-9/+61
| | | | | | | | | | * libio/Makefile (routines): Add fwide. * libio/iofwide.c (_IO_fwide): Remove locking. This is done in fwide now. Internal calls to _IO_fwide must do locking themselves or don't need locking. * libio/fwide.c: New file. * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
* Update.Ulrich Drepper2000-07-212-7/+37
| | | | | * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
* Update.Ulrich Drepper2000-07-217-4/+89
| | | | | | | | | | | * elf/Makefile: Add no modules for nodelete test. * elf/nodelmod3.c: New file. * elf/nodelmod4.c: New file. * elf/nodelete.c: Also test case where dependency of dlopen() object is marked nodelete. * elf/nodlopen.c: New file. * elf/nodlopenmod.c: New file.
* Update.Ulrich Drepper2000-07-2126-721/+965
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen. * include/dlfcn.h: Define __RTLD_DLOPEN. * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set and this is a dlopen() call, do not load the binary. * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open. * dlfcn/dlopenold.c: Likewise. * configure.in: Add test for -z nodelete option. * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete. 2000-07-20 Mark Kettenis <kettenis@gnu.org> Make Hesiod NSS module thread-safe. * hesiod/README.hesiod: Update. * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r, _nss_hesiod_setprotoent, _nss_hesiod_endprotoent, _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r. * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and hesiod-proto. * hesiod/nss_hesiod/hesiod-init.c: New file. * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness. * hesiod/nss_hesiod/hesiod-grp.c: Likewise. * hesiod/nss_hesiod/nss_hesiod.h: New file. * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_getservbyport_r): New function. Provide support for looking up services by port number. * hesiod/nss_hesiod/hesiod-proto.c: New file. * hesiod/hesiod.c: Update from BIND 8.2.3-T5B. * hesiod/hesiod.h: Likewise. * hesiod/hesiod_p.h: Likewise. 2000-07-20 Mark Kettenis <kettenis@gnu.org> Fix problems with `struct __res_state' getting too big. * resolv/resolv.h (struct __sockaddr_in): New definition. (struct __res_state): Use __sockaddr_in instead of sockaddr_in in the private parts of the structure to save some space. * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to (struct sockaddr_in *) in call to sock_eq. Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns]. 2000-07-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* Fix typos.Ulrich Drepper2000-07-211-2/+2
| | | | | * pthread.c (pthread_initialize): Don't use sysconf to determine 2000-07-18 Kaz Kylheku <kaz@ashi.footprints.net>
* Update.Ulrich Drepper2000-07-219-2/+184
| | | | | | | | | | | | * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)). (tests-nodelete-yes): Define. (modules-names): Add $(modules-nodelete-$(have-z-nodelete)). Add rules to build nodelete and modules. * elf/nodelete.c: New file. * elf/nodelmod1.c: New file. * elf/nodelmod2.c: New file. * configure.in: Add test for -z nodelete option. * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
* Update.Ulrich Drepper2000-07-2014-27/+179
| | | | | | | | | | | | | | | | | | | | | | | * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries. * elf/dl-close.c (_dl_close): Don't close an object if it is marked with nodelete. * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter to _dl_map_object. Return immediately if no object loaded. Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed. * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry if it exists into l_flags_1 word. * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use it to determine whether loading is wanted or not. (_dl_map_object): Likewise. Call _dl_map_object_from_fd with new parameter. * sysdeps/generic/ldsodefs.h: Update prototype. * elf/dl-deps.c: Add new parameter to _dl_map_object calls. * elf/rtld.c: Likewise. * elf/Makefile (tests): Add noload. Add rules to generate noload. * elf/noload.c: New file. * include/link.h (struct link_map): Add l_feature_1 and l_flags_1. * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE. * sysdeps/mips/bits/dlfcn.h: Likewise.