about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper1999-07-2719-3/+1071
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-07-26 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/clock_getres.c: New file. * sysdeps/generic/clock_gettime.c: New file. * sysdeps/generic/clock_settime.c: New file. * sysdeps/generic/timer_create.c: New file. * sysdeps/generic/timer_delete.c: New file. * sysdeps/generic/timer_getoverr.c: New file. * sysdeps/generic/timer_gettime.c: New file. * sysdeps/generic/timer_settime.c: New file. * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME. * sysdeps/mach/hurd/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS. * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and si_timer2. * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls. * time/Makefile (routines): Add clock_getres, clock_gettime, clock_setres, timer_create, timer_delete, timer_getoverr, timer_gettime, and timer_settime. * time/time.h: Define clockid_t, timer_t, and struct itimerspec for POSIX.1b. Add prototypes for clock and timer functions.
* Stub implementation of clock_getres.Ulrich Drepper1999-07-271-0/+30
|
* 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-261-0/+5
| | | | | * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS. Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
* 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-261-2/+2
| | | | | * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS. Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
* Update.Ulrich Drepper1999-07-262-16/+9
| | | | | * stdlib/wcstombs.c: Do not use global state. Reported by Bruno Haible <haible@ilog.fr>.
* Update.Ulrich Drepper1999-07-262-2/+5
| | | | | * wcsmbs/wctob.c: Avoid sign extension when returning character. Reported by Bruno Haible <haible@ilog.fr>.
* Update.Ulrich Drepper1999-07-262-1/+8
| | | | | | | | | 1999-07-26 Ulrich Drepper <drepper@cygnus.com> * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number of wide characters to convert do it right and don't overestimate by multiplying with MB_CUR_MAX. Reported by Bruno Haible <haible@ilog.fr>.
* Update.Ulrich Drepper1999-07-262-3/+9
| | | | | | | | 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz> * string/bits/string2.h (__strcpy_small): Avoid compile time warning. (__stpcpy_small): Likewise. Union has no __uc member but __c.
* Always define __qaddr_t. __ino64_t should be 32bit unsigned type on sparc32. ↵Ulrich Drepper1999-07-261-5/+5
| | | | Define __off64_t to __quad_t instead of __int64_t. Make __pic_pid_t unsigned on sparc32.
* 1999-07-26 Andreas Schwab <schwab@suse.de>Andreas Schwab1999-07-261-0/+4
| | | | * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
* * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.Andreas Schwab1999-07-261-0/+14
|
* Update.Ulrich Drepper1999-07-262-0/+5
| | | | | * libio/iofclose.c (_IO_new_fclose): Only fall back on _IO_old_fclose if doing versioning.
* Update.Ulrich Drepper1999-07-265-1/+52
| | | | | | * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle them appropriately. * libio/oldiofclose.c (_IO_old_fclose): Likewise.
* Update.Ulrich Drepper1999-07-263-6/+62
| | | | * misc/tst-mntent.c: Add test case for addmntent and getmntent.
* Update.Ulrich Drepper1999-07-262-12/+114
| | | | | * misc/mntent_r.c: Allow spaces and tabs in entry names by encoding these characters.
* Update.Ulrich Drepper1999-07-258-240/+417
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * string/bits/string2.h: Fix aliasing problems. * sysdeps/i386/i486/bits/string.h: Likewise. * sysdeps/i386/bits/string.h: Likewise. 1998-12-28 Geoff Keating <geoffk@ozemail.com.au> * sysdeps/powerpc/dl-machine.c: Handle shared library profiling. * elf/rtld.c (dl_main): Don't call malloc() between re-relocating the dynamic linker and running the application's crt0. 1999-07-21 Paul D. Smith <psmith@gnu.org> * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below glob.h to get __P() macro. * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax, not ANSI. (__strchrnul): This won't exist outside GLIBC, so create one. 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t. __ino64_t should be 32bit unsigned type on sparc32. Define __off64_t to __quad_t instead of __int64_t. Make __pic_pid_t unsigned on sparc32. 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug in bash 2.03. 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
* Update.Ulrich Drepper1999-07-252-0/+7
| | | | | | | 1999-07-25 Ulrich Drepper <drepper@cygnus.com> * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
* Update.Ulrich Drepper1999-07-252-4/+9
| | | | | * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory accesses.
* Update.Ulrich Drepper1999-07-252-33/+59
| | | | * resolv/res_send.c: Add locks for res_send and res_close use.
* Update.Ulrich Drepper1999-07-247-1/+80
| | | | | | | | | * elf/Makefile (dl-routines): Add preinit. * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next. * elf/link.h (struct link_map): Add new field l_preinitcount. * elf/dl-preinit.c: New file. * elf/dynamic-link.h: Initialize l_preinitcount. * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
* Update.Ulrich Drepper1999-07-248-81/+219
| | | | | | | | | | | | | | | | | | | | | | 1999-07-24 Ulrich Drepper <drepper@cygnus.com> * elf/dl-fini.c: Handle DT_FINI_ARRAY. * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount and l_initcount. * elf/dl-init.c: Handle DT_INIT_ARRAY. * elf/dynamic-link.h: Change parameters. Now only get link_map pointer. Calculate l_initcount. * elf/link.h (struct link_map): Add l_runpath_dirs. * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL. * elf/dl-load.c: Pretty print. (decompose_rpath): Take new parameter with info from where the path comes. Pass it the fillin_rpath. (_dl_init_paths): Initialize l_runpath_dirs. (_dl_map_object): Don't search using RPATHs if object has RUNPATH. Search using RUNPATH after LD_LIBRARY_PATH. * elf/dl-support.c: Adjust comment. * elf/rtld.c: Adjust help message.
* Update.Ulrich Drepper1999-07-241-0/+5
| | | | | | | 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol interface.
* (dl_main): Adopt to changed _dl_lookup_symbol interface.Ulrich Drepper1999-07-241-7/+4
|
* (OLCUC): use 1<<9, since that's what hurd is already usingRoland McGrath1999-07-242-2/+2
|
* 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-241-0/+7
| | | | | | | * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to match BSD value; previous value of 1<<8 was a typo. I bet nothing ever used this, so I'm not going to worry about compatibility. [__USE_GNU] (IUCLC, OLCUC): New macros.
* 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-242-6/+18
| | | | | | | * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to match BSD value; previous value of 1<<8 was a typo. I bet nothing ever used this, so I'm not going to worry about compatibility. [__USE_GNU] (IUCLC, OLCUC): New macros.
* Update.Ulrich Drepper1999-07-232-1/+6
| | | | * include/libintl.h: Undefine N_ and _ first to avoid warnings.
* Update.Ulrich Drepper1999-07-2314-111/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix/unistd.h: Move declaration of __libc_enable_secure to... * include/unistd.h: ...here. * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt. * elf/dl-deps.c (expand_dst): Likewise. * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW based on DT_FLAGS value. * elf/do-lookup.h: Remove reference_name parameter, add undef_map. Add test for symbols marked STV_HIDDEN. * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter, add undef_map. Compute reference_name locally. Update call to do_lookup. (_dl_lookup_symbol_skip): Likewise. (_dl_lookup_versioned_symbol): Likewise. (_dl_lookup_versioned_symbol_skip): Likewise. * elf/dl-libc.c: Update call to _dl_lookup_*symbol. * elf/dl-runtime.c: Likewise. * elf/dl-sym.c: Likewise. * elf/dl-symbol.c: Likewise. * elf/ldsodefs.h: Adjust prototypes. * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and handle appropriately. Add comment about DT_TEXTREL. * elf/dl-runtime.c: Likewise.
* Update.Ulrich Drepper1999-07-231-0/+15
| | | | | | | | | | | | | | | | | 1999-07-23 Ulrich Drepper <drepper@cygnus.com> * elf/elf.h: Add ET_LOOS and ET_HIOS. Add various EM_* constants. Add SHN_LOOS and SHN_HIOS. Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY. Add SHF_MERGE and SHF_STRINGS. (ElfXX_Sym): Update description of st_other field. Add STT_COMMON. Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER. Add STV_* macros. Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ. Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
* Add ET_LOOS and ET_HIOS. Add various EM_* constants. Add SHN_LOOS and ↵Ulrich Drepper1999-07-231-37/+91
| | | | SHN_HIOS. Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY. Add SHF_MERGE and SHF_STRINGS. (ElfXX_Sym): Update description of st_other field. Add STT_COMMON. Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER. Add STV_* macros. Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ. Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
* 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-2115-44/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/dl-reloc.c (_dl_reloc_bad_type): New function. * elf/ldsodefs.h: Declare it. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it instead of assert. (elf_machine_lazy_rel): Likewise. Take new arg MAP. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise. * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use _dl_reloc_bad_type instead of _dl_signal_error. * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
* 1999-07-20 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-07-212-14/+42
| | | | | | | | | | | * sysdeps/mach/_strerror.c: Include <libintl.h>. 1999-07-19 Roland McGrath <roland@baalperazim.frob.com> * hurd/hurdsig.c (_hurd_internal_post_signal): If a hurd_signal_preemptor matches but its `preemptor' field is null, use its `handler' field directly. This is to comply with behavior documented in <hurd/sigpreempt.h>.
* 1999-07-20 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-07-211-0/+1
| | | | * sysdeps/mach/_strerror.c: Include <libintl.h>.
* * libio/fileops.c (_IO_new_file_underflow): Set error indicatorAndreas Schwab1999-07-214-0/+10
| | | | | | | | when reading from write-only stream. * libio/oldfileops.c (_IO_old_file_underflow): Likewise. * libio/wfileops.c (_IO_wfile_underflow): Likewise. 1999-07-21 Andreas Schwab <schwab@suse.de>
* 1999-07-21 Andreas Schwab <schwab@suse.de>Andreas Schwab1999-07-211-0/+5
| | | | | * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is NULL.
* (output_hostent): Don't crash if h_aliases is NULL.Andreas Schwab1999-07-211-2/+3
|
* bad commitRoland McGrath1999-07-201-21/+0
|
* 1999-07-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-203-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/dl-reloc.c (_dl_reloc_bad_type): New function. * elf/ldsodefs.h: Declare it. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it instead of assert. (elf_machine_lazy_rel): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. 1999-07-21 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and <hurd/fd.h>. * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and <hurd/fd.h>. (__libc_write): Call __pwrite instead of __pread.
* * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.Roland McGrath1999-07-203-2/+5
| | | | * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
* 1999-07-20 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-07-203-4/+22
| | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in __vm_allocate calls. 1999-07-20 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call _hurd_fd_read with new OFFSET argument set to -1. (__stdio_write): Call _hurd_fd_write with new OFFSET argument set to -1. 1999-07-17 Roland McGrath <roland@baalperazim.frob.com> * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the descriptor table sent in the RPC.
* 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-201-0/+4
| | | | | * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the descriptor table sent in the RPC.
* 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>Andreas Schwab1999-07-202-1/+6
| | | | | * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by bill@taniwha.org [PR libc/1211].
* 1999-07-19 Andreas Schwab <schwab@suse.de>Andreas Schwab1999-07-2016-19/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libio/Makefile (routines): Add fwprintf. PowerPC has own version of w_sqrt.c and w_sqrtf.c. * math/w_sqrt.c: Moved to ... * sysdeps/generic/w_sqrt.c: ... here. * math/w_sqrtf.c: Moved to ... * sysdeps/generic/w_sqrtf.c: ... here. * Make-dist (generic-dirs): New variable. (try-sysdeps, +sysdep-names): Use it. * extra-lib.mk (all-$(lib)-routines): New variable. Use it instead of $(lib)-routines. * elf/Makefile (distribute): Add dl-cache.h. * db2/Makefile (distribute): Add all new files. * iconvdata/Makefile (distribute): Don't distribute CVS directory. * math/Makefile (distribute): Remove machine/endian.h, add math_ldbl.h. * stdio-common/Makefile (distribute): Add _itowa.h. * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h. * sysdeps/gnu/Dist: Add eval.c * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) = dlfcn]: Add to this instead of libdl-routines. * sysdeps/ieee754/ldbl-128/Dist: New file. * sysdeps/mach/hurd/Dist: Add siglist.h * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
* * libio/Makefile (routines): Add fwprintf.Andreas Schwab1999-07-201-3/+3
|
* Update.Ulrich Drepper1999-07-191-0/+2
| | | | | * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent, and getipnodebyname. The latter comes soon.
* Add prototypes for getipnodebyaddr, getipnodebyname, and freehostent.Ulrich Drepper1999-07-191-0/+17
|
* Remade for development-2.1.90Andreas Schwab1999-07-191-2/+2
|
* Update.Ulrich Drepper1999-07-191-1/+0
|
* Update.Ulrich Drepper1999-07-192-0/+4
| | | | | | * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed. >>>>>>> 1.2438
* Update.Ulrich Drepper1999-07-186-46/+183
| | | | | | | | | | | | | * inet/Makefile (routines): Add getipnodebyad and freehostent. * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent. * inet/freehostent.c: New file. * inet/getipnodebyad.c: New file. * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested. Add support for getipnode* functions. * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop. Set h_aliases to NULL and not to a pointer to an array with a NULL pointer following XNS 5.2.