kopensolaris-gnu/glibc.git
24 years agoWed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 17 Jul 1996 19:00:03 +0000 (19:00 +0000)]
Wed Jul 17 17:08:48 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* shlib-versions (*-*-*): Set libcrypt=0.
Wed Jul 17 02:43:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* shlib-versions (*-*-gnu*): Set libc=0.0

24 years agoWed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 17 Jul 1996 18:59:58 +0000 (18:59 +0000)]
Wed Jul 17 17:08:48 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* crypt/nocrypt.c: New file.
* Makefile (subdirs): Add crypt.
* crypt/Makefile: New file.

24 years agoWed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 17 Jul 1996 18:59:46 +0000 (18:59 +0000)]
Wed Jul 17 17:08:48 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* version.h (VERSION): Update to 1.93.

24 years agoWed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 17 Jul 1996 18:59:42 +0000 (18:59 +0000)]
Wed Jul 17 17:08:48 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makerules (soversions.mk): Move this target, include of it, and
include of version.mk to ...
* Makeconfig: ... here.
(soversions.mk): Depend on Makeconfig instead of Makerules.

24 years agoMerge linewrap changes
miles [Wed, 17 Jul 1996 18:46:54 +0000 (18:46 +0000)]
Merge linewrap changes

24 years ago(struct line_wrap_data): Make wmargin & point_col ssize_t.
miles [Wed, 17 Jul 1996 18:44:45 +0000 (18:44 +0000)]
(struct line_wrap_data): Make wmargin & point_col ssize_t.
(line_wrap_stream): Make wmargin ssize_t.
(line_wrap_point): Return 0 for a negative point_col.

24 years ago(line_wrap_stream): Make wmargin ssize_t.
miles [Wed, 17 Jul 1996 18:43:52 +0000 (18:43 +0000)]
(line_wrap_stream): Make wmargin ssize_t.

24 years ago(lwupdate):
miles [Wed, 17 Jul 1996 18:37:00 +0000 (18:37 +0000)]
(lwupdate):
  Fix boundary condition where a word extends right up to rmargin.
  When we've done a word wrap and output the wrap margin, set point_col to
    wmargin.
  Use negative point_col to deal with a wmargin of 0.
(line_wrap_point):
  Return 0 for a negative point_col.

24 years agoUpdated from ../gpl2lgpl.sed
roland [Wed, 17 Jul 1996 18:00:33 +0000 (18:00 +0000)]
Updated from ../gpl2lgpl.sed

24 years agoTue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Wed, 17 Jul 1996 16:14:42 +0000 (16:14 +0000)]
Tue Jul 16 01:52:42 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
sysdeps/i386/dl-machine.h.

24 years agoTue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Wed, 17 Jul 1996 16:14:23 +0000 (16:14 +0000)]
Tue Jul 16 00:14:07 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
to the strong name, not the file name.

24 years agoTue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> libc-960717
roland [Wed, 17 Jul 1996 03:54:59 +0000 (03:54 +0000)]
Tue Jul 16 16:43:58 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* csu/initfini.c: More magic.  Detect if .end is produced and put it
in the output iff the compiler does.

24 years ago.
roland [Wed, 17 Jul 1996 03:34:06 +0000 (03:34 +0000)]
.

24 years agoTue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 17 Jul 1996 03:33:51 +0000 (03:33 +0000)]
Tue Jul 16 16:43:58 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
because that is broken on alpha.

24 years ago.
roland [Tue, 16 Jul 1996 21:19:13 +0000 (21:19 +0000)]
.

24 years agoTue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 16 Jul 1996 21:18:57 +0000 (21:18 +0000)]
Tue Jul 16 16:43:58 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makerules (make-link): Install the new link with atomic mv -f in
case ln itself requires the library being installed.

24 years agoTue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 16 Jul 1996 21:18:53 +0000 (21:18 +0000)]
Tue Jul 16 16:43:58 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
call as in first.

24 years ago. libc-960716
roland [Tue, 16 Jul 1996 06:38:54 +0000 (06:38 +0000)]
.

24 years ago.
roland [Tue, 16 Jul 1996 06:38:43 +0000 (06:38 +0000)]
.

24 years agoTue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 16 Jul 1996 06:37:54 +0000 (06:37 +0000)]
Tue Jul 16 00:53:57 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
`nodename' member.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 16 Jul 1996 06:37:37 +0000 (06:37 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
instead of setting the DT_DEBUG pointer.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 16 Jul 1996 06:37:33 +0000 (06:37 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* csu/initfini.c (_init, _fini): Generate .end directives after
standalone prologues and filter them out from epilogues.

24 years ago1996-07-15 Paul Eggert <eggert@twinsun.com>
roland [Tue, 16 Jul 1996 06:12:48 +0000 (06:12 +0000)]
1996-07-15  Paul Eggert  <eggert@twinsun.com>

* strftime.c (strftime): Don't pass empty macro argument to `add'.

24 years agoTue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
roland [Tue, 16 Jul 1996 06:12:11 +0000 (06:12 +0000)]
Tue Jul 16 00:31:31 1996  Richard Henderson  <rth@tamu.edu>

* sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
i386/dl-machine.h of 960713.

24 years agoTue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
roland [Tue, 16 Jul 1996 06:12:08 +0000 (06:12 +0000)]
Tue Jul 16 00:31:31 1996  Richard Henderson  <rth@tamu.edu>

* sysdeps/generic/dl-sysdep.c:  Include <sys/mman.h>.
(_dl_sysdep_read_whole_file): Fix result variable declaration.

24 years agoMon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Tue, 16 Jul 1996 06:11:10 +0000 (06:11 +0000)]
Mon Jul 15 17:23:53 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
with pointer to local variable instead of NULL.

24 years agoSat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Tue, 16 Jul 1996 06:10:23 +0000 (06:10 +0000)]
Sat Jul 13 09:53:39 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
that are already added by other means.

24 years agoSat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Tue, 16 Jul 1996 06:10:19 +0000 (06:10 +0000)]
Sat Jul 13 09:53:39 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
caller column to get those syscalls added automagically.

24 years agoFix previous change. Use sed's y command instead. release-0-1
kwzh [Tue, 16 Jul 1996 04:47:46 +0000 (04:47 +0000)]
Fix previous change.  Use sed's y command instead.

24 years agoUse portable tr syntax.
kwzh [Tue, 16 Jul 1996 03:53:55 +0000 (03:53 +0000)]
Use portable tr syntax.

24 years ago * config.guess (HP 9000/811): Recognize this as a PA1.1
law [Mon, 15 Jul 1996 17:20:52 +0000 (17:20 +0000)]
    * config.guess (HP 9000/811): Recognize this as a PA1.1
        machine.

24 years ago.
miles [Mon, 15 Jul 1996 16:30:04 +0000 (16:30 +0000)]
.

24 years ago(logout): Initialize DATA to a state that will make setutent_r happy.
miles [Mon, 15 Jul 1996 16:25:44 +0000 (16:25 +0000)]
(logout): Initialize DATA to a state that will make setutent_r happy.

24 years ago. libc-960715
roland [Mon, 15 Jul 1996 00:11:11 +0000 (00:11 +0000)]
.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 15 Jul 1996 00:10:49 +0000 (00:10 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makeconfig (rtld-installed-name): Set to ld.so.1.
* sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
removed.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 15 Jul 1996 00:06:00 +0000 (00:06 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* manual/Makefile (glibc-targets): Remove subdir_ from elts.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 15 Jul 1996 00:05:56 +0000 (00:05 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.

24 years agoGeneralize C90 alternative to all x90 machines.
tege [Sun, 14 Jul 1996 18:09:15 +0000 (18:09 +0000)]
Generalize C90 alternative to all x90 machines.

24 years ago.
roland [Sun, 14 Jul 1996 17:48:00 +0000 (17:48 +0000)]
.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 17:47:42 +0000 (17:47 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* MakeTAGS (extract): Pass --add-comments=TRANS.
* sysdeps/gnu/errlist.awk: Write comments into the output with the
descriptive paragraphs from the manual preceded by TRANS.

24 years ago(Error Codes): Add @comment about ED for losers you don't get the joke.
roland [Sun, 14 Jul 1996 17:45:20 +0000 (17:45 +0000)]
(Error Codes): Add @comment about ED for losers you don't get the joke.

24 years ago.
roland [Sun, 14 Jul 1996 13:20:46 +0000 (13:20 +0000)]
.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 13:20:12 +0000 (13:20 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
(_dl_start): Move RESOLVE defn inside this function and #include
"dynamic-link.h" a second time there.
[RTLD_START]: Move use of this after _dl_start function.

24 years ago.
roland [Sun, 14 Jul 1996 11:39:25 +0000 (11:39 +0000)]
.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 11:39:06 +0000 (11:39 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-reloc.c: Include "dynamic-link.h" at file scope.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 10:53:37 +0000 (10:53 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/rtld.c: Include <string.h>.
* elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
Conditionalize defns on [RESOLVE].
* elf/do-rel.h (elf_dynamic_do_rel): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
Instead use RESOLVE macro with same args.
(elf_machine_rel): Conditionalize defn on [RESOLVE].
* elf/dl-reloc.c (RESOLVE): New macro, define before including
"dynamic-link.h".  It replaces `resolve' local function.
* elf/dl-runtime.c: Likewise.
* elf/rtld.c: Likewise.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 10:53:18 +0000 (10:53 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
Conditionalize defns on [RESOLVE].
* elf/do-rel.h (elf_dynamic_do_rel): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
Instead use RESOLVE macro with same args.
(elf_machine_rel): Conditionalize defn on [RESOLVE].
* elf/dl-reloc.c (RESOLVE): New macro, define before including
"dynamic-link.h".  It replaces `resolve' local function.
* elf/dl-runtime.c: Likewise.
* elf/rtld.c: Likewise.

24 years ago.
roland [Sun, 14 Jul 1996 10:04:21 +0000 (10:04 +0000)]
.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 10:03:32 +0000 (10:03 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 09:31:59 +0000 (09:31 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-open.c (_dl_open): Force an indirect call for
_dl_relocate_object so there is no chance a PLT fixup will be done
and clobber _dl_global_scope before our call happens.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 09:21:13 +0000 (09:21 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
other targets.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 09:21:10 +0000 (09:21 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
to =t; must operate on top of fp reg stack, not second from top.
Correct input constraint to 0 from t; must be explicit when input and
output are the same register.
(floor): Use __volatile instead of volatile.
(ceil): Likewise.

24 years ago. libc-960714
roland [Sun, 14 Jul 1996 06:04:09 +0000 (06:04 +0000)]
.

24 years ago.
roland [Sun, 14 Jul 1996 06:03:54 +0000 (06:03 +0000)]
.

24 years agoFri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Sun, 14 Jul 1996 05:58:34 +0000 (05:58 +0000)]
Fri Jul 12 23:58:37 1996  Ulrich Drepper  <drepper@cygnus.com>

* manual/startup.texi: Document new getsubopt function.
* manual/examples/subopt.c: New example program for documenting
getsubopt function.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 05:56:57 +0000 (05:56 +0000)]
Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* manual/Makefile (glibc-targets): Variable and targets removed.
Sat Jul 13 23:50:17 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* manual/Makefile (lib): New phony target.  Depend on stamp files.
($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.

24 years agoSat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Sun, 14 Jul 1996 05:28:16 +0000 (05:28 +0000)]
Sat Jul 13 03:50:53 1996  Ulrich Drepper  <drepper@cygnus.com>

* misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
* misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
and `long double' versions can be generated.
* misc/qefgcvt.c, misc/qefgcvt_r.c: New files.  Define macros
so that included efgcvt{,_r}.c file generate `long double'
versions.
* stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
functions.

24 years agoSat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 05:28:12 +0000 (05:28 +0000)]
Sat Jul 13 20:04:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* socket/sys/socket.h (struct osockaddr): New type.

24 years agoFri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 14 Jul 1996 05:28:09 +0000 (05:28 +0000)]
Fri Jul  5 18:44:55 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
  shift amount for Jensen must be 5 not 4.

24 years agoSat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 05:27:54 +0000 (05:27 +0000)]
Sat Jul 13 20:17:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
removed.
(__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
Conditionalize defn on [! MAP_ANON].
* elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
on [! MAP_ANON].
* elf/rtld.c (dl_main): Likewise.
* elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
(_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.

24 years agoSat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 05:27:49 +0000 (05:27 +0000)]
Sat Jul 13 23:50:17 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* manual/Makefile (lib): New phony target.  Depend on stamp files.
($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.

24 years agoSat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 05:27:42 +0000 (05:27 +0000)]
Sat Jul 13 20:17:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
between MAP and its deps.
* elf/link.h: Fix decl.
* elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
colon-separated list of names, map those and pass vector of ptrs as
PRELOADS list to _dl_map_object_deps.
* elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
_dl_map_object_deps with empty preload list.
* elf/dl-open.c (_dl_open): Likewise.

24 years ago1996-07-13 Paul Eggert <eggert@twinsun.com>
roland [Sun, 14 Jul 1996 05:27:39 +0000 (05:27 +0000)]
1996-07-13  Paul Eggert  <eggert@twinsun.com>

* time/strftime.c (strftime): Use space padding for %e, %k, %l,
to match Emacs format-time-string specification.
(DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.

24 years agoFri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Sun, 14 Jul 1996 05:27:34 +0000 (05:27 +0000)]
Fri Jul 12 23:58:37 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/Makefile (routines): Add getsubopt.
* stdlib/stdlib.h: Add prototype for getsubopt.
* stdlib/getsubopt.c: New file.  Implement getsubopt function
to handle suboption parsing.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 14 Jul 1996 05:27:31 +0000 (05:27 +0000)]
Sat Jul 13 02:47:53 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* grp/initgroups.c (initgroups): Add groups that user is a member
  of, not the ones he is _not_ a member of.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 14 Jul 1996 05:27:26 +0000 (05:27 +0000)]
Sat Jul 13 02:47:53 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* stdlib/random.c (__random): Declare as int32_t to be in sync
with declaration.

24 years agoSat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 05:27:23 +0000 (05:27 +0000)]
Sat Jul 13 20:17:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.

24 years agoTue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 14 Jul 1996 05:27:20 +0000 (05:27 +0000)]
Tue Jul  9 19:08:05 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
syscall.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 14 Jul 1996 05:27:17 +0000 (05:27 +0000)]
Sat Jul 13 02:47:53 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.

24 years agoSat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Sun, 14 Jul 1996 05:27:13 +0000 (05:27 +0000)]
Sat Jul 13 03:50:53 1996  Ulrich Drepper  <drepper@cygnus.com>

* misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
* misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
and `long double' versions can be generated.
* misc/qefgcvt.c, misc/qefgcvt_r.c: New files.  Define macros
so that included efgcvt{,_r}.c file generate `long double'
versions.
* stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
functions.
Fri Jul 12 23:58:37 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/Makefile (routines): Add getsubopt.
* stdlib/stdlib.h: Add prototype for getsubopt.
* stdlib/getsubopt.c: New file.  Implement getsubopt function
to handle suboption parsing.

24 years agoSat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sun, 14 Jul 1996 05:27:09 +0000 (05:27 +0000)]
Sat Jul 13 20:17:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
between MAP and its deps.
* elf/link.h: Fix decl.
* elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
colon-separated list of names, map those and pass vector of ptrs as
PRELOADS list to _dl_map_object_deps.
* elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
_dl_map_object_deps with empty preload list.
* elf/dl-open.c (_dl_open): Likewise.
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
removed.
(__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
Conditionalize defn on [! MAP_ANON].
* elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
on [! MAP_ANON].
* elf/rtld.c (dl_main): Likewise.
* elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
(_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.

24 years agoSat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Sun, 14 Jul 1996 05:27:05 +0000 (05:27 +0000)]
Sat Jul 13 03:50:53 1996  Ulrich Drepper  <drepper@cygnus.com>

* manual/startup.texi: Document new getsubopt function.
* manual/example/subopt.c: New example program for documenting
getsubopt function.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 14 Jul 1996 05:27:01 +0000 (05:27 +0000)]
Sat Jul 13 02:47:53 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* misc/mntent.c (endmntent): Allow for NULL stream.  SunOS does
it that way.
Thu Jul 11 16:59:10 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* misc/mntent.c (addmntent): Seek to end of file before writing
  entry.  Return 1 on error, not -1.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 14 Jul 1996 05:26:58 +0000 (05:26 +0000)]
Sat Jul 13 02:47:53 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* socket/Makefile (headers): Add socketbits.h.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 14 Jul 1996 05:26:55 +0000 (05:26 +0000)]
Sat Jul 13 02:47:53 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* nss/nsswitch.c (known_compare): Make known_compare() a static
  instead of a local function.  The latter are difficult to debug
  and slow to execute on certain platforms.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 14 Jul 1996 05:26:50 +0000 (05:26 +0000)]
Sat Jul 13 02:47:53 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
  place of sizeof (dev).  The size of a literal string includes the
  NUL byte.

24 years ago. libc-960713
roland [Fri, 12 Jul 1996 02:01:17 +0000 (02:01 +0000)]
.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 12 Jul 1996 02:00:44 +0000 (02:00 +0000)]
Thu Jul 11 20:09:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* inet/getnetent_r.c: Define NEED_H_ERRNO.
* inet/getnetbynm_r.c: Likewise.
* inet/getnetent.c: Likewise.
* inet/getnetbyad_r.c: Likewise.
* inet/getnetbyad.c: Likewise.
* inet/getnetbynm.c: Likewise.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 12 Jul 1996 02:00:41 +0000 (02:00 +0000)]
Thu Jul 11 20:09:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
`struct timespec'.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 12 Jul 1996 02:00:36 +0000 (02:00 +0000)]
Thu Jul 11 20:09:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/generic/pselect.c: Include <sys/time.h>.

24 years agoUpdated from ../gpl2lgpl.sed
roland [Fri, 12 Jul 1996 00:46:31 +0000 (00:46 +0000)]
Updated from ../gpl2lgpl.sed

24 years agoUpdated from ../gpl2lgpl.sed
roland [Fri, 12 Jul 1996 00:46:20 +0000 (00:46 +0000)]
Updated from ../gpl2lgpl.sed

24 years ago.
roland [Fri, 12 Jul 1996 00:43:28 +0000 (00:43 +0000)]
.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 12 Jul 1996 00:43:12 +0000 (00:43 +0000)]
Thu Jul 11 20:09:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* math/Makefile (calls): Add s_frexp, s_ldexp.
(routines): Remove them and &f from here.

24 years agoThu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 12 Jul 1996 00:38:34 +0000 (00:38 +0000)]
Thu Jul 11 00:22:40 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
out before or'ing.

24 years agoThu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 12 Jul 1996 00:38:31 +0000 (00:38 +0000)]
Thu Jul 11 00:22:40 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/libm-ieee754/s_frexpl.c: New file.  `long double'
implementation of frexp() function.
* sysdeps/libm-ieee754/s_ldexpl.c: New file.  `long double'
implementation of ldexp() function.

24 years ago.
roland [Fri, 12 Jul 1996 00:20:03 +0000 (00:20 +0000)]
.

24 years ago.
roland [Fri, 12 Jul 1996 00:19:52 +0000 (00:19 +0000)]
.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 12 Jul 1996 00:11:53 +0000 (00:11 +0000)]
Thu Jul 11 20:09:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
and check it.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 12 Jul 1996 00:11:51 +0000 (00:11 +0000)]
Thu Jul 11 20:09:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-XXX.c: Comment fix.

24 years agoThu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 11 Jul 1996 23:52:08 +0000 (23:52 +0000)]
Thu Jul 11 18:20:44 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.

24 years agoThu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 11 Jul 1996 23:52:07 +0000 (23:52 +0000)]
Thu Jul 11 18:20:44 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-parse.c: Add comment about things to #define.
* nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
terminator char as an error.

24 years agoThu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 11 Jul 1996 23:52:04 +0000 (23:52 +0000)]
Thu Jul 11 18:20:44 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.

24 years agoWed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Thu, 11 Jul 1996 23:48:42 +0000 (23:48 +0000)]
Wed Jul 10 05:24:40 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* misc/mntent.c: Include <sys/types.h>.
(endmntent): Return 1 one success, 0 on failure.
(getmntent): Chop newline and ignore empty lines.

24 years agoThu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 11 Jul 1996 23:46:56 +0000 (23:46 +0000)]
Thu Jul 11 03:21:10 1996  Ulrich Drepper  <drepper@cygnus.com>

* catgets/gencat.c (write_out): Move code to determine new
best size out of inner loop.

24 years agoThu Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 11 Jul 1996 23:42:55 +0000 (23:42 +0000)]
Thu Jul 12 01:28:35 1996  Ulrich Drepper  <drepper@cygnus.com>

* nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
we return a pointer.

24 years agoThu Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 11 Jul 1996 23:42:52 +0000 (23:42 +0000)]
Thu Jul 12 01:28:35 1996  Ulrich Drepper  <drepper@cygnus.com>

* nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
of reentrant function.
(setup): Pass additional argument with function name we are
looking for.
(SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
new argument {SET,END,GET}FUNC_NAME_STRING.

24 years agoAdd MIT copyright notice. From gordoni@cygnus.com. make-3-75
djm [Thu, 11 Jul 1996 21:02:19 +0000 (21:02 +0000)]
Add MIT copyright notice.  From gordoni@cygnus.com.

24 years agoMon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> libc-960711
roland [Wed, 10 Jul 1996 14:42:15 +0000 (14:42 +0000)]
Mon Jul  8 21:18:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
differently based on [RTLD_BOOTSTRAP].
(elf_machine_rela): Use it instead of the fn ptr arg directly.

24 years ago. libc-960710
roland [Tue, 9 Jul 1996 23:17:59 +0000 (23:17 +0000)]
.