aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
1995-12-06Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951206Roland McGrath
* misc/Makefile (headers): Add error.h, err.h. (routines): Add error, err. (gpl2lgpl): New variable. * misc/err.c: New file. * misc/err.h: New file. * misc/error.c, misc/error.h: New files. * sysdeps/mach/hurd/ioctl.c: Fix typo in last change. * Makeconfig (+link): Translate libc% from $^, not just libc.a. (link-libc): Append $(libc.so-version) to libc.so. (built-program-cmd): Fix comma usage. * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a symlink to libc.so in the build directory. * Rules ($(others) $(tests)): Depend on the library that appears in $(link-libc). (%.out): Use $(built-program-cmd) in commands. * posix/unistd.h [__USE_MISC]: Declare brk, sbrk. * sysdeps/generic/setenv.c: Added canonical portability cruft. (setenv): Use realloc on LAST_ENVIRON instead of always copying. (unsetenv): New function. * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv. * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv. * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose.
1995-12-06(transformbasename): Fix misspelling in initialization.cvs/make-3-74-3cvs/make-3-74-2cvs/make-3-74-1Paul Eggert
1995-12-06Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/error.cRoland McGrath
1995-12-05Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>Roland McGrath
* libio/Makefile [routines]: Remove iofscanf, add iopopen, pclose. * libio/iofscanf.c: Remove file. * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string termination. * libio/iopopen.c: New file from GNU libio. * libio/memstream.c: Fixed bug in fclose handling. Instead of providing a close callback we need a finish callback. * libio/pclose.c: New file. Derived from popen.c in GNU libio. * posix/gnu/types.h: Fixed typo. * stdio-common/errnobug.c: fputs returns EOF in error case. Do not test for != 0. * stdio-common/printf-parse.h (parse_one_spec): Do not force padding with ' ' if precision is given. Fix by HJ Lu. * stdio-common/printf_fp.c: Fix comment. * stdio-common/tfformat.c, stdio-common/tiformat.c, stdio-common/tstdiomisc.c: New files from GNU libio test suite. * stdio-common/tstgetln.c: Provide ssize_t type when testing libio. * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc. (vfprintf): Cleasr args_type array before using it. When printing 0 as an integer with precision 0 nothing must be written for the number. Based on patch by HJ Lu. * stdio-common/vfscanf.c: Remove fixed input buffer. Now we have a dynamically extended buffer. * stdlib/strtod.c: Merge with version in Linux libc. This fixes some bugs with handling of very small numbers and has different solution for formaer patches. * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename macros r1 and r2 to t1, and t2 resp. This is necessary because glibc headers also define r1. Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> * libio/Makefile [routines]: Remove iofscanf, add iopopen, pclose. * libio/iofscanf.c: Remove file. * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string termination. * libio/iopopen.c: New file from GNU libio. * libio/memstream.c: Fixed bug in fclose handling. Instead of providing a close callback we need a finish callback. * libio/pclose.c: New file. Derived from popen.c in GNU libio. * posix/gnu/types.h: Fixed typo. * stdio-common/errnobug.c: fputs returns EOF in error case. Do not test for != 0. * stdio-common/printf-parse.h (parse_one_spec): Do not force padding with ' ' if precision is given. Fix by HJ Lu. * stdio-common/printf_fp.c: Fix comment. * stdio-common/tfformat.c, stdio-common/tiformat.c, stdio-common/tstdiomisc.c: New files from GNU libio test suite. * stdio-common/tstgetln.c: Provide ssize_t type when testing libio. * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc. (vfprintf): Cleasr args_type array before using it. When printing 0 as an integer with precision 0 nothing must be written for the number. Based on patch by HJ Lu. * stdio-common/vfscanf.c: Remove fixed input buffer. Now we have a dynamically extended buffer. * stdlib/strtod.c: Merge with version in Linux libc. This fixes some bugs with handling of very small numbers and has different solution for formaer patches. * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename macros r1 and r2 to t1, and t2 resp. This is necessary because glibc headers also define r1.
1995-12-04Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* stdlib/gen-mpn-copy (translations): Updated for new layout in GMP 1.910. * malloc/malloc.c (__malloc_initialize): Renamed from initialize; made global. (malloc): Caller changed. * malloc/realloc.c (realloc): Call __malloc_initialize if necessary, before checking hook. * malloc/malloc.h: Declare __malloc_initialize. * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself as integer_t arg in RPC.
1995-12-04Updated from ../=mpn/gmp-1.910Roland McGrath
1995-12-04 * config.guess: Recognize HP model 816 machines as having a ↵Linda A. Walsh
PA1.1 processor.
1995-12-04For IOC_VOID request, send ARG itself as integer_t arg in RPC.Roland McGrath
1995-12-03* sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.cvs/libc-951204cvs/libc-951203Roland McGrath
(_hurd_set_brk): Try to allocate more space when we run out. * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with zero and examine it again. * sysdeps/unix/sysv/linux/i386/brk.c: New file. * sysdeps/unix/sysv/linux/i386/brk.S: File removed. * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed. * sysdeps/unix/sysv/linux/dl-sysdep.c: New file.
1995-12-02Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951202Roland McGrath
* sysdeps/unix/sysv/linux/i386/sbrk.S: File removed. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]: Invoke this macro before calling DL_MAIN. * malloc/malloc.c (malloc): Do initialization here, before checking the hook. (_malloc_internal): Don't do it here.
1995-12-02(_dl_sysdep_start) [DL_SYSDEP_INIT]: Invoke this macro before calling DL_MAIN.Roland McGrath
1995-11-30* config.guess: Recognize Pentium under SCO.cvs/libc-951201Per Bothner
1995-11-30Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951130Roland McGrath
* libio/vsnprintf.c (__vsnprintf): Define as alias. * libio/iovsscanf.c (__vsscanf): Define as alias. * asprintf.c: Remove libio adaptation code added by drepper. * dprintf.c: Likewise. * printf.c: Likewise. * scanf.c: Likewise. * snprintf.c: Likewise. * sprintf.c: Likewise. * sscanf.c: Likewise. * vprintf.c: Likewise. * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper function. (vfscanf): Define unconditionally. * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use zero for value. * misc/getpass.c: Write a newline after reading the unechoed password.
1995-11-28Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951129cvs/libc-951128Roland McGrath
* posix/Makefile (routines): Add getsid. * sysdeps/unix/sysv/linux/getsid.S: New file. * sysdeps/mach/hurd/getsid.c: New file. * sysdeps/stub/getsid.c: New file. * posix/unistd.h [__USE_GNU]: Declare getsid.
1995-11-27* sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functionscvs/libc-951127Roland McGrath