]> sourceware.org Git - glibc.git/log
glibc.git
27 years agoupdate from main archive 960829 cvs/libc-960830
Ulrich Drepper [Fri, 30 Aug 1996 00:58:28 +0000 (00:58 +0000)]
update from main archive 960829

Fri Aug 30 01:26:44 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/i386/Dist: Add close.S.
* sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
* sysdeps/unix/sysv/linux/alpha/Dist: Likewise.

* version.c: Add comment about where to report bugs to.
* catgets/gencat.c (usage): Likewise.
* db/makedb.c (usage): Likewise.
* locale/programs/locale.c (usage): Likewise.
* locale/programs/localedef.c (usage): Likewise.

* manual/socket.texi: A little bit better wording.

Thu Aug 29 18:03:06 1996  Ulrich Drepper  <drepper@cygnus.com>

* Makerules: Make sure directory exists before generating stamp file.
(BUILD_CFLAGS): Always refer to using $(..).
* manual/Makefile: Make sure directory exists before generating
  stamp file.
(make-target-directory): Add macro definition.
* sysdeps/generic/Makefile: Make sure directory exists before
  generating stamp file.

* Makefile (distribute): Add autolock.sh.  Reported by Fila Kolodny.

Tue Aug 27 10:06:22 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

When compiling in separate directory put objects into
subdirectories matching the source layout.
* Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
When looking for configparms try in $(common-objpfx).
Use $(common-objpfx)SUBDIR to find objects from other subdirectory
builds.
* Makerules: Add $(objpfx) to vpath list.
(make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
more than once.  All uses in dependency lists changed.
(+make-deps): Make target directory.
(sed-remove-objpfx): Substitute $(common-objpfx).
(do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
$(objpfx) instead of $(objdir) for cd command.
(O%-lib): Always find libc relative to $(..).
(subdir-stamps): Collect stamp files from subdirs.
(common-mostlyclean): Remove stub file in $(common-objpfx).
* MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
* Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
more than once.
($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
$(common-objfpx).  All uses in dependency lists changed.
(generated): Prepend $(..) to names.
* bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
from $@.
* nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
Use $(common-objpfx) instead of $(..) in dependencies.
* sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
$(common-objpfx) instead of $(..) and (objpfx).
* sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
(rpath-link): Likewise.
(rpcuserlibs): Likewise.
* sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
errlist.c in $(objpfx), not $(common-objpfx).
($(common-objpfx)s-proto.d): Special rule not covered by pattern
rule.
* sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
s-proto.d in $(common-objpfx), not $(objpfx).

Thu Aug 29 17:45:49 1996  Ulrich Drepper  <drepper@cygnus.com>

* nss/nsswitch.c (nss_dlerror_run): Free returned error
string.

Thu Aug 29 15:53:33 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
  implementation.
* sysdeps/libm-ieee754/e_atanhl.c: Likewise.
* sysdeps/libm-ieee754/e_remainderl.c: Likewise.
* sysdeps/libm-ieee754/e_scalbl.c: Likewise.
* sysdeps/libm-ieee754/s_asinhl.c: Likewise.
* sysdeps/libm-ieee754/s_cosl.c: Likewise.
* sysdeps/libm-ieee754/s_sinl.c: Likewise.
* sysdeps/libm-ieee754/s_tanhl.c: Likewise.
* sysdeps/libm-ieee754/s_tanl.c: Likewise.

* stdio-common/printf_fp.c (__printf_fp): Use default value '.' if

27 years ago*** empty log message ***
Thomas Bushnell, BSG [Thu, 29 Aug 1996 21:09:30 +0000 (21:09 +0000)]
*** empty log message ***

* sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
  spelling error of _hurd_itimerval.

27 years ago*** empty log message ***
Thomas Bushnell, BSG [Thu, 29 Aug 1996 19:45:04 +0000 (19:45 +0000)]
*** empty log message ***

* mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
   mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
  $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.

27 years ago*** empty log message ***
Thomas Bushnell, BSG [Thu, 29 Aug 1996 17:59:39 +0000 (17:59 +0000)]
*** empty log message ***

* hurd/hurdinline.c: Include "hurd.h" for function definitions too.

27 years ago*** empty log message ***
Thomas Bushnell, BSG [Thu, 29 Aug 1996 16:02:14 +0000 (16:02 +0000)]
*** empty log message ***

Thu Aug 29 12:00:30 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* stdio/fseek.c (fseek): Don't assume we know the file position;
  other handles may have changed it.  So set STREAM.__offset to -1
  before calling __stdio_check_offset to make sure we have a correct
  value.

27 years agoupdate from main archive 960828 cvs/libc-1-93 cvs/libc-960829 glibc-1.93
Ulrich Drepper [Thu, 29 Aug 1996 00:31:18 +0000 (00:31 +0000)]
update from main archive 960828

Thu Aug 29 00:28:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/printf_fp.c (__printf_fp): Use default value `.` if
  `decimal' char is 0.

* C-numeric.c (not_available): New constant.
(_nl_C_LC_NUMERIC): Use `not_available' for grouping value.

* nss/nsswitch.conf: Example configuration file.
* nss/db-Makefile: Example Makefile for generation of databases
for nss_db.
* nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.

1996-08-28  Paul Eggert  <eggert@twinsun.com>

* C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
  noexpr to "^[nN]"; this conforms to POSIX.2.

* C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
  conform to POSIX.2.

1996-08-28  Paul Eggert  <eggert@twinsun.com>

* C-monetary.c (not_available): New constant.
(_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
  mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
  p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
  n_sign_posn to CHAR_MAX, as required by the POSIX Standard.

Wed Aug 28 23:12:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* nss/nss_db/db-XXX.c: Correct function names.  They must be
`_nss_db_*' instead of `_nss_files_*'.
(lookup): `parse_line' returns 1 if succesful.
* nss/nss_files/files-service.c (servbyname): Key for database
must also contain protocol names.
(servbypt): Likewise.
Test must also check for protocol.  Add `proto' argument.

Tue Aug 27 09:56:13 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
first one.

Fri Aug 16 16:11:25 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
  EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
  like ECONNREFUSED already does.
(_nss_dns_gethostbyaddr_r): Likewise.
* nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
(_nss_dns_getnetbyaddr_r): Likewise.

* sysdeps/mach/hurd/socket.c (socket): For message transmission
  and RPC errors that indicate that the socket server is not really
  present and able to do its job, turn the error into EPFNOSUPPORT.

* sysdeps/generic/sbrk.c (__sbrk):  Get kernel brk address
always only if in static libc or if statically linked program
uses libc.so.

27 years agoUpadte. cvs/libc-960828 cvs/libc-ud-960827
Ulrich Drepper [Wed, 28 Aug 1996 00:26:07 +0000 (00:26 +0000)]
Upadte.

Tue Aug 27 17:45:21 1996  Ulrich Drepper  <drepper@cygnus.com>

* Makerules: Add some test for correct version of GNU Make.

* io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
* sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.

* sysdeps/generic/dl-sysdep.c: Initialize break address to
avoid overwriting last page (OK, Roland).

Tue Aug 27 16:20:37 1996  Ulrich Drepper  <drepper@cygnus.com>

* resolv/resolv.h: Update from BIND-4.9.5-T3A.
* resolv/arpa/nameser.h: Likewise.
* resolv/res_init.c: Likewise.
* resolv/res_debug.c: Likewise.
* resolv/res_mkquery.c: Likewise.

Tue Aug 27 15:47:04 1996  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-error.c (catch): Define errstring element not as const.
(_dl_catch_error): ERRSTRING argument is not const pointer.
Initialize *ERRSTRING and *OBJNAME separately.
* elf/link.h: Change prototype for `_dl_catch_error'.

* elf/dl-load.c (_dl_map_object): Use separate variable for
copied NAME to avoid `const' warning.

* elf/dlerror.c: Make `last_errstring' variable not const pointer.

* elf/rtld.c: Implement reading of /etc/ld.so.preload.  This
provides preloading even for SUID binaries.
Add some more casts to avoid signed<->unsigned warnings.

Tue Aug 27 15:40:28 1996  NIIBE Yutaka  <gniibe@mri.co.jp>

* posix/sys/types.h: Define loff_t.
* sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.

Mon Aug 26 16:31:33 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
being null; in that case don't touch the timer at all (but do
return something in OLD if necessary).

Mon Aug 26 13:35:16 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

* sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
  variable.
* sysdeps/i386/init-first.c: Likewise.
* sysdeps/stub/init-first.c: Likewise.

27 years agoUpdate 960827. cvs/libc-960827 cvs/libc-ud-960826
Ulrich Drepper [Tue, 27 Aug 1996 01:46:37 +0000 (01:46 +0000)]
Update 960827.

Mon Aug 26 22:22:17 1996  Ulrich Drepper  <drepper@cygnus.com>

* io/fcntl.h: Add definition for BSD F* macros.

* misc/init-misc.c (__init_misc): Make static.
* misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.

* configure.in: Add test for -fno-exception option of gcc.
* config.make.in: Add definition of have-no-exceptions.
* Makerules: Define no-exceptions based on have-no-exceptions.
* csu/Makefile: When translating initfini.c pass $(no-exceptions).
This is necessary for gcc >= ss-960816.

Mon Aug 26 17:16:48 1996  Richard Henderson  <rth@tamu.edu>

* sysdeps/alpha/dl-machine.h: Clear startup flag.

Fri Aug 16 21:17:50 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (o-iterator-doit): Simplify reference to autolock
script.

Fri Aug 16 21:17:50 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (o-iterator-doit): Simplify reference to autolock
script.

Sat Aug 24 15:27:41 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/mach/hurd/getcwd.c
(_hurd_canonicalize_directory_name_internal): After resizing the
buffer move the current contents to the end.  Correctly relocate
file name pointer to upper half of the buffer.

Mon Aug 26 15:49:59 1996  Ulrich Drepper  <drepper@cygnus.com>

* rtld.c (dl_main): Remove code to call ld.so initializer.  This
was introduced for compatibility with Linux ld.so and would not
be used anymore.  Now we don't have any good values to use as the
parameters to the initializer so simply remove it.

Sun Aug 25 18:25:52 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* gmon/gmon.c (ERR): Don't write the terminating NUL.

* sysdeps/posix/profil.c (profil): Disable the profiling timer at
first.
(profil_count): Use 64 bit arithmethic to avoid overflow.

* sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.

* sysdeps/generic/ftime.c: Likewise.

27 years agoRegenerated: autoconf configure.in cvs/glibc-1-93 cvs/libc-ud-960829
Ulrich Drepper [Tue, 27 Aug 1996 00:14:18 +0000 (00:14 +0000)]
Regenerated: autoconf  configure.in

27 years ago*** empty log message ***
Thomas Bushnell, BSG [Mon, 26 Aug 1996 20:34:42 +0000 (20:34 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Thomas Bushnell, BSG [Mon, 26 Aug 1996 17:39:10 +0000 (17:39 +0000)]
*** empty log message ***

27 years agohandle password file locking. cvs/libc-960826
Ulrich Drepper [Mon, 26 Aug 1996 10:28:45 +0000 (10:28 +0000)]
handle password file locking.

27 years agoUpdate. cvs/libc-ud-960825
Ulrich Drepper [Mon, 26 Aug 1996 00:14:11 +0000 (00:14 +0000)]
Update.

Mon Aug 26 02:01:37 1996  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-open.c (_dl_open): Call library initializer with
correct command line arguments and environment information.
* elf/rtld.c (dl_main): Provide arguments to initializer of
ld.so itself.

Sun Aug 25 19:15:46 1996  Ulrich Drepper  <drepper@cygnus.com>

* shadow/Makefile (routines): Add lckpwdf.
* shadow/lckpwdf.c: New file.

* sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
argument `cw' to be placed in memory.  Patch by Torbjorn Granlund.

Sun Aug 25 12:53:37 1996  Ulrich Drepper  <drepper@cygnus.com>

* configure.in: Add definition for `__eh_pc' and `__throw' in
test for --no-whole-archive.  The compiler generates dependencies
for this but none of the standard librares and startup files
are used.  Necessary for gcc >= ss-960816.

Sun Aug 25 01:31:33 1996  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-error.c (_dl_signal_error): If error is catched, malloc
return string since string might be on stack.
* elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
Wed Aug 21 10:14:59 1996.
* elf/dlerror.c (dlerror): Free error string after printing.
(_dlerror_run): If error string was not printed since last error
free string.
* rtld.c (dl_main): Free error string in case of error.

Sat Aug 24 03:16:47 1996  Ulrich Drepper  <drepper@cygnus.com>

* misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
  this changes the global state for `localtime' and `gmtime'.  Use
  `__localtime_r'/`__gmtime_r' instead.
* resolv/res_debug.c (__p_secstodate): Likewise.
* sysdeps/generoc/ftime.c: Likewise.
* sysdeps/posix/gettimeofday.c: Likewise.
Reported by Paul Eggert.

* time/gmtime.c: De-ANSI-fy.
* time/strftime.c: Don't call non-reentrant functions which change
  state.

Wed Aug 21 10:14:59 1996  Richard Henderson  <rth@tamu.edu>

* elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
than putting it on the stack.

Wed Aug 21 10:12:42 1996  Richard Henderson  <rth@tamu.edu>

* elf/rtld.c (dl_main): When looking up symbols in response to --list,
don't find .plt entries.

Mon Aug 19 23:18:12 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
_dl_starting_up.

Tue Aug 20 17:42:10 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* stdio/linewrap.c (line_wrap_stream): Initialize D->seek.

27 years agoAdd definition of __eh_pc and __throw to --no-whole-archive test program.
Ulrich Drepper [Sun, 25 Aug 1996 23:59:31 +0000 (23:59 +0000)]
Add definition of __eh_pc and __throw to --no-whole-archive test program.

27 years ago(line_wrap_stream): Initialize D->seek. cvs/libc-960821 cvs/libc-960822 cvs/libc-960823 cvs/libc-960824 cvs/libc-960825
Miles Bader [Tue, 20 Aug 1996 21:55:39 +0000 (21:55 +0000)]
(line_wrap_stream): Initialize D->seek.

27 years ago (\key): Typeset a lozenge around the argument (from gildea@intouchsys.com).
Karl Berry [Tue, 20 Aug 1996 18:37:11 +0000 (18:37 +0000)]
 (\key): Typeset a lozenge around the argument (from  gildea@intouchsys.com).

27 years agoupdate from main archive 960818 cvs/libc-960819 cvs/libc-960820
Ulrich Drepper [Mon, 19 Aug 1996 01:07:44 +0000 (01:07 +0000)]
update from main archive 960818

27 years agoUpdate. cvs/libc-ud-960818-early
Ulrich Drepper [Sun, 18 Aug 1996 14:47:31 +0000 (14:47 +0000)]
Update.

Sat Aug 17 12:19:37 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* login/pututline_r.c (__pututline_r): Fix handling of case where
  getutid_r() fails with ESRCH.  Reported by Miquel van Smoorenburg.

Wed Aug 14 14:10:54 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
  for "Jensen" so _bus_base() returns 0 on that platform.  Use
  _bus_base_sparse() to determine base address of sparse memory.

* sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
and declarations in __BEGIN_DECLS/__END_DECLS.

Sun Aug 18 13:37:09 1996  Ulrich Drepper  <drepper@cygnus.com>

* err.h: New file.  Wrapper around misc/err.h.

Correct solution of multiple initialization problem by
Roland McGrath.
* csu/initfini.c: Remove global variable __libc_is_static.
* elf/rtld.c: Introduce new global variable _dl_starting_up.
It's nonzero during the startup.
* elf/dl-open.c (_dl_open): When _dl_start function is not
available (i.e., if in static libc) set `__libc_multiple_libcs'
to nonzero value.
* sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
New global variable.
(init): Undo change of Fri Aug  2 03:12:40 1996.
Initialize `__libc_multiple_libcs' to nonzero only if this is
a shared lib called from a statically linked program and don't
call `personality' and `setfpucw' in this case either.
* sysdeps/generic/sbrk.c: Undo change of Fri Aug  2 03:12:40 1996.
Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
* sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
before jumping to user code.
* sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.

Fri Aug 16 04:59:01 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/init-first.c: Remove hack from
Thu Aug  8 12:40:20 1996.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
-fkeep-inline-functions flag instead.

27 years ago*** empty log message *** cvs/libc-960817 cvs/libc-960818
Thomas Bushnell, BSG [Fri, 16 Aug 1996 20:42:32 +0000 (20:42 +0000)]
*** empty log message ***

27 years agoupdate from main archive 960815 cvs/libc-960816
Ulrich Drepper [Fri, 16 Aug 1996 01:33:20 +0000 (01:33 +0000)]
update from main archive 960815

27 years agoUpdate.
Ulrich Drepper [Fri, 16 Aug 1996 00:23:04 +0000 (00:23 +0000)]
Update.

Fri Aug 16 01:24:33 1996  Ulrich Drepper  <drepper@cygnus.com>

* inet/ruserpass.c (userpass): Allocate buffer for .netrc file
name dynamically.  Reported by Alan Cox.
Uncomment warnings and mark as translatable.

* time/strftime (strftime): Add implementation for %s and %z
format.  Change behaviour for unknown format character: now
simply print it.  This matches the behaviour of printf.
Reported by Jim Meyering.
* manual/time.texi: Document all formats and flags of strftime.

Thu Aug 15 18:02:51 1996  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c (dl_main): Loaded object has type lt_executable,
not lt_library.

* misc/sys/select.h: Define fd_set using typedef, not #define.
Proposed by David Mosberger-Tang.

Thu Aug 15 12:48:21 1996  Ulrich Drepper  <drepper@cygnus.com>

* po/header.pot: Use real description line.

Thu Aug 15 04:42:44 1996  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c (dl_main): When started with --verify prevent
any warning.  Just exit with an error.
* elf/ldd.sh.in: Don't run given object directly.  This fails for
libraries.  Instead use $RTLD again.

* sysdeps/generic/sbrk.c (__sbrk):  Get kernel brk address
always only if in static libc or if statically linked program
uses libc.so.

27 years agoRegenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
root [Thu, 15 Aug 1996 23:44:33 +0000 (23:44 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi

27 years agoupdate from main archive 960814 cvs/libc-960815
Ulrich Drepper [Thu, 15 Aug 1996 01:23:29 +0000 (01:23 +0000)]
update from main archive 960814

27 years agoUpdate for manual changes. cvs/libc-ud-960815
Ulrich Drepper [Thu, 15 Aug 1996 00:14:23 +0000 (00:14 +0000)]
Update for manual changes.

Thu Aug 15 02:08:59 1996  Ulrich Drepper  <drepper@cygnus.com>

* manual/nss.texi: New file.  Document NSS.
* manual/nsswitch.texi: New file.  Example configuration.

* manual/string.texi: Document stpncpy, strdupa, and strndupa.
* manual/example/strdupa.c: New file.  Example for strdupa.

27 years agoUpdate.
Ulrich Drepper [Wed, 14 Aug 1996 21:45:21 +0000 (21:45 +0000)]
Update.

Wed Aug 14 21:36:16 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/strtod.c (STRTOD): Correct assertion about size of
wint_t and wchar_t.  Reported by David Mosberger-Tang.

Mon Aug 12 22:40:16 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
RELOC_ADDR and make NOPLT a set of flags.  All callers
changed.  Delete condition that checks for resolving to the
location being filled in.  Add condition to skip the
executable's symbols if requested.
* elf/link.h: Change declaration of _dl_lookup_symbol
accordingly.
(DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
* elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
NOPLT to FLAGS.
* elf/dl-runtime.c (RESOLVE): Likewise.
* elf/rtld.c (RESOLVE): Likewise.
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
reloc, zero otherwise.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.

Wed Aug 14 17:57:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* MakeTAGS: Clean up use of --omit-header and -n for xgettext.
* po/header.pot: Add empty line at end.

Sun Aug 11 13:45:33 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
  are now in $P/stdio-common.pot.
(XGETTEXTFLAGS-errlist.pot): Variable removed.

Mon Aug 12 19:25:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (do-ar, o-iterator-doit): Compute path to autolock
  script at run time, not configure time.
* config.make.in, configure.in: Undo previous change.

Wed Aug 14 13:20:02 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
on stack as argument for `_exit'.  Reported by Andreas Schwab.

Mon Aug 12 19:36:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/clone.S: New file.

Wed Aug 14 04:22:35 1996  Richard Henderson  <rth@tamu.edu>

* elf/dl-load.c (_dl_map_object): Save name in malloced memory.
(_dl_map_object_from_fd): Free name on error.

Wed Aug 14 13:00:09 1996  Ulrich Drepper  <drepper@cygnus.com>

* string/strdup.c: Use result of memcpy to avoid reloading.

Tue Aug 13 00:55:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
the other way round.

* resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
  inet_net_pton, inet_net.
* resolv/arpa/nameser.h (__BIND): Update version number.
Mon Aug 12 19:03:22 1996  Thomas Bushnell n/BSG  <thomas@psilocin.gnu.ai.mit.edu>

* sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.

* mach/Makefile (mach/mach_host.uh): Depend on
  $(objpfx)/mach-syscalls.mk.
($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
(This fixes a make loop; thanks to Marcus Daniels
  <marcus@sysc.pdx.edu> for the patch.)

27 years agoUpdated. cvs/libc-960814 cvs/libc-ud-960813
Ulrich Drepper [Wed, 14 Aug 1996 02:26:32 +0000 (02:26 +0000)]
Updated.

Tue Aug 13 20:51:21 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/canonicalize.c (canonicalize): Add cast to prevent
  warning.

* Makerules (o-iterator-doit): Use autolock.sh when running ranlib.

Tue Aug 13 18:26:45 1996  Ulrich Drepper  <drepper@cygnus.com>

* nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
  sorted.

Update from bind-4.9.5-T1A.
* resolv/Makefile (routines): Add inet_net_ntop, inet_net_pton,
  inet_net.
(libresolv-routines): Add base64.

* resolv/gethnamaddr.c: Include <sys/types.h>.
* resolv/getnetnamadr.c: Likewise.
* resolv/herror.c: Likewise.
* resolv/inet_addr.c: Likewise.
* resolv/nsap_addr.c: Likewise.
* resolv/res_comp.c: Likewise.
* resolv/res_data.c: Likewise.
* resolv/res_init.c: Likewise.
* resolv/res_mkquery.c: Likewise.
* resolv/res_query.c: Likewise.
* resolv/res_send.c: Likewise.

* resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
  value of sprintf.
* resolv/inet_ntop.c: Likewise.

* resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
Remove prototype of gethostbyname_ipv4.

* resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
  functions instead of BSD `b*' functions.

* resolv/nsap_addr.c: Add copyright message.

* resolv/res_comp.c: Remove comment explaining label format.
(res_mailok): Correct check.

* resolv/res_debug: Include missing headers.
(__fp_nquery): Handle `unused', `ad', and `cd' bits.
(__p_fqnname): New function to print FQDN from compressed name.
(__p_rr): Use __p_fqnname.  Correct printing of ".  Handle T_TXT
correctly.  Add handling of T_KEY and T_SIG.
Handle class and type names by using name arrays instead of
explicit `switch'es.
(__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
(__dn_count_labels, __p_secstodate): New functions.

* resolv/resolv.h (__RES): Update version number.
(res_sym): New type.
Add #defines for new functions.
Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
__p_secstodate, dn_count_labels.

* resolv/arpa/nameser.h (__BIND): Update verison number.
Add KEYFLAG_* and ALGORITHM_* symbols.
(HEADER): Add `ad' and `cd' flags.

* inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
and inet_net_pton.

* manual/maint.texi: Document that we use bind-4.9.5.
* INSTALL: Ditto.

Mon Aug 12 16:41:52 1996  Thomas Bushnell n/BSG  <thomas@gnu.ai.mit.edu>

        * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
        buffer is any longer than the amount necessary to hold the
        filename; the Hurd getcwd uses the *entire* contents of the
        buffer, however long it is specified to be.

27 years ago*** empty log message *** cvs/libc-960813
Thomas Bushnell, BSG [Mon, 12 Aug 1996 23:22:12 +0000 (23:22 +0000)]
*** empty log message ***

27 years agoFew last minute patches from main on 960811 cvs/libc-960812
Ulrich Drepper [Mon, 12 Aug 1996 03:00:59 +0000 (03:00 +0000)]
Few last minute patches from main on 960811

27 years agoLast minute change. cvs/libc-ud-960811-2
Ulrich Drepper [Mon, 12 Aug 1996 02:44:03 +0000 (02:44 +0000)]
Last minute change.

Mon Aug 12 04:33:09 1996  Ulrich Drepper  <drepper@cygnus.com>

* nss/nsswitch.c (__nss_database_lookup): Always release locks
  before returning.  Reported by Miles Bader.

(distributes): Add databases.def.

27 years agoUpdate. cvs/libc-ud-960811
Ulrich Drepper [Mon, 12 Aug 1996 01:42:37 +0000 (01:42 +0000)]
Update.

Mon Aug 12 03:31:58 1996  Ulrich Drepper  <drepper@cygnus.com>

* nss/nsswitch.c (__nss_configure_lookup):  New function.
Allows to specify services.
* nss/XXX-lookup.h: Rename database variable and make global.
* nss/databases.def: New file.  Real names of all databases.

* nss/nss.h: New file.  Contains declaration useful for users
and service developers.
* nss/nsswitch.h: Move some declarations to nss/nss.h.
* nss.h: New file.  Wrapper around nss/nss.h.

* nss/Makefile (headers): Add nss.h.
(distributes): Add databases.h.

Sun Aug 11 16:19:42 1996  Ulrich Drepper  <drepper@cygnus.com>

Help the poor people with fast machines by making sure only
one `ar' commands works on the library.
* autolock.sh: New file.  Written by Tom Tromey.
* Makerules (do-ar): Call autolock.sh shell script instead of
directly using `ar'.
* config.make.in: Make configuration variable AUTOLOCK which
gets initialized by configure.
* configure.in: Define variable AUTOLOCK to point to autolock.sh
script and mark it to substitute.

* string/Makefile: Add -fno-builtin for tst-strlen.c, too.

* elf/dl-lookup.c (_dl_lookup_symbol): Allow self-referencing.
Patch by David Mosberger-Tang.

Sun Aug 11 01:12:38 1996  Richard Henderson  <rth@tamu.edu>

* sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
startup by moving Icache flush from here ...
(ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
(ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.

* sysdeps/alpha/divrem.h: Update comment to reflect the actual
calling conventions.  The code is already correct.

Sun Aug 11 01:06:42 1996  Richard Henderson  <rth@tamu.edu>

* string/Makefile: Compile tester with -fno-builtin as we want to
test our implementations, not gcc's.

27 years agoUpdate to 960810. cvs/libc-960811 cvs/libc-ud-960810
Ulrich Drepper [Sun, 11 Aug 1996 01:08:23 +0000 (01:08 +0000)]
Update to 960810.

Sat Aug 10 13:17:27 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* shadow.h: New file.

* sysdeps/unix/sysv/linux/netinet/in.h: Move
  __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
  well.

* socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
g++ 2.7.2 (and earlier) has no transparent unions support.

Fri Aug  9 18:50:06 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
function to determine the base address of sparse bus memory.
(APECS_*): Rename to CIA_*.
(APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
(platform): Add sparse_bus_memory_base member and initialize.
(sparse_bus_memory_base): New variable.

Tue Aug  6 10:23:18 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/posix/ttyname_r.c (ttyname_r),
sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
!__isatty(fd) (POSIX.1 says so.)

* sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
   This is not a gross hack, after all---for compatibility,
  getlogin() really should check fd 0 only and not try to base its
  operation on the controlling tty.

Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
  change utmp_data from static to auto.

Sun Aug 11 02:56:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
Reported by David Mosberger-Tang.

27 years agoOne more update. cvs/libc-960810 cvs/libc-ud-960809
Ulrich Drepper [Sat, 10 Aug 1996 00:08:49 +0000 (00:08 +0000)]
One more update.

Sat Aug 10 02:05:28 1996  Richard Henderson  <richard@twiddle.tamu.edu>

* sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
alias to `__isnanl'.

27 years agoUpdate for 960809.
Ulrich Drepper [Sat, 10 Aug 1996 00:00:16 +0000 (00:00 +0000)]
Update for 960809.

Fri Aug  9 17:38:58 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
get `struct timeval'.
* sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
* sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
* sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
* sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
* gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
* sysdeps/unix/sysv/linux/direntry.h: Complete types in
<linux/dirent.h>.
* io/fts.h: Include <sys/types.h> to get dev_t.
Reported by Matthias Urlichs.

* sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
  _IO_file_flags.  It's the same as _flags.
Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.

Wed Aug  7 19:38:47 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.

27 years agoUpdate. cvs/libc-960809 cvs/libc-ud-960808
Ulrich Drepper [Fri, 9 Aug 1996 02:46:09 +0000 (02:46 +0000)]
Update.

Thu Aug  8 16:17:38 1996  Ulrich Drepper  <drepper@cygnus.com>

* pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
* pwd/getpwent_r.c: Likewise.
* pwd/getpwnam.c: Likewise.
* pwd/getpwnam_r.c: Likewise.
* pwd/getpwuid.c: Likewise.
* pwd/getpwuid_r.c: Likewise.

* grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
* grp/getgrent_r.c: Likewise.
* grp/getgrgid.c: Likewise.
* grp/getgrgid_r.c: Likewise.
* grp/getgrnam.c: Likewise.

* pwd/fgetpwent_r.c: New file.  Reentrant version of fgetpwent.
* pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
* pwd/Makefile (routines): Add fgetpwent_r.
* pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.

* grp/fgetgrent_r.c: New file.  Reentrant version of fgetgrent.
* grp/fgetgrent.c: Rewrite to use fgetgrent_r.
* grp/Makefile (routines): Add fgetgrent_r.
* grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.

Implement shadow password lookup functions.  This is no complete
shadow password suite.
* shadow/Makefile: New file.
* shadow/fgetspent.c: New file.
* shadow/fgetspent_r.c: New file.
* shadow/getspent.c: New file.
* shadow/getspent_r.c: New file.
* shadow/getspnam.c: New file.
* shadow/getspnam_r.c: New file.
* shadow/putspent.c: New file.
* shadow/sgetspent.c: New file.
* shadow/sgetspent_r.c: New file.
* shadow/shadow.h: New file.
* shadow/spwd-lookup.c: New file.
* shadow/nss_files/files-spwd.c: New file.

Thu Aug  8 13:33:45 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/ftime.c: New file.  Available system
  call is only a stub.
Reported by Matthias Urlichs.

* Makeconfig [!default_cflags]: Change default value from `-g'
to `-g -O'.

* configure.in: Recognize i686.
* sysdeps/i386/i686/Implies: Default on i586 optimized code.

Thu Aug  8 12:40:20 1996  Matthias Urlichs  <smurf@smurf.noris.de>

* Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
value of CFLAGS-.o, not CFLAGS-o.

* sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
pointer to ourself.  Otherwise `gcc -O3' optimized init away.

sure that all tables in binary file are word-aligned.

27 years agoUpdate. cvs/libc-960808 cvs/libc-ud-960807
Ulrich Drepper [Wed, 7 Aug 1996 23:50:59 +0000 (23:50 +0000)]
Update.

Thu Aug  8 01:41:43 1996  Ulrich Drepper  <drepper@cygnus.com>

* elf/Makefile: Undo change of Tue Aug  6 14:27:11 1996.
* elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.

Thu Aug  8 01:15:59 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
to 0x137f to allow long double operations.

Sun Aug  4 13:12:05 1996  Richard Henderson  <rth@tamu.edu>

Bug Fixes:

* nss/nsswitch.c (_res): Remove redundant variable definition.
The real one is in resolve/res_init.c, and having both prevents
using -fno-common when building the shared library.
* sunrpc/rpc_prot.c (_null_auth): Same.  Original is in rpc_common.c.

* sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
a .bss object not a COMMON symbol.

* sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
$gp before referencing __sigsetjmp symbol.  Retain LITUSE for same.

Optimizations:

* sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
main loop for better dual-issue on EV5.  Rearrange binary search to
pipeline better and trim one instruction.

Cosmetic Changes:

* time/localtime.c (localtime_r): Move lock declaration back next to
the comment where it was before the 960724 change.

* INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
The second word is supposed to be the hardware manufacturer.

* sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
* sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.

* sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.

* sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
Same cleanups as with EV4 GMP stuff.

Tue Jul 25 03:30:56 1996  Richard Henderson  <rth@tamu.edu>

* sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
* sysdeps/unix/sysv/linux/alpha/clone.S: New file.
* sysdeps/unix/sysv/linux/i386/clone.S: New file.

Sun Aug  4 00:12:41 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
`unsigned long'.

* misc/sys/select.h: Declare fd_mask as alias of __fd_mask.

Sat Aug  3 16:20:02 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
  Mikasa.

* socket/sys/socket.h (send, __send, sendto): Declare buffer
  pointer as __const.

* string/tester.c (main): Test stpncpy.

* sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
  segfault when called with an N that is not a multiple of four and
  src[N-1]=='\0'.

* misc/syslog.c (LogType): New variable.
(openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
  try again with SOCK_STREAM (the Linux syslogd uses a socket of the
  latter type).
(vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
  terminator as a record-delimiter.  If __send(LogFile) fails,
call closelog() so logfile gets re-opened next time.

Wed Aug  7 15:15:14 1996  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-open (_dl_open): Add cast to avoid warning.

* manual/memory.texi: Improve some examples to give readers better
advice: Use `stpcpy' instead of `strcat' if possible.
* manual/string.texi: Document `strtok_r' and `strtok'.

* sunrpc/Makefile: Move `+gccwarn' definition before inclusion
of Makeconfig.
[$(cross-compiling)=no]: Change test before making librpcsvc
to this from $(cross-compile).
Reported by Andreas Schwab.

Tue Aug  6 14:27:11 1996  Ulrich Drepper  <drepper@cygnus.com>

* elf/Makefile (routines): Move dl-sysdep to here...
(rtld-routines): ...from here.  This should make static linking
work again.

* locale/setlocale.c: Add local variable `lock' and add code to
`setlocale' to avoid simultaneous changing of global data.

* catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
* catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
`__fstat', `__read', `__mmap', `__munmap' and `__close' instead
of unprotected names.

27 years agoAnother correction. cvs/libc-960806 cvs/libc-960807 cvs/libc-ud-960805
Ulrich Drepper [Tue, 6 Aug 1996 00:29:58 +0000 (00:29 +0000)]
Another correction.

tcgetattr.  We have weak aliases now.
* stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
"optimizations" for random functions.

27 years agoCorrection.
Ulrich Drepper [Tue, 6 Aug 1996 00:28:41 +0000 (00:28 +0000)]
Correction.

  tcgetattr.  We have weak aliases now.
   * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
  "optimizations" for random functions.

27 years agoUpdate.
Ulrich Drepper [Tue, 6 Aug 1996 00:25:29 +0000 (00:25 +0000)]
Update.

Tue Aug  6 01:13:56 1996  Ulrich Drepper  <drepper@cygnus.com>

Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
This requires to rename several functions to use __ protected
names.
* dirent/dirent.h: Add prototypes of __opendir, __closedir,
and __readdir.
* sysdeps/mach/hurd/closedir.c: Prepend function name with __
and make old name a weak alias.
* sysdeps/mach/hurd/getrlimit.c: Likewise.
* sysdeps/mach/hurd/opendir.c: Likewise.
* sysdeps/mach/hurd/readdir.c: Likewise.
* sysdeps/stub/closedir.c: Likewise.
* sysdeps/stub/opendir.c: Likewise.
* sysdeps/stub/readdir.c: Likewise.
* sysdeps/unix/closedir.c: Likewise.
* sysdeps/unix/opendir.c: Likewise.
* sysdeps/unix/readdir.c: Likewise.

* sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.

* sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
`__closedir' instead of unprotected names.

* libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
instead of `isatty' since later is not part of ISO C.
* libio/fileops.c (_IO_file_fopen): Call `__open' instead of
`open' since later is not part of ISO C.

* login/endutent.c (endutent): Call `__endutent_r', not
`endutent_r'.
* login/endutent_r.c: Rename defined function to `__endutent_r',
make `endutent_r' weak alias.
* login/getutent.c (getutent): Call `__getutent_r', not
`getutent_r'.
* login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
* login/getutid_r.c: Rename defined function to `__getutent_r',
make `getutent_r' weak alias.
* login/getutline.c (getutline): Call `__getutline_r', not
  `getutline_r'.
* login/getutline_r.c: Rename defined function to `__getutline_r',
make `getutline_r' weak alias.
* login/pututline_r.c: Rename defined function to `__pututline_r',
make `pututline_r' weak alias.
* login/setutent.c (setutent): Call `__setutline_r', not
  `setutline_r'.
* login/setutent_r.c: Rename defined function to `__setutline_r',
make `setutline_r' weak alias.
Rename `utmpname' to `__utmpname' and make former weak alias.
(__utmpname): Call `__strdup', not `strdup'.
* login/utmp.h: Add prototypes for name space clean reentrant
versions.
* sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
and `__endutent_r' instead of unprotected names.

* math/math.h: Add prototype for `__matherr'.
* sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
of `matherr'.

* nss/getXXbyYY.c: Call __ protected reentrant function.
* nss/getXXent.c: Likewise.
* nss/getXXbyYY_r.c: Define `get*' function with __ protected
name.  Make usual name a weak alias.
* nss/getXXent_r.c: Likewise.

* posix/unistd.h: Add prototype for `__ttyname_r'.
* sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
and make `ttyname_r' a weak alias.

* resource/sys/resource.h: Add prototype for `__getrlimit'.
* sysdeps/stub/getrlimit.c: Prepend function name with __
and make old name a weak alias.
* sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
and make `getrlimit' weak alias.

* libc/stdio/stdio.h: Add prototype for `__vscanf'.
* libc/stdio/vscanf.c: De-ANSI-fy.
Rename function to `__vscanf' and make `vscanf' a weak alias.
* stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
  of `vscanf'.

* stdio-common/reg-printf.c: De-ANSI-fy.
Rename function to `__register_printf_function' and make
`register_printf_function' weak alias.

* stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
`wcsrtombs'.

* stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
* stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
* stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
* stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
* wcsmbs/mbrtowc.c: Prepend function name with __ and make old
  name a weak alias.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcrtomb.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/wchar.h: Add prototypes for __ protected versions.

* sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
instead of `sigprocmask'.

* grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
version getgrent_r, getgrgid_r, and getgrnam_r.
* pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
version getpwent_r, getpwuid_r, getpwnam_r and __ protected
names.
* resolv/netdb.h: Complete rewrite.  No more BSD ugliness.

* misc/error.c (private_strerror): Translate messages from table,
too.

* io/fcntl.h: Pretty printing.
* misc/fstab.h: Likewise.
* misc/ttyent.h: Likewise.
* resource/sys/resource.h: Likewise.
* string/argz.h: Likewise.
* string/envz.h: Likewise.

Add support for symbols from POSIX.1c (POSIX threads).
* posix/getconf.c: Handle new sysconf symbols.
* posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
_POSIX_LOGIN_NAME_MAX with minimal maximal values.
* sysdeps/generic/confname.h: Define new symbols.
* sysdeps/posix/sysconf.c: Handle new symbols.
* sysdeps/stub/sysconf.c: Ditto.
* sysdeps/unix/sysv/linux/sysconf.c: Removed.  Generic version
is ok now.

* sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
have real prototype.

* sysdeps/generic/resourcebits.h: Add macro definition for
RLIMIT_* values.  Some sources test using #ifdef whether specific
limit is available.
* sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
* sysdeps/unix/sysv/linux/resourcebits.h: Removed.  We need
separate files for the architectures.
* sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
* sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
* sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
* sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.

* sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
and only default on `OPEN_MAX'.
* sysdeps/unix/sysv/sysv4/getdtsz.c: Removed.  Default is already
the POSIX version.

* time/Makefile (routines): Add ctime_r.
* time/asctime.c: Add implementation of `asctime_r'.  Make
`asctime' implementation based on reentrant version.
* time/ctime_r.c: New file.
* time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
and `ctime_r'.

Sat Aug  3 18:41:36 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
(_nl_C_LC_CTYPE): Fix ordering.
* locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
  typo.

Sat Aug  3 12:31:06 1996  Richard Henderson  <rth@tamu.edu>

* csu/initfini.c: Discover the maximum alignment generated by the
compiler when emitting a function.
(_init): Make sure the end of the crti fragment is aligned.
(_fini): Likewise.

Fri Aug  2 03:12:40 1996  Ulrich Drepper  <drepper@cygnus.com>

* initfini.c: (__libc_is_static): New variable.  Will be
  initialized in init-first.c.  Some actions in the libc work
  different when libc is static or dynamic.

* sysdeps/unix/sysv/linux/init-first.c (init): Use
  `__libc_is_static' variable to determine whether call to
  `personality' and `setfpucw' is necessary.  When done set variable
  to +-1 depending on library type.

* locale/setlocale.c (setlocale): Use global variable
  `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
  determine whether it's a SET[UG]ID program.

Fri Aug  2 14:40:22 1996  Roland McGrath  <roland@fast.cs.utah.edu>

* Version 1.93 test release.

* manual/Makefile: Use -include for chapters-incl too.

* Makeconfig (+link): Add back start.o, mistakenly removed in last
change.

Fri Aug  2 01:04:02 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/Makefile (generated): Add db-*.c.

* sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
using #include_next.

* configure.in (--enable-add-ons): Quote m4 macro args.

* elf/rtld.c (dl_main): For --verify, fail if no dynamic section.

Thu Aug  1 14:40:03 1996  Roland McGrath  <roland@fast.cs.utah.edu>

* sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.

* Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.

* Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
(+link): Not here.

* stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
warning when inline function is elided.
* sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
(elf_machine_runtime_setup): Likewise.
* elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
(elf_machine_load_address): Likewise.

* catgets/gencat.c: Include <locale.h>.

* sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.

* login/logwtmp.c (logwtmp): Call time, not __time.

* sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
* login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
* login/logwtmp.c (logwtmp): Likewise.

* sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
comparing ioctl macro values.

* sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.

* manual/Makefile: Use -include for chapters to suppress warning.

* sysdeps/stub/socket.c: Fix type of TYPE arg.
* sysdeps/stub/socketpair.c: Likewise.

* sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.

* sysdeps/generic/sysdep.h: New file, broken out of ...
* sysdeps/unix/sysdep.h: ... here.
(C_LABEL): Moved out.

* Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
stick to sed.  Do `exit 0' at end because while returns nonzero.

* sysdeps/i386/sysdep.h: New file, broken out of ...
* sysdeps/unix/i386/sysdep.h: ... here.  Generic asm macros moved out.

* sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
They are defined unconditionally in libio/stdio.h.

* elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
* elf/dl-cache.c: Likewise.

Mon Jul 29 19:20:05 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
(sysdep_headers): Add sys/sysmacros.h.
* sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.

  tcgetattr.  We have weak aliases now.  * stdlib/stdlib.h
  [__OPTIMIZE__ && __GNUC__ >= 2]: Remove "optimizations" for random
  functions.

27 years agoCorrected handling of add-ons.
Ulrich Drepper [Mon, 5 Aug 1996 20:16:29 +0000 (20:16 +0000)]
Corrected handling of add-ons.

27 years ago (\heading, \subheading, \subsubheading): Can no
Karl Berry [Mon, 5 Aug 1996 18:01:12 +0000 (18:01 +0000)]
 (\heading, \subheading, \subsubheading): Can no

* texinfo.tex (\heading, \subheading, \subsubheading): Can no
longer call the nonexistent \*secheadingi series. Instead, call
\plain*secheading.
(\plainsubsecheading, \plainsubsubsecheading): New macros, by analogy
with \plainsecheading.
(\unnumberedsubseczzz, \unnumberedsubsubseczzz): Call them.

27 years ago(\HEADINGSdouble, \HEADINGSsingle, HEADINGSdoubleafter, \HEADINGSsingleafter, \CHAPPA...
Karl Berry [Sat, 3 Aug 1996 18:59:17 +0000 (18:59 +0000)]
(\HEADINGSdouble, \HEADINGSsingle, HEADINGSdoubleafter, \HEADINGSsingleafter, \CHAPPAGoff, \CHAPPAGon, \CHAPPAGodd): Set \contentsalignmacro, analogous to \pagealignmacro. (\startcontents): Call \contentsalignmacro instead of \pagealignmacro.

27 years agoFri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu> cvs/libc-960803 cvs/libc-960804 cvs/libc-960805
Roland McGrath [Fri, 2 Aug 1996 20:56:23 +0000 (20:56 +0000)]
Fri Aug  2 14:40:22 1996  Roland McGrath  <roland@fast.cs.utah.edu>

* manual/Makefile: Use -include for chapters-incl too.

27 years agoFri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Fri, 2 Aug 1996 16:10:33 +0000 (16:10 +0000)]
Fri Aug  2 01:04:02 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/Makefile (generated): Add db-*.c.

27 years agoRestoring good RCS id.
Karl Berry [Fri, 2 Aug 1996 15:12:28 +0000 (15:12 +0000)]
Restoring good RCS id.

27 years agoRemade for alpha-1.93 cvs/libc-960802
Roland McGrath [Fri, 2 Aug 1996 05:27:50 +0000 (05:27 +0000)]
Remade for alpha-1.93

27 years agoWed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com> cvs/libc-960801
Roland McGrath [Thu, 1 Aug 1996 00:08:31 +0000 (00:08 +0000)]
Wed Jul 31 14:21:36 1996  Ulrich Drepper  <drepper@cygnus.com>

* termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
tcgetattr.  We have weak aliases now.
* stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
"optimizations" for random functions.

27 years agoMon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Wed, 31 Jul 1996 09:45:04 +0000 (09:45 +0000)]
Mon Jul 29 20:33:42 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
htons) [__BIG_ENDIAN]: #undef them before defining to avoid
redefinition warning.

Mon Jul 29 20:28:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* time/time.h: Don't optimize tzset() to __tzset() which bypasses
the __tzset_lock.

Tue Jul 30 15:14:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
protection.

Tue Jul 30 02:48:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
to be 64-bit clean.
Reported by Richard Henderson <rth@tamu.edu>.

Tue Jul 30 15:04:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* locale/programs/ld-collate.c (collate_output): Fix typo reported by
David Miller.

Tue Jul 30 13:23:13 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/setlocale.c (setlocale): Don't try to free C locale
data.
Reported by Matthias Urlichs.

27 years agoMon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Wed, 31 Jul 1996 09:39:37 +0000 (09:39 +0000)]
Mon Jul 29 20:28:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* time/time.h: Don't optimize tzset() to __tzset() which bypasses
the __tzset_lock.

27 years agoTue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu> cvs/libc-960731
Miles Bader [Tue, 30 Jul 1996 19:23:39 +0000 (19:23 +0000)]
Tue Jul 30 14:35:17 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
  (open_file): New function, contents mostly from __open.
(_dl_sysdep_read_whole_file): New function.

27 years ago(open_file): New function, contents mostly from __open. (__open): Use open_file....
Miles Bader [Tue, 30 Jul 1996 19:23:06 +0000 (19:23 +0000)]
(open_file): New function, contents mostly from __open. (__open): Use open_file. (_dl_sysdep_read_whole_file): New function.

27 years agoTue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Tue, 30 Jul 1996 19:15:53 +0000 (19:15 +0000)]
Tue Jul 30 15:14:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
protection.

27 years agoTue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
Roland McGrath [Tue, 30 Jul 1996 19:02:29 +0000 (19:02 +0000)]
Tue Jul 30 13:23:13 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/setlocale.c (setlocale): Don't try to free C locale
data.
Reported by Matthias Urlichs.

27 years agoSat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
Miles Bader [Tue, 30 Jul 1996 16:58:05 +0000 (16:58 +0000)]
Sat Jul 27 11:23:59 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
`..' dots in sed search string.

27 years ago(\indexfonts): Make leading be 12pt. Otherwise, it's too crammed. (\smalllispx):...
Karl Berry [Mon, 29 Jul 1996 19:08:10 +0000 (19:08 +0000)]
(\indexfonts): Make leading be 12pt. Otherwise, it's too crammed. (\smalllispx): Remove \setleading{10pt}. That was too small. (\doprintindex): Do not call \tex ... \Etex.  Index files are Texinfo source, not TeX source, except for using \ instead of @ as the escape character (for now).

27 years agoMon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960729 cvs/libc-960730
Roland McGrath [Mon, 29 Jul 1996 05:54:17 +0000 (05:54 +0000)]
Mon Jul 29 01:27:07 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
protection.

* configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
in those directories.
* config.make.in (add-ons): New varaible, set from @subdirs@.
* Makefile (subdirs): Added $(add-ons) at the end.

27 years agoSun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Mon, 29 Jul 1996 03:49:00 +0000 (03:49 +0000)]
Sun Jul 28 23:46:14 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* time/strftime.c (strftime: do_number): Initialize PRINTED to
MAXDIGITS in case P is null and so sprintf is never actually called.

Mon Jul 29 02:46:23 1996  Ulrich Drepper  <drepper@cygnus.com>

Add support for the to-be-written internationalized regexp.
This code must be able to use collation symbols and collation
equivalent classes.
* locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
_nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
New global variables for collation classes.
* locale/categories.def: Add new descriptions for collation symbols
and collation classes.
* locale/langinfo.h: Add constants for collation symbols and
collation classes.
* locale/lc-collate.c: Add new global variables for collation symbols
and collation classes.
(_nl_postload_collate): Initialize new variables.
* locale/programs/ld-collate.c: Add code to emit tables for
collation symbols and collation classes.
* locale/programs/locales.h: Change prototype for `collate_output'.
* locale/programs/locfile.c (write_all_categories): Call
`collate_output' with new argument.
* locale/localeinfo.h: Add declaration for new global vars.
(union locale_data_value): New member wstr for `wchar_t' strings.
* locale/programs/locale-spec.c: Handle `collate-classes'
keyword and print information about available collation classes.
* locale/strlen-hash.h: New file.  Simple hashing function which
takes a string with known length.
* locale/Makefile (distribute): Add strlen-hash.h.
(locale-modules): New var.  Additional files for `locale' program.

* locale/C-ctype.c: Rewrite to avoid using string for giving values
which are of type `u_int32_t'.
Correct entry for EOF in toupper and tolower tables.

* locale/loadlocale.c (_nl_load_locale):  Add cast to prevent
warning.

* locale/programs/ld-ctype.c (ctype_output): Add code to make
sure that all tables in binary file are words aligned.

* locale/programs/locfile.c (write_locale_data): Correct handling
of LC_MESSAGES locale.  Create directory if necessary.

* locale/setlocale.c (setlocale): Add cast to avoid warning.

* string/string.h: Add prototype for `__strndup'.

Wed Jul 24 19:10:00 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* wcsmbs/mbrtowc.c: Remove unused variable.

Sun Jul 28 22:40:25 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
2.0.10; some problems were reported with an earlier version, and this
one is known to work.

* sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.

27 years agoSat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
Roland McGrath [Mon, 29 Jul 1996 00:18:42 +0000 (00:18 +0000)]
Sat Jul 27 13:02:09 1996  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c (dl_main): Ignore arguments when environment variable
  LD_TRACE_LOADED_OBJECTS is set.

Sun Jul 28 19:42:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
__libc_enable_secure instead of _dl_secure.
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
* elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
of _dl_secure.
* elf/Makefile (routines): Add enbl-secure.
(elide-routines.so): Here too.
* sysdeps/generic/enbl-secure.c: New file.
* posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
* elf/dl-support.c (_dl_secure): Variable removed.
* elf/rtld.c: Likewise.  Replace all uses with __libc_enable_secure.

Sun Jul 28 19:26:40 1996  David S. Miller  <dm@neteng.engr.sgi.com>

* sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
compiler doesn't elide it.
(elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.

27 years agoSun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
Roland McGrath [Sun, 28 Jul 1996 23:43:36 +0000 (23:43 +0000)]
Sun Jul 28 19:26:40 1996  David S. Miller  <dm@neteng.engr.sgi.com>

* sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
compiler doesn't elide it.
(elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.

27 years ago(paragraphindent): Move to more reasonable place in the source file. (chapfonts,...
Karl Berry [Sun, 28 Jul 1996 20:57:40 +0000 (20:57 +0000)]
(paragraphindent): Move to more reasonable place in the source file. (chapfonts, secfonts, subsecfonts, indexfonts): Call \setleading. (\chfplain, \secheading, \plainsecheading, \subsecheading,  \subsubheading): Rewrite to properly \hangindent the title. (\sectionheading): New generic macro to print section titles.

27 years agoInitial revision
Karl Berry [Sun, 28 Jul 1996 20:55:30 +0000 (20:55 +0000)]
Initial revision

27 years ago($(common-objpfx)errnos.d): Quote `..' dots in sed search string. cvs/libc-960728
Miles Bader [Sat, 27 Jul 1996 16:49:26 +0000 (16:49 +0000)]
($(common-objpfx)errnos.d): Quote `..' dots in sed search string.

27 years agoSat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
Roland McGrath [Sat, 27 Jul 1996 09:36:38 +0000 (09:36 +0000)]
Sat Jul 27 04:37:34 1996  Ulrich Drepper  <drepper@cygnus.com>

* string/string.h (strndupa): Change to use return value of
`memcpy' for more performance.
* string/strndup.c: Likewise.

27 years agoSat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960727
Roland McGrath [Sat, 27 Jul 1996 07:29:13 +0000 (07:29 +0000)]
Sat Jul 27 02:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/rtld.c (dl_main): Take new option --verify when run directly.
In verify mode, exit with status zero iff the argument object's
PT_INTERP matches argv[0].
* elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
exits with zero status.  This makes `ldd' secure again.

Fri Jul 26 22:49:58 1996  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
environment variable handling.  This makes the dynamic linker
only print loaded libraries and quit.

* elf/ldd.sh.in: Don't use `rtld --list' but instead
LD_TRACE_LOADED_OBJECTS environment variable to print needed
objects.

Sat Jul 27 02:03:26 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* db/makedb.c (main): Print version on stdout, not stderr.  Don't exit
after printing version until after doing usage for --help.
(long_options, main, usage): Rename -l/--lowercase option to
-f/--fold-case (-f matches sort).

Sat Jul 27 04:32:31 1996  Ulrich Drepper  <drepper@cygnus.com>

* db/makedb.c: New file.  Implement program to create simple <db.h>
database from textual input.  This will be used for nss_db.

Sat Jul 27 01:24:05 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
* sunrpc/rpc/pmap_clnt.h: Likewise.
* sunrpc/rpc/auth.h: Likewise.
* sunrpc/rpc/pmap_rmt.h: Likewise.
* sunrpc/rpc/rpc_msg.h: Likewise.

Sat Jul 27 04:37:34 1996  Ulrich Drepper  <drepper@cygnus.com>

* string/string.h (strndupa): Change to use return value of
`memcpy' for more performance.
* string/strndup.c: Likewise.

* string/string.h (strdupa): Don't call __builtin_alloca in argument.
This might lead to problems.
(strndupa): Likewise.

27 years agoFri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
Roland McGrath [Sat, 27 Jul 1996 02:04:33 +0000 (02:04 +0000)]
Fri Jul 26 15:24:25 1996  Ulrich Drepper  <drepper@cygnus.com>

* sunrpc/rpc/auth.h: Add protection against multiple inclusion
and change K&R prototypes to ANSI prototypes.
* sunrpc/rpc/auth_unix.h: Ditto.
* sunrpc/rpc/clnt.h: Ditto.
* sunrpc/rpc/pmap_clnt.h: Ditto.
* sunrpc/rpc/pmap_prot.h: Ditto.
* sunrpc/rpc/pmap_rmt.h: Ditto.
* sunrpc/rpc/rpc_msg.h: Ditto.
* sunrpc/rpc/svc.h: Ditto.
* sunrpc/rpc/svc_auth.h: Ditto.
* sunrpc/rpc/xdr.h: Ditto.

Fri Jul 26 18:06:58 1996  Ulrich Drepper  <drepper@cygnus.com>

* sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
* sunrpc/rpc/auth_unix.h: Likewise.
* sunrpc/rpc/clnt.h: Likewise.
* sunrpc/rpc/netdb.h: Likewise.
* sunrpc/rpc/pmap_clnt.h: Likewise.
* sunrpc/rpc/pmap_prot.h: Likewise.
* sunrpc/rpc/rpc_msg.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/rpc/svc_auth.h: Likewise.
* sunrpc/rpc/xdr.h: Likewise.

* sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
to here from...
* sunrpc/pmap_rmt.c: ...here.

27 years agoFri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Sat, 27 Jul 1996 00:40:06 +0000 (00:40 +0000)]
Fri Jul 26 20:39:42 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* ctype/test_ctype.c: Test EOF too.

27 years agoFri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Sat, 27 Jul 1996 00:32:20 +0000 (00:32 +0000)]
Fri Jul 26 00:36:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* ctype/test_ctype.c: Test EOF too.

27 years agoFri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
Miles Bader [Fri, 26 Jul 1996 21:03:47 +0000 (21:03 +0000)]
Fri Jul 26 16:10:43 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
valid ut_id field.
* login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
if a search fails.

27 years ago(getutid_r): Mark UTMP_DATA->loc_utmp invalid if a search fails.
Miles Bader [Fri, 26 Jul 1996 21:01:48 +0000 (21:01 +0000)]
(getutid_r): Mark UTMP_DATA->loc_utmp invalid if a search fails.

27 years agoFri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960726
Roland McGrath [Fri, 26 Jul 1996 04:37:35 +0000 (04:37 +0000)]
Fri Jul 26 00:36:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
<kkojima@info.kanagawa-u.ac.jp>.

27 years agoFri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
Roland McGrath [Fri, 26 Jul 1996 04:35:31 +0000 (04:35 +0000)]
Fri Jul 26 04:41:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
defined, not __OPTIMIZED.
(_nl_msg_cat_cntr): Move declaration outside macro definition
to prevent "nested extern" warning.
(dcgettext): Rename local variable `result' to `__result'.

Thu Jul 25 22:46:30 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* locale/programs/localedef.c (__progname): Remove decl.
(main): Use program_invocation_short_name instead of __progname.
(usage): Use program_invocation_name instead of __progname.

Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* catgets/gencat.c: Use "libc" instead of PACKAGE.
* locale/localedef.c: Ditto.
* locale/locale.c: Ditto.

* locale/findlocale.c (_nl_find_locale): Little optimization.
Use new function `strndup'.

* locale/loadlocale.c: Little optimization.  Use constant value
from `_nl_category_num_items' instead of byte-order dependend
value from file.

* locale/programs/ld-time.c (time_add): Correct string constant.

* locale/programs/locale-spec.c: New file.
* locale/programs/locale.c: Call `locale_special' function if
no other field matches.

* locale/programs/localedef.c: No need to define `program_name'.
Use global variable `__progname'.

* locale/programs/locfile.c (write_locale_data): Always write
LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file.  This is
necessary since message catalogs are also installed in the
LC_MESSAGES/ directory.

* locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
function instead of writing single bytes.
(encode_char): Also handle little endian.

* locale/setlocale.c (new_composite_name): Little optimization.
Use return value of `memcpy'.

* misc/ttyent.h: Pretty print prototypes, add missing parameter
names, prepend parameter names with __  and use `__const' instead
of `const'.
* posix/unistd.h: Ditto.
* stdlib/stdlib.h: Ditto.
* string/string.h: Ditto.

* posix/getconf.c: De-ASNI-fy.  Recognize POSIX.2 constant names.
Use `error' function instead of doing it by hand.
* sysdeps/posix/sysconf.c: De-ANSI-fy.
Handle _SC_COLL_WEIGHTS_MAX.
* sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
_SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
since these do depend on the platform.
Add POSIX.4 symbols.

* posix/posix2_lim.h: Add missing definition of
_POSIX2_COLL_WEIGHTS_MAX.
Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
to high values since we have no fixed limit.

* sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
_SC_PAGESIZE for buggy systems (= HP UX) out there.

* wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
* wcsmbs/mbsnrtowcs.c: New file.  Non-standard implementation.
* wcsmbs/wcsnrtombs.c: Ditto.
* wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
wcsnrtombs.

Thu Jul 25 00:25:54  Richard Henderson  <rth@tamu.edu>

* nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
course.
* nss/getXXent_r.c: Likewise.
* nss/nsswitch.c: Likewise.
* nss/nss_files/files-XXX.c: Likewise.
* sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
* sysdeps/unix/bsd/telldir.c (struct record): Likewise.
* sysdeps/unix/dirstream.h (struct __dirstream): Likewise.

27 years agoRegenerated
Roland McGrath [Fri, 26 Jul 1996 00:34:28 +0000 (00:34 +0000)]
Regenerated

Sat Jul 20 21:55:31 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

Win32 hacks from <Rob_Tulloh@tivoli.com>.
* posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
use void * for my_realloc; include <malloc.h> for alloca.
(glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
* posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
* posix/glob.h: Likewise.

Fri Jul 19 16:56:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
for `struct stat;' forward decl.

27 years agoThu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Thu, 25 Jul 1996 22:41:27 +0000 (22:41 +0000)]
Thu Jul 25 00:53:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
macro, now put the needed Linux version just once, here; update to
needing linux-2.0.3 headers.
(libc_cv_linuxVER): New macro derived from that.
(kernel header check): Use those macros and some m4 magic to replace
hard-coded `201' and `2.0.1' in several places.

* Makerules ($(libdir)/libc.so): Fix typos in generated comment.

Wed Jul 24 17:02:30 1996  Ulrich Drepper  <drepper@cygnus.com>

* time/localtime.c: Move lock variable declaration to end of
variable declarations since if is a dummy macro the ; at the
end terminates the variable section of the function.

* time/tzset.c: Undefine `tzset' before function declaration.
Use `weak_function' macro instead of `weak_symbol'.

Wed Jul 24 18:57:33 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/strtouq.c: Additional weak alias is `strtoull', not
`strotull'.

Wed Jul 24 18:26:23 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/C-ctype.c: Increment number of fields after change
from Wed Jun 19 03:24:58 1996.

27 years agoTue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960724 cvs/libc-960725
Roland McGrath [Tue, 23 Jul 1996 22:18:45 +0000 (22:18 +0000)]
Tue Jul 23 18:13:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
($(common-objpfx)libc.so): Move deps into that, use it.
[$(subdir) = elf] ($(objpfx)librtld.so): Depend on
$(rpcuserlibs:.so=_pic.a).
* elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
use $(LDLIBS-c.so).

Thu Jul 18 21:41:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
  n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.

27 years agoTue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
Roland McGrath [Tue, 23 Jul 1996 21:40:11 +0000 (21:40 +0000)]
Tue Jul 23 02:49:58 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/iso-4217.def: Add India to comment for symbol "INR ".
Reported by Raja R Harinath  <harinath@cs.umn.edu>.

Sat Jul 20 14:03:45 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
#undef RESOLVE.

* time/tzset.c: Include <libc-lock.h>.
(__tzset_lock): New lock variable.
(tzset): New function (weak defn), no longer weak alias for __tzset.
Call __tzset while holding __tzset_lock.
* time/localtime.c: Include <libc-lock.h>.
(__localtime_r): Hold __tzset_lock while doing the work.

27 years agoSun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960722 cvs/libc-960723
Roland McGrath [Sun, 21 Jul 1996 11:09:58 +0000 (11:09 +0000)]
Sun Jul 21 06:48:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/generic/setenv.c (__environ): Change conditional for #define
from [!HAVE_GNU_LD] to [!_LIBC].
[_LIBC]: Include <libc-lock.h> and define a lock.
(LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
(setenv, unsetenv): Use them.

Sat Jul 20 21:55:31 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

Win32 hacks from <Rob_Tulloh@tivoli.com>.
* posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
use void * for my_realloc; include <malloc.h> for alloca.
(glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
* posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
* posix/glob.h: Likewise.

27 years agoSun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Sun, 21 Jul 1996 11:09:45 +0000 (11:09 +0000)]
Sun Jul 21 06:48:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/generic/setenv.c (__environ): Change conditional for #define
from [!HAVE_GNU_LD] to [!_LIBC].
[_LIBC]: Include <libc-lock.h> and define a lock.
(LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
(setenv, unsetenv): Use them.

27 years agoSun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu> cvs/libc-960721
Miles Bader [Sun, 21 Jul 1996 06:52:29 +0000 (06:52 +0000)]
Sun Jul 21 01:44:39 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* locale/programs/locfile.c (write_locale_data): Deal with missing
UIO_MAXIOV.

* sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
* sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.

27 years ago<unistd.h>: New include.
Miles Bader [Sun, 21 Jul 1996 02:57:09 +0000 (02:57 +0000)]
<unistd.h>: New include.

27 years ago* sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
Miles Bader [Sun, 21 Jul 1996 02:33:51 +0000 (02:33 +0000)]
* sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.

27 years ago(uname): Deref UNAME to get nodename.
Miles Bader [Sun, 21 Jul 1996 02:33:13 +0000 (02:33 +0000)]
(uname): Deref UNAME to get nodename.

27 years agoSat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Sun, 21 Jul 1996 01:55:51 +0000 (01:55 +0000)]
Sat Jul 20 21:55:31 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

Win32 hacks from <Rob_Tulloh@tivoli.com>.
* posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
use void * for my_realloc; include <malloc.h> for alloca.
(glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
* posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
* posix/glob.h: Likewise.

27 years ago* sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
Miles Bader [Sun, 21 Jul 1996 01:34:17 +0000 (01:34 +0000)]
* sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify

continuation line.

27 years agoSat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
Miles Bader [Sat, 20 Jul 1996 17:34:39 +0000 (17:34 +0000)]
Sat Jul 20 13:28:52 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* sysdeps/mach/hurd/select.c (__select): Don't poll on the last
call __io_select unless there's only a single descriptor, as each
descriptor now has its own reply port.
If there is only a single descriptor, just use its reply port for
everything and don't bother creating the port set.

27 years ago(__select): Don't poll on the last call __io_select unless there's only a singl...
Miles Bader [Sat, 20 Jul 1996 17:33:17 +0000 (17:33 +0000)]
(__select):   Don't poll on the last call __io_select unless there's only a     single descriptor, as each descriptor now has its own reply port.   If there is only a single descriptor, just use its reply port for     everything and don't bother creating the port set.

27 years agoThu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sat, 20 Jul 1996 12:06:21 +0000 (12:06 +0000)]
Thu Jul 18 12:33:57 1996  Roland McGrath  <roland@baalperazim.frob.com>

* Rules (dummy.o, empty.o): Targets removed.
(dummy.c, empty.c): New targets replace them.

See ChangeLog.5 for earlier changes.

27 years agoFri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
Roland McGrath [Sat, 20 Jul 1996 11:53:52 +0000 (11:53 +0000)]
Fri Jul 19 15:45:20 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
operator to yesexpr and noexpr string.

27 years agoSat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Sat, 20 Jul 1996 11:26:09 +0000 (11:26 +0000)]
Sat Jul 20 07:15:33 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* crypt/Makefile, crypt/nocrypt.c: Removed.  It is illegal to export
  from the USA any software that even makes it easy to drop in an
  encryption module of foreign origin.
* Makerules (cryptobjdir): Variable removed.
($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
* Makefile (subdirs): Remove crypt.

Fri Jul 19 15:10:37 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
  old code would have failed on a big-endian 64-bit architecture).
* sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.

* sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
(xdr_u_long): Use switch instead of chain of if-statements.
   Remove gratitous parentheses around return expressions.
(xdr_enum): Open code case where INT_MAX<LONG_MAX.

* sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.

* sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
  not int.

Fri Jul 19 16:56:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* dlfcn.h, db.h: New wrapper headers.

* posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
for `struct stat;' forward decl.

Fri Jul 19 22:25:19 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/iso-4217.def: Add some more standardized currency
symbols.

27 years agoFri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960720
Roland McGrath [Fri, 19 Jul 1996 17:18:51 +0000 (17:18 +0000)]
Fri Jul 19 13:18:02 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* hurd/report-wait.c (describe_number): Use unsigned long int for J.

(subdir): Fix name.

27 years agoThu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960719
Roland McGrath [Thu, 18 Jul 1996 15:46:04 +0000 (15:46 +0000)]
Thu Jul 18 11:42:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* crypt/Makefile (lib-noranlib): Depend on
$(objpfx)libcrypt.so$(libcrypt.so-version).

* sysdeps/stub/ustat.c: Ditto.
* sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
* sysdeps/alpha/elf/start.S: here.

27 years agoThu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com> cvs/libc-960718
Roland McGrath [Thu, 18 Jul 1996 08:43:26 +0000 (08:43 +0000)]
Thu Jul 18 04:33:21 1996  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
check.  mib's clueless hacking broke it.

Thu Jul 18 04:27:21 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).

Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
* sysdeps/alpha/elf/start.S: here.

* misc/sys/ustat.h: New file.
* misc/ustat.h: Ditto.
* sysdeps/generic/ustatbits.h: Ditto.
* libc-orig/sysdeps/stub/ustat.c: Ditto.
* sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
* misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
  ustatbits.h.
(routines): Mention ustat.

* sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
  alphabetically correct place.  Mention ustat.

* sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
common symbol (makes errno accessible from gdb).

* login/pututline_r.c (pututline_r): Test ut_id in repositioning
test, not ut_type.

* login/logwtmp.c (logwtmp): Reimplemented.  Must ensure that a
  record always gets appended at end of file (wtmp is a log file,
  after all).  Set ut_type to DEAD_PROCESS if name is empty.

* login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
separate loop from search for UT_ID.  Fix code so it is in
sync with Unix man page.

* login/getutline_r.c (getutline_r): Stop searching only if
  ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.

Tue Jul 16 15:06:18 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
  avoid duplicate declarations.

Sun Jul 14 19:08:55 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
and alpha-gnu-linuxecoff targets.

Fri Jul 12 16:58:44 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().

Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
of int.

* resolv/res_comp.c (res_hnok): Use empty statement in place
of NULL (which generates a "useless expression" warning in
gcc).

27 years agoWed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Thu, 18 Jul 1996 04:18:05 +0000 (04:18 +0000)]
Wed Jul 17 23:56:35 1996  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
with $(..) in output.

27 years agoWed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Wed, 17 Jul 1996 23:09:43 +0000 (23:09 +0000)]
Wed Jul 17 21:53:45 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/Makefile (dl-routines): Add dl-cache.
* elf/dl-cache.c: New file.
* elf/dl-load.c (_dl_map_object): Check cache before default path.

27 years agoWed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
Roland McGrath [Wed, 17 Jul 1996 19:32:22 +0000 (19:32 +0000)]
Wed Jul 17 20:41:30 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfscanf.c: Major change.  Now read character
from stream only if needed.  Before it was read after the
previous character was used.
Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>

* stdio-common/tstscanf.c: Change test program so that return
value is != 0 if one test failed.

* sysdeps/m68k/Makefile (crypt): Variable removed.
* sysdeps/sparc/Makefile: Likewise.

27 years agoWed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Wed, 17 Jul 1996 19:01:35 +0000 (19:01 +0000)]
Wed Jul 17 17:08:48 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

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

* Makerules ($(libdir)/libc.so): Depend on
$(common-objpfx)libcrypt.so$(libcrypt.so-version).

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

* 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.

* 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

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.

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.

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

27 years agoWed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [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.

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

Wed Jul 17 11:29:26 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* stdio/linewrap.c (lwupdate): Fix boundary condition where a
  word extends right up to rmargin.

* stdio/linewrap.c (lwupdate): 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.
(line_wrap_stream): Make wmargin ssize_t.
* stdio/linewrap.h (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.

Tue Jul 16 00:18:19 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
  to fiddle __put_limit in conjunction with __linebuf_active.

27 years ago(lwupdate): Fix boundary condition where a word extends right up to rmargin. ...
Miles Bader [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.

27 years agoUpdated from ../gpl2lgpl.sed cvs/libc-960717
Roland McGrath [Wed, 17 Jul 1996 18:00:33 +0000 (18:00 +0000)]
Updated from ../gpl2lgpl.sed

27 years ago* elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
Roland McGrath [Wed, 17 Jul 1996 03:34:06 +0000 (03:34 +0000)]
* elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array

because that is broken on alpha.

27 years agoTue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Roland McGrath [Tue, 16 Jul 1996 21:19:13 +0000 (21:19 +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.

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

This page took 0.114919 seconds and 5 git commands to generate.