Skip to content
Snippets Groups Projects
  1. Dec 06, 1995
    • Roland McGrath's avatar
      Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · edbba60a
      Roland McGrath authored
      	* 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.
    • Paul Eggert's avatar
    • Roland McGrath's avatar
  2. Dec 05, 1995
    • Roland McGrath's avatar
      Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> · 77a58cad
      Roland McGrath authored
      	* 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.
      77a58cad
  3. Dec 04, 1995
  4. Dec 03, 1995
    • Roland McGrath's avatar
      * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB. · 683158e0
      Roland McGrath authored
      	(_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.
      2 tags
      683158e0
  5. Dec 02, 1995
  6. Nov 30, 1995
  7. Nov 28, 1995
  8. Nov 27, 1995
  9. Nov 26, 1995
    • Roland McGrath's avatar
      Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · f45e34fc
      Roland McGrath authored
      	* libc-symbols.h (N_): New macro.
      f45e34fc
    • Roland McGrath's avatar
      Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> · cbd3dceb
      Roland McGrath authored
      	* assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
      	malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
      	resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
      	sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
      	sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
      	sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
      	sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
      	sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
      	strings.
      Sat Nov 25 02:48:47 1995  Ulrich Drepper  <drepper@gnu.ai.mit.edu>
      
      	* assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
      	malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
      	resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
      	sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
      	sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
      	sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
      	sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
      	sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
      	strings.
      cbd3dceb
    • Roland McGrath's avatar
      Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> · fbaad149
      Roland McGrath authored
      	* misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio.
      
      Thu Nov 23 02:21:55 1995  Ulrich Drepper  <drepper@gnu.ai.mit.edu>
      
      	* sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S:
      	New files.
      	* sysdeps/unix/sysv/linux/mman.h: Add prototypes for new functions
      	mlock, munlock, mlockall, and munlockall.
      fbaad149
  10. Nov 24, 1995
  11. Nov 23, 1995
    • Roland McGrath's avatar
      Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 42d2676e
      Roland McGrath authored
      	* sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias
      	for errno.
      
      	* stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as
      	alias for _IO_vfprintf.
      
      	* sysdeps/unix/sysv/linux/sockaddrcom.h: File removed.
      
      	* sysdeps/unix/sysv/linux/i386/init-first.c (init): Use
      	__fpu_control instead of ___fpu_control.
      	* sysdeps/unix/sysv/linux/i386/ieee_fpu.c
      	(___fpu_control): Renamed to __fpu_control.
      	* sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise.
      	* sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise.
      
      	* elf/dl-minimal.c: New file.
      	* elf/Makefile (rtld-routines): Add dl-minimal.
      	* elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail):
      	Functions moved to dl-minimal.c.
      	* sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc,
      	sigjmp_save, longjmp): Likewise.
      
      	* sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize
      	to &_end, regardless of PIC.
      
      	* stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn.
  12. Nov 22, 1995
    • Roland McGrath's avatar
      Tue Nov 21 14:12:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 1a3a58fd
      Roland McGrath authored
      	* malloc/malloc.c (align): Don't check contiguity and call abort.
      
      	* hurd/hurdsig.c (post_reply): Function removed.
      	(abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it.
      	Take single callback fn arg instead of reply port and type.
      	(_hurd_internal_post_signal): Callers changed.
      	Cache reply stub fn ptr in local var before UNTRACED might be changed.
      
      	* sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for
      	PROT_READ|PROT_WRITE copy mapping.  Pass a proper vm_inherit_t to
      	vm_map.
      
      	* elf/rtld.c (_dl_start): For --list, do output and exit before
      	relocating.
  13. Nov 21, 1995
  14. Nov 20, 1995
    • Roland McGrath's avatar
      Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 054cc4cc
      Roland McGrath authored
      	* Makeconfig (+includes): Add $($(stdio)-include).
      	(libio-include): New variable.
      
      	* stdlib/strtod.c: Put weak_symbol after function defn.
      	* stdlib/strtol.c: Likewise.
      
      	* configure.in (--enable-libio): If not present, set $stdio to
      	"default".  Move stdio/libio check to end, so sysdeps fragments
      	can affect it.  Reset $stdio to "stdio" if it's "default".
      	* sysdeps/unix/sysv/linux/configure: New file.
    • Roland McGrath's avatar
      Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> · 96aa2d94
      Roland McGrath authored
      	* libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c,
      	libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c,
      	libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
      	libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
      	libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
      	libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c,
      	libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c,
      	libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h,
      	libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c,
      	libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
      	libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c,
      	libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c,
      	libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c,
      	libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h,
      	libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c:
      	New files.  Slightly modified version from Linux libc.
      
      	* libio/memstream.c, libio/vdprintf.c: New files for functions not
      	(yet) part of GNU libio.
      
      	* libio/iofopncook.c: Implementation of `fopencookie', mainly written
      	by Per Bothner.
      
      	* stdio-common/getline.c: Adapted to libio.
      	* stdio-common/snprintf.c: Adapted to libio.
      	* stdio-common/vfprintf.c: Adapted to libio.
      	* stdio-common/vfscanf.c: Adapted to libio.
      	* sysdeps/posix/tempname.c: Adapted to libio.
      96aa2d94
  15. Nov 18, 1995
    • Roland McGrath's avatar
      Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · a5a81fec
      Roland McGrath authored
      	* sysdeps/generic/Makefile (make_siglist): Add missing backslash.
      
      	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New
      	function.
      
      	* hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror.
      	(_hurdsig_fault_init): Remove #if 0 from setting exception port.
      	Insert send right for SIGEXC before thread_set_special_port.
      	* hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror.
      	(_hurdsig_init): Remove #if 0 from setting exception port.
      
      	* sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use
      	HURD_MSGPORT_RPC macro.
      2 tags
      a5a81fec
  16. Nov 17, 1995
    • Roland McGrath's avatar
      Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 4cb20290
      Roland McGrath authored
      	* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New
      	function.
      	(_dl_sysdep_start): Move cleanup code there.
      
      	* Makeconfig (default-rpath): New variable.
      	(link-libc): Use it.
      	* elf/Makefile (ld.so): Pass -rpath=$(default-rpath).
      	* elf/rtld.c (_dl_rpath): New variable.
      	(_dl_start): Set it from rtld_map's DT_RPATH.
      	Call _dl_setup_hash on rtld_map.
      	(dl_main): Cache address of _exit in variable before relocating,
      	and use that in later calls.  Call _dl_sysdep_start_cleanup before
      	relocating.  Keep track of dependency order while loading; remove
      	rtld_map from chain, and reinsert in proper order if there is a
      	dependency on it.
      
      	* sysdeps/generic/Makefile (make_siglist): Pass
      	-DSIGNUM_H=... with config's signum.h location.
      	* sysdeps/generic/make_siglist.c: Include SIGNUM_H to define
      	signal numbers.
      	(HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c
      	(main): Deansideclize output.
      
      	* elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place
      	of DEFAULT_RPATH macro.
      	* elf/Makefile: Undo last change.
      
      	* sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop.
  17. Nov 16, 1995
    • Roland McGrath's avatar
      * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no · 8738e7f8
      Roland McGrath authored
      	error if weak.
      
      	* elf/Makefile (default-rpath): New variable.
      	(CPPFLAGS): Append -DDEFAULT_RPATH=....
      	* elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of
      	hard-coded "/lib:/usr/lib".
    • Roland McGrath's avatar
      Wed Nov 15 19:22:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · ec967c06
      Roland McGrath authored
      	* sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common
      	instead of stdio.
      	(_dl_sysdep_start): If passed user entry is zero and
      	EXEC_STACK_ARGS flag set, reset user entry to &_start.
      
      	* elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a
      	DT_HASH element.
      
      	* libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously
      	repeat weak decl using weak_symbol macro, in case using broken GCC
      	(<2.8).
      
      Wed Nov 15 18:49:55 1995  Ulrich Drepper  <drepper@ipd.info.uni-karlsruhe.de>
      
      	* sysdeps/i386/isnanl.c: New file.
      	* sysdeps/i386/isinfl.c: New file.
      ec967c06
  18. Nov 15, 1995
  19. Nov 14, 1995
  20. Nov 11, 1995
  21. Nov 10, 1995
    • Roland McGrath's avatar
      Fri Nov 10 14:15:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 75914335
      Roland McGrath authored
      	* hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0,
      	skip straight to pending check.  When UNTRACED, resume process
      	from suspension first.
      
      	* intl/Makefile (headers): New variable, libintl.h.
      	[gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl.
      	* configure.in: Check for --with-gettext arg.
      
      Fri Nov 10 13:51:30 1995  Richard Stallman  <rms@gnu.ai.mit.edu>
      
      	* malloc/malloc.c (get_contiguous_space): New function.
      	(morecore): Rewrite allocating new malloc info table.
      	(_malloc_internal): Use get_contiguous_space.
      
      Fri Nov 10 13:03:40 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
      
      	* hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass
      	_hurd_msgport to be destroyed.
      
      	* Makerules (installed-libcs): Filter out %_pic.a.
      
      	* hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post
      	to our msgport to take SIGTRAP, instead of _hurd_raise_signal.
      
      	* hurd/Makefile (user-interfaces): Add hurd/process_request.
      75914335
  22. Nov 09, 1995
    • Roland McGrath's avatar
      Wed Nov 8 16:31:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · d7435cd8
      Roland McGrath authored
      	* termios/Makefile (headers): Add sys/ttychars.h.
      	* termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite
      	for compatibility.
      
      	* signal/signal.h [__USE_BSD] (sig_t): New typedef.
      
      Wed Nov  8 15:12:47 1995  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>
      
      	* sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the
      	proc server that we are now traced.
      2 tags
      d7435cd8
  23. Nov 08, 1995
  24. Nov 07, 1995
    • Roland McGrath's avatar
      Tue Nov 7 12:29:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 86d2c878
      Roland McGrath authored
      	* elf/linux-compat.c: New file.
      	* elf/Makefile (distribute): Add linux-compat.c.
      	(generated): Add librtld.so.
      	[$(config-os)=linux*] (extra-objs): Add linux-compat.so.
      	[$(config-os)=linux*] (extra-objs): Add ld-linux.so.1.
      	(librtld.so): New target.
      	(ld.so, ld-linux.so.1): Make from librtld.so.
      
      	* elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init,
      	call our own DT_INIT if we have one (and then clear it).
      	(__dgettext): New weak function.
      
      	* intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy
      	by hand instead.
      
      	* sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa
      	instead of snprintf.
      
      	* sysdeps/mach/_strerror.c (_strerror_internal): Don't write
      	BUF[BUFLEN].
      
      	* elf/rtld.c (rtld_map): New static variable.
      	(_dl_start): Use a differently named local BOOTSTRAP_MAP for the
      	bootstrapping.  Then copy data into `rtld_map'.
      	(dl_main): Finish filling in rtld_map and link it into the chain,
      	instead of allocating a new structure.
      	(dl_main): Call _dl_compat_init if it is defined (use weak ref).
      
      	* elf/dlsym.c: Fix last change: move REF out of `doit'.
      
      
      	control.
      	using it.
      
      	and cwdir ports.
      	functions.
      	these.
      	$(libdir)(rtld-installed-name).
      
      	leading zeroes.
      
      	in the rhs.
      	pattern rule.
      
      
      	never know.
      	(fork): Use symbol_set_* macros for _hurd_fork_locks.
      	* sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error):
       	instead of unix/sysv.
      
      	-dynamic-linker.
      
      	(__printf_fp): Last arg ARGS is now `const void **const';
      
      	locale/C-ctype.c.
      	* sysdeps/mach/hurd/sigsuspend.c: Likewise.
      	* sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
      	alias gethostname.
      	setitmr
      	setpgrp
      	(_S_msg_get_exec_flags, _S_msg_set_exec_flags,
      	(abort_thread, abort_rpcs): Take same new arg and pass it through.
      86d2c878
    • Roland McGrath's avatar
      Mon Nov 6 16:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 51093422
      Roland McGrath authored
      	* elf/dlsym.c: Return the proper value, not just the defining
      	object's loadbase.
  25. Nov 06, 1995
  26. Nov 05, 1995
Loading