summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-01-13Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960113Roland McGrath
* posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h. * posix/glob.c (glob): Add parens in glob call flags arg for GLOB_BRACE case. * string/string.h (strdupa): New macro. * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not terminator on empty set. From drepper.
1996-01-11Thu Jan 11 13:09:20 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960112Roland McGrath
* elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as referent for STB_LOCAL.
1996-01-11Wed Jan 10 10:11:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960111Roland McGrath
* time/africa, time/antarctica, time/asia, time/australasia, time/europe, time/northamerica, time/pacificnew, time/solar87, time/solar88, time/solar89, time/southamerica: Updated from ADO 96a.
1996-01-10Tue Jan 9 16:10:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960110Roland McGrath
* elf/dl-load.c (_dl_map_object_from_fd): After mapping first segment to find location, mprotect excess region to no access, don't munmap it. * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns KERN_NO_SPACE for fixed location, deallocate it and try again.
1996-01-09Mon Jan 8 17:43:23 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960109Roland McGrath
* locale/Makefile (lib-modules): Renamed hash to locfile-hash. * locale/hash.c: Renamed to locale/locfile-hash.c.
1996-01-08Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t, and cast STREAM to DIR * before passing to readdir and closedir.
1996-01-07Sat Jan 6 16:39:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960108cvs/libc-960107Roland McGrath
* Makefile (subdirs): Added db. * resolv/Makefile (routines): Add res_data. * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h: Updated from BIND 4.9.3 final release. * elf/dynamic-link.h (elf_get_dynamic_info): Handle processor-specific tags. (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag. * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros. * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM. * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record. * elf/dl-reloc.c (_dl_relocate_object): Call elf_machine_runtime_setup unconditionally, and pass it LAZY flag. * elf/dl-load.c: Fixed ELFMAG check to work for either byte order. Align end of load segment only to page size, not to segment alignment.
1996-01-06Fixed ELFMAG check to work for either byte order. Align end of load segment ↵Roland McGrath
only to page size, not to segment alignment.
1996-01-04Reverse order of arguments in getgroups call (in example) to match prototype.cvs/libc-960106cvs/libc-960105Jim Meyering
1996-01-04Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new preemption interface. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use _hurdsig_catch_memory_fault. * hurd/Makefile (headers): Add hurd/sigpreempt.h. (sig): Add catch-signal. * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Rewritten using a preempter in new interface. * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise. (_hurdsig_catch_memory_fault): New macro.
1996-01-04Wed Jan 3 20:23:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960104Roland McGrath
* hurd/catch-signal.c: New file. * hurd/intr-msg.c: When restarting RPC, fetch a new reply port. * hurd/hurdsig.c: Use new hurdfault.h interface. (abort_all_rpcs): Mutate return value to EINTR in threads whose replies we will wait for. * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we do ourselves last. Wed Jan 3 19:17:10 1996 Miles Bader <miles@gnu.ai.mit.edu> * sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments to auth_makeauth() in the right order. Wed Jan 3 17:19:04 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/generic/strsep.c: Rewritten. * sysdeps/mach/hurd/fork.c: Use a different workaround for the suspended page fault deadlock kernel bug: thread_abort our signal thread first thing after proc_dostop. * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to recognize rootness properly. * hurd/hurdsig.c: Use new signal preemption interface.
1996-01-04(_hurd_sig_post): When doing pgrp, make sure we do ourselves last.Roland McGrath
1996-01-04(__access): Put the uid/gid arguments to auth_makeauth() in the right order.Miles Bader
1996-01-04Rewritten.cvs/libc-960103Roland McGrath
1996-01-02* hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'.cvs/libc-960102Roland McGrath
(hurd_preempt_signals, hurd_unpreempt_signals): Decls removed. * hurd/hurd/sigpreempt.h: New file. * hurd/preempt-sig.c: Rewritten with new interface. * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal preempters being unwound past. * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85 release. * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD compatibility.
1996-01-02Tue Jan 2 00:50:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* misc/queue.h: New file, incorporated from 4.4BSD. * misc/Makefile (headers): Add queue.h. * posix/sys/types.h [__USE_BSD]: Include endian.h. * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE): New macros.
1995-12-29Thu Dec 28 10:21:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-960101cvs/libc-951231cvs/libc-951230cvs/libc-951229Roland McGrath
* sysdeps/generic/confname.h: Define all names as self-referential macros so #ifdef works. * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt of _hurd_signal_preempters[SIGNO].
1995-12-26Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951228cvs/libc-951227cvs/libc-951226Roland McGrath
* sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into EADDRINUSE. If translated node doesn't grok ifsock protocol, return EADDRINUSE. * sysdeps/mach/hurd/connect.c: Make address arg `const struct sockaddr_un *'. The redecl is kosher and avoids another variable for AF_LOCAL case. * sysdeps/mach/hurd/sendto.c: Likewise. * sysdeps/mach/hurd/bind.c: Likewise. * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union code for GCC >= 2.7; use __transparent_union__ for name safety; add several sockaddr flavors. (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in constructing the transparent union declarations. (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7). (bind, connect, sendto): Make the sockaddr argument use that.
1995-12-23* sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, notcvs/libc-951225cvs/libc-951224cvs/libc-951223Roland McGrath
old vector. * sysdeps/mach/hurd/setuid.c: Likewise.
1995-12-23Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com>Roland McGrath
* stdio-common/vfscanf.c: Correctly handle white space skipping. * stdio-common/Makefile (tests): Add bug11. * stdio-common/bug11.c: New file. Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com> * stdio-common/vfscanf.c: Correctly handle white space skipping. * stdio-common/Makefile (tests): Add bug11. * stdio-common/bug11.c: New file.
1995-12-22Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951222Roland McGrath
* sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the right thing. * sysdeps/mach/hurd/setgid.c: Likewise. * sysdeps/mach/hurd/setreuid.c: Likewise. * sysdeps/mach/hurd/setregid.c: Likewise. * sysdeps/mach/hurd/setegid.c: Likewise. * sysdeps/mach/hurd/seteuid.c: Likewise. * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before proc_dostop call to work around kernel paging bug. Thu Dec 21 12:19:32 1995 Miles Bader <miles@gnu.ai.mit.edu> * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid instead of putting it (and other uids) in the gids and leaving the old uids as is.
1995-12-22Peek __mach_task_self_ value before proc_dostop call to work around kernel ↵Roland McGrath
paging bug.
1995-12-21(__setuid): Actually add the new uid instead of putting it (and other uids) ↵cvs/libc-951221Miles Bader
in the gids and leaving the old uids as is.
1995-12-21Wed Dec 20 18:23:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* stdio/internals.c (flushbuf): If the target is -1, always discard the buffer of read data. Only set TWIDDLED flag in !ALIGNED case. Never increment target or offset when old value is -1.
1995-12-20Tue Dec 19 17:00:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951220Roland McGrath
* hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the pgrp changes.
1995-12-19Mon Dec 18 13:40:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951219Roland McGrath
* stdio/fread.c: Don't increment __offset when it's -1. * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit 0 in that case. * misc/err.c (vwarnx, vwarn): Fix major brainos. * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of inheritance.
1995-12-18Sun Dec 17 15:56:35 1995 Miles Bader <miles@gnu.ai.mit.edu>cvs/libc-951218Roland McGrath
* misc/getpass.c (getpass): Don't barf if getline returns a null BUF.
1995-12-17(getpass): Don't barf if getline returns a null BUF.Miles Bader
1995-12-17Sat Dec 16 10:33:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951217Roland McGrath
* Makerules: Use $(do-install-so) for installing shared objects. (do-install-so): New canned sequence. Make a symlink LIB.so after installing LIB.so.VERSION. * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS.
1995-12-16Fixed typo in IPPORT_WHOIS.Roland McGrath
1995-12-16(AViiON): Add ix86-dg-dguxcvs/libc-951216Stan Cox
1995-12-15(i*86*) Change [345] to [3456]Stan Cox
1995-12-15Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>cvs/libc-951215Roland McGrath
* stdio-common/Makefile (tests): Add bug10. * stdio-common/bug10.c: New file. From HJ Lu. * stdio-common/tstdiomisc.c: Make more test-suite like: exit status tells about successful run. * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check format correctness. Correct handling of trailing white spaces in format + EOF. Fri Dec 15 01:31:56 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> * stdio-common/Makefile (tests): Add bug8 and bug9. * stdio-common/bug8.c, stdio-common/bug9.c: New tests. * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling. * stdlib/strtod.c: Correct spelling: nominator -> numerator. Thanks to Jim Meyering. Sat Nov 25 06:05:12 1995 H.J. Lu <hjl@nynexst.com> * stdio-common/vfscanf.c: Always check width !=0. Correctly handle %%.
1995-12-14Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951214Roland McGrath
* posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t, and cast STREAM to DIR * before passing to readdir and closedir. Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply after aborting RPCs but before calling proc_mark_stop.
1995-12-14(_hurd_internal_post_signal: suspend): Reply after aborting RPCs but before ↵Roland McGrath
calling proc_mark_stop.
1995-12-13Accept *-*-ieee*.Ian
1995-12-12Regeneratedcvs/libc-951213cvs/libc-951212Roland McGrath
Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * posix/glob.c [! STDC_HEADERS]: Declare getenv. (glob): Avoid using function as value.
1995-12-12Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* posix/glob.c [! STDC_HEADERS]: Declare getenv. (glob): Avoid using function as value. * elf/rtld.c (dl_main): When mapping argument executable, set l_name to "", not l_libname. After loading DT_NEEDED library, set its l_type to lt_library. * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean VM_INHERIT. We can't handle MAP_INHERIT easily. Handle non-page-aligned addresses if congruent to offset. * elf/dl-init.c: Skip the initializer for l_type lt_executable with l_name "". Start at _dl_loaded; don't skip the first element. * elf/dl-load.c (MAP_FILE): Define to zero if undefined. (MAP_COPY): Define to MAP_PRIVATE if undefined. (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls. If file it ET_EXEC, set its l_type to lt_executable.
1995-12-12RegeneratedRoland McGrath
Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_TILDE, GLOB_NOMAGIC. (glob): Use stat instead of lstat to determine directoriness. * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE): New flag bits. (__GLOB_FLAGS): Include them. (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat, gl_stat.
1995-12-12(MAP_FILE): Define to zero if undefined. (MAP_COPY): Define to MAP_PRIVATE ↵Roland McGrath
if undefined. (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls. If file it ET_EXEC, set its l_type to lt_executable.
1995-12-12(powerpc-harris-powerunix): Add guess for port to new target.Per Bothner
1995-12-11Sun Dec 10 09:56:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951211Roland McGrath
* elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call.
1995-12-09Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951210cvs/libc-951209Roland McGrath
* locale/error.c, locale/error.h: Files removed. * locale/Makefile (distribute): Remove error.h. (lib-modules): Remove error. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty" magic, return ENXIO if no ctty. * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous mapping if vm_map fails for that reason. * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_TILDE, GLOB_NOMAGIC. (glob): Use stat instead of lstat to determine directoriness. * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE): New flag bits. (__GLOB_FLAGS): Include them. (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat, gl_stat. * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros. * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to define all the bit values. (MAP_*, MCL_*): Macros removed.
1995-12-08Thu Dec 7 02:27:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951208Roland McGrath
* resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c: Updated from BIND 4.9.3-BETA27. Wed Dec 6 18:44:01 1995 Miles Bader <miles@gnu.ai.mit.edu> * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg. * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when we get a delayed reply. Only grab values out of entries in TYPES that have SELECT_RETURNED turned on, and turn it on whenever an rpc returns. Only clear bits in the user's fdsets -- those needing to be set should be already. Use SELECT_ALL in appropiate places. (SELECT_RETURNED, SELECT_ALL): New macros. Wed Dec 6 09:10:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/mach/hurd/sys/param.h (NBBY): New macro. * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro.
1995-12-07Updated from BIND-4.9.3-BETA27.Roland McGrath
1995-12-07(__select): Still clear the user's bits for an fd when SELECT_RETURNED ↵Miles Bader
isn't set. Only clear bits in the user's fdsets -- those needing to be set should be already. Use SELECT_ALL in appropiate places. (SELECT_ALL): New macro.
1995-12-06(__select): Swap size args to mach_msg.Miles Bader
1995-12-06(NBBY): New macro.Roland McGrath
1995-12-06(_GNU_GLOB_INTERFACE_VERSION): New macro.Roland McGrath
1995-12-06Recognize aof in the OS field.erich