about summary refs log tree commit diff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-081-0/+12
| | | | | | | | | | | | * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the arguments into the request message buffer inside `send_rpc' subfunction. We must repeat the marshalling when retrying the RPC after a SIGTTOU delivery. * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code path when there is no ctty port. * hurd/ctty-output.c (_hurd_ctty_output): Likewise. Move sigstate check inside loop so we recheck after handling a signal.
* Update.Ulrich Drepper1999-03-081-0/+6
| | | | | | | | 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and O_EXLOCK are BSD extensions. Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
* Update.Ulrich Drepper1999-03-081-0/+6
| | | | | | | | 1999-03-08 Ulrich Drepper <drepper@cygnus.com> * manual/signal.texi (Termination in Handler): Correct example. Install default handler before reraising the signal. Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
* 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-081-0/+5
| | | | | * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being null, in which case send an empty string.
* Update.Ulrich Drepper1999-03-081-0/+6
| | | | | | | | 1999-03-02 Mark Kettenis <kettenis@gnu.org> * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the backward compatibility EH functions to be linked when using gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
* Update.Ulrich Drepper1999-03-081-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change. /dev/pts status may change during runtime. 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last change. /dev/pts status can change during runtime. 1999-03-07 Thorsten Kukuk <kukuk@suse.de> * sunrpc/svc_tcp.c (readtcp): go into fatal error state if poll reports error. * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls, add some more sanity checks. * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for parser prototype. 1999-03-05 Thorsten Kukuk <kukuk@suse.de> * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops, change XDR_GETINT32/XDR_PUTINT32 to sue new functions. * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32. * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32. * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function for x_getint32. * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32. * nis/nis_print.c: Fix ctime argument for platforms where sizeof (time_t) != sizeof (int). 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
* 1999-03-07 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-03-071-0/+5
| | | | | * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use CLOCKS_PER_SEC instead of CLK_TCK.
* Update.Ulrich Drepper1999-03-051-0/+5
| | | | | | | * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember whether /dev/pts is available. * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of dev_pts_available.
* Update.Ulrich Drepper1999-03-051-0/+5
| | | | | | | 1999-03-05 Ulrich Drepper <drepper@cygnus.com> * posix/globtest.sh: Make common_objpfx path absolute and and db2 and hesiod directory to library path [PR libc/1007].
* Update.Ulrich Drepper1999-03-051-0/+5
| | | | | | | 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> * resolv/inet_addr.c (inet_aton): Don't allow componets > 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
* Update.Ulrich Drepper1999-03-041-0/+7
| | | | | | | | | 1999-03-05 Geoff Keating <geoffk@ozemail.com.au> * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup): DT_PLTGOT has already been relocated. (__elf_machine_fixup_plt): Likewise. Minor cleanups.
* 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-041-0/+4
| | | | * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
* Update.Ulrich Drepper1999-03-031-0/+5
| | | | | | | 1999-03-03 Ulrich Drepper <drepper@cygnus.com> * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes and fold string to uppercase [PR libc/1005].
* Update.Ulrich Drepper1999-03-031-0/+4
| | | | | | 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * elf/dl-load.c (lose): Fix return type.
* 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-031-0/+12
| | | | | | | | | | | | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros. * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set, set O_NOTRANS as well. (__hurd_file_name_lookup_retry): At successful end of lookup, if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if it is a translated node not owned by root. (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash on the file name passed to LOOKUP.
* Update.Ulrich Drepper1999-03-021-0/+5
| | | | | | | 1999-03-02 Ulrich Drepper <drepper@cygnus.com> * manual/time.texi (High Resolution Timer): Correct computation in example. Reported by jjf@devel.cemsys.com.
* Update.Ulrich Drepper1999-03-021-0/+5
| | | | | | | 1999-03-02 Philip Blundell <pb@nexus.co.uk> * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated.
* Update.Ulrich Drepper1999-03-011-0/+5
| | | | | | | * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>. 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* Update.Ulrich Drepper1999-03-011-0/+12
| | | | | | | | | | | | | | 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to uc_link which is the right name according to Unix98. Reported by Craig Metz [PR libc/1001]. * sysdeps/arm/sys/ucontext.h (ucontext): Likewise. * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise. * sysdeps/mips/sys/ucontext.h (ucontext): Likewise. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise. * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
* Update.Ulrich Drepper1999-03-011-0/+18
| | | | | | | | | | | | | | | | | | | | 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of @ifinfo. 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * iconvdata/Makefile: Always include iconv-rules, but disable rule to regenerate it if avoid-generated. * Makeconfig: Always include sys-dirs, but disable rule to regenerate it when avoid-generated. * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around rule to generate sysd-syscalls. * elf/Makefile (generated): Remove $(objpfx) from names.
* 1999-02-28 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-02-281-0/+11
| | | | | | | | | | | * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the actual length if the adress length is smaller than the input value. Change type of *LEN paramater to socklen_t. * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. * sysdeps/mach/hurd/accept.c (accept): Likewise. * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN paramater to socklen_t.
* 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-281-0/+6
| | | | | | * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request" msg_sig_post RPC (with SIGNO=0), rather than generating signal (again) with the RPC.
* 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-271-0/+16
| | | | | | | | | | | | | | | | * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs, __get_phys_pages): Cast &HBI to silence warning. * hurd/Makefile (routines): Add hurdchdir and hurdfchdir. * hurd/hurdchdir.c: New file. * hurd/hurdfchdir.c: New file. * sysdeps/mach/hurd/chroot.c: Call _hurd_change_directory_port_from_name to do the work. * sysdeps/mach/hurd/chdir.c: Likewise. * sysdeps/mach/hurd/fchdir.c: Call _hurd_change_directory_port_from_fd to do the work. * hurd/fchroot.c: Likewise. * hurd/hurd.h: Declare them.
* Update.Ulrich Drepper1999-02-271-0/+5
| | | | | | | 1999-02-27 Ulrich Drepper <drepper@cygnus.com> * elf/dl-load.c (lose): Add more comments to explain the `why'. (_dl_map_object): Remove redundant test.
* 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-271-0/+6
| | | | | | * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't try to _hurd_port_free a lower-numbered descriptor that was not in any fd_set.
* Update.Ulrich Drepper1999-02-261-0/+11
| | | | | | | | | | | | | 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype declaration for ____wcstod_l_internal. * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for __strtod_internal prototype. * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH] (____strtold_l_internal): Add prototype declaration. (__strtold_l): Call correct function.
* Update.Ulrich Drepper1999-02-241-0/+4
| | | | | | 1999-02-24 Ulrich Drepper <drepper@cygnus.com> * elf/elf.h: Add 32bit HPPA definitions.
* Update.Ulrich Drepper1999-02-241-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a non-checked heap is restored when malloc checking was requested by the user. (struct malloc_state): Add using_malloc_checking. (MALLOC_STATE_VERSION): Increment minor. (using_malloc_checking, disallow_malloc_check): New variables. (__malloc_check_init): Use them. (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so that it can the chunk is properly instrumented when malloc checking is enabled. Set the new using_malloc_checking field. (malloc_hook_ini): Correct signature when _LIBC is not defined. 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/i386/dl-librecon.h (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second time. * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main. Don't call elf_get_dynamic_info and _dl_setup_hash a second time if ld.so is the main program. * stdio-common/vfprintf.c (vfprintf): If precision or width is too
* Update.Ulrich Drepper1999-02-231-0/+6
| | | | | | | | 1999-02-23 Ulrich Drepper <drepper@cygnus.com> * stdio-common/vfprintf.c (vfprintf): If precision or width if too large for work_buffer, allocate new buffer. (printf_unknown): Likewise. [PR libc/988]
* Update.Ulrich Drepper1999-02-221-0/+6
| | | | | | | | 1999-02-22 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat instead of stat and fstat. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
* Update.Ulrich Drepper1999-02-221-0/+16
| | | | | | | | | | | | | | | | | | 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * elf/dl-error.c (_dl_signal_cerror): New function. (_dl_signal_error): Don't call receiver function. * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror instead of _dl_signal_error when reporting references to undefined symbols or versions. (_dl_lookup_versioned_symbol): Likewise. (_dl_lookup_versioned_symbol_skip): Likewise. * elf/dl-version.c (match_symbol): Likewise. * elf/ldsodefs.h: Declare _dl_signal_cerror. * misc/getttyent.c (getttyent): Release lock on stream later to also protect global variable zapchar.
* Update.Ulrich Drepper1999-02-221-0/+5
| | | | | | | 1999-02-22 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/clock.c: Don't test return value of __times [PR libc/990].
* Update.Ulrich Drepper1999-02-221-0/+6
| | | | | | | | 1999-02-21 David S. Miller <davem@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix parentheses in Feb 2 changes. * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
* Update.Ulrich Drepper1999-02-211-0/+4
| | | | | | 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/generic/glob.c (glob): Save previous errno.
* Update.Ulrich Drepper1999-02-211-0/+5
| | | | | | | 1999-02-21 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant lookup functions if it is too small.
* Update.Ulrich Drepper1999-02-201-0/+5
| | | | | | | * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created for tracing to the scope lists. * elf/do-lookup.h: Remove test for l_opencount == 0 after above change. DT_SYMTAB is always available according to ELF spec.
* Update.Ulrich Drepper1999-02-201-0/+4
| | | | | | * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup call test whether there is any scope left. (_dl_lookup_versioned_symbol_skip): Likewise.
* Update.Ulrich Drepper1999-02-201-0/+5
| | | | | | | * elf/Makefile (distribute): Add do-lookup.h. * elf/do-lookup.h: New file. Split out from dl-lookup.c. * elf/dl-lookup.c: Move do_lookup function in separate file and include the file twice, for handling versioning and without it.
* Update.Ulrich Drepper1999-02-201-0/+13
| | | | | | | | | | | | | | | | * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated. * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/mips/mips64/dl-machine.h: Likewise.
* Update.Ulrich Drepper1999-02-201-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL, DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry. (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether rel and rela relocations can both happen and skip one test if this is not possible. (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC appropriately. * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are already relocated. * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already relocated. * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated. (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument. (_dl_map_object): DT_STRTAB entry is already relocated. * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are already relocated. * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already relocated. * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and DT_VERSYM entries are already relocated. (profile_fixup): Likewise. * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace all users. (match_symbol): DT_STRTAB entry is already relocated. (_dl_check_map_versions): Likewise. Also fo DT_VERSYM. * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated. * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info. (find_needed): DT_STRTAB entry is already relocated. (dl_main): Pass extra argument to elf_get_dynamic_info. DT_STRTAB entry is already relocated. * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and DT_PLTGOT entries are already relocated. (elf_machine_rela): Likewise for DT_SYMTAB. * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already relocated. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise. (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB. * grp/initgroups.c (initgroups): If function in current module was successful don't stop but continue to process to get all the groups.
* Update.Ulrich Drepper1999-02-201-0/+4
| | | | | | * elf/dl-load.c (_dl_map_object_from_fd): Use global _dl_pf_to_proot array to convert p_flags value. * elf/dl-reloc.c (_dl_relocate_object): Likewise.
* Update.Ulrich Drepper1999-02-201-0/+8
| | | | | | | | | | 1999-02-20 Ulrich Drepper <drepper@cygnus.com> * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of loop to clear `info'. * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc do the work and don't use inline assembler.
* Update.Ulrich Drepper1999-02-191-0/+9
| | | | | | | | | | | 1999-02-19 Ulrich Drepper <drepper@cygnus.com> * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__. * elf/dl-load.c (lose): Make it a function at the toplevel, mark as noreturn, and prevent it from being inlined. Define LOSE appropriately. (_dl_map_object_from_fd): Compare all bytes in e_ident at once. Optimize decoding of p_flags for certain platforms.
* Update.Ulrich Drepper1999-02-191-0/+5
| | | | | | | 1999-02-19 Philip Blundell <pb@nexus.co.uk> * Makeconfig (link-libc): When doing a static link, make sure that libgcc.a is included both before and after libc.a.
* Update.Ulrich Drepper1999-02-191-0/+5
| | | | | | | 1999-02-18 Thorsten Kukuk <kukuk@suse.de> * nis/nss_compat/compat-spwd.c: Fix handling of default values for sp_warn, sp_inact, sp_expire and sp_flag.
* Update.Ulrich Drepper1999-02-191-0/+9
| | | | | | | | | | | * elf/link.h (link_map): Add l_dev and l_ino. * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly loaded shared object with all laoded objects. Initialize l_ino and l_dev in case it's new. * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main object. * elf/Makefile: Compile and run new test. * elf/multiload.c: New file.
* Update.Ulrich Drepper1999-02-181-0/+9
| | | | | | | | | | * nss/nsswitch.h (service_user): Change name field from const char * to char[0]. (name_database_entry): Likewise. * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation for change of `service_user'. (nss_getline): Adjust memory allocation for change of `name_database_entry'.
* Update.Ulrich Drepper1999-02-181-0/+3
| | | | | * catgets/catgets.c: Correctly handle NLSPATH from environment [PR libc/980].
* Update.Ulrich Drepper1999-02-181-0/+6
| | | | | | | | 1999-02-18 Ulrich Drepper <drepper@cygnus.com> * io/Makefile (routines): Add lock64. * io/Versions: Add lockf64 for GLIBC_2.1.1. * sysdeps/generic/lockf64.c: New file.
* Update.Ulrich Drepper1999-02-161-0/+4
| | | | | | | 1999-02-16 Ulrich Drepper <drepper@cygnus.com> * string/bits/string2.h: Only use strncmp optimization if count argument is constant.