external/glibc.git
26 years agoUpdate.
Ulrich Drepper [Tue, 10 Mar 1998 00:16:33 +0000 (00:16 +0000)]
Update.

1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
instead scope.  If debugging display information about symbol
resolving.
(_dl_lookup_symbol): Call do_lookup with correct parameters.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
* elf/dl-support.c: Define _dl_debug_symbols.
* elf/link.h: Add declaration for _dl_debug_symbols.
* elf/rtld.c: Define _dl_debug_symbols.
(process_dl_debug): Recognize symbols option.

26 years agoUpdate.
Ulrich Drepper [Mon, 9 Mar 1998 23:40:44 +0000 (23:40 +0000)]
Update.

1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
in correct format.
* sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
with correct parameters.
[!PIC]: Initialize __libc_multiple_libcs.

26 years agoUpdate.
Ulrich Drepper [Mon, 9 Mar 1998 18:30:58 +0000 (18:30 +0000)]
Update.

1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-support.c (_dl_debug_bindings): Add definition.
* elf/rtld.c (_dl_debug_bindings): Add definition.
(process_dl_debug): Recognize bindings option.  Update help message.
* elf/link.h (struct link_map): Add l_versyms member.
(_dl_debug_bindings): Add declaration.
* elf/version.c (_dl_check_map_versions): Initialize l_versyms.
* elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
and l_reloc_result.
* elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
(sym_val): Remove a member, add m as link_map.
(do_lookup): Return result appropriately.
(_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
Call do_lookup correctly.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.

26 years agoUpdate.
Ulrich Drepper [Mon, 9 Mar 1998 09:11:57 +0000 (09:11 +0000)]
Update.

1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/chown.c: Moved to ...
* sysdeps/unix/sysv/linux/i386/chown.c: ...here.

* sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
* libc.map: Add chown to GLIBC_2.1.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
* sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.

1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
weak alias.
* sysdeps/alpha/ffs.c: Likewise.
* sysdeps/am29k/ffs.c: Likewise.
* sysdeps/i386/ffs.c: Likewise.
* sysdeps/i960/ffs.c: Likewise.
* sysdeps/m68k/ffs.c: Likewise.
* sysdeps/m88k/ffs.c: Likewise.
* sysdeps/powerpc/ffs.c: Likewise.
* sysdeps/rs6000/ffs.c: Likewise.
* sysdeps/vax/ffs.s: Likewise.
* string/string.h: Declare __ffs.
* libc.map: Export it.
* elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
__builtin_ffs, which is not guaranteed to be namespace clean.

1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/sprof.c: Rewrite symbol handling to use the normal symbol
table, which is much more likely to exist than debugging symbols.
(printsym): Remove const.
(load_shobj): Don't use _dl_pagesize.  Fix mapping of section
header table.

* libc.map: Export __profile_frequency, used by elf/sprof, to
avoid infinite recursion during startup.

1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years agoMoved to i386.
Ulrich Drepper [Mon, 9 Mar 1998 08:20:38 +0000 (08:20 +0000)]
Moved to i386.

26 years ago* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
Andreas Schwab [Mon, 9 Mar 1998 03:20:41 +0000 (03:20 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):

Readd lost negate.
* sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
Mon Mar  9 12:16:42 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
Readd lost negate.

* sysdeps/m68k/sysdep.h: Remove the stabs stuff again.

26 years agoUpdate.
Ulrich Drepper [Mon, 9 Mar 1998 00:16:45 +0000 (00:16 +0000)]
Update.

1998-03-09  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-support.c: Add definition of _dl_debug_impcalls.

26 years agoUpdate.
Ulrich Drepper [Mon, 9 Mar 1998 00:01:13 +0000 (00:01 +0000)]
Update.

* elf/dl-support.c (non_dynamic_init): Pass return value of getenv
("LD_LIBRARY_PATH") to _dl_init_paths.

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Mar 1998 23:58:37 +0000 (23:58 +0000)]
Update.

1998-03-08  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
LD_PRELOAD, and LD_VERBOSE.
(dl_main): Use global variables set by process_envvars instead of
calling getenv.
* elf/dl-load.c (_dl_init_paths): Don't call getenv to get
LD_LIBRARY_PATH value, this comes with the parameter.

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Mar 1998 22:56:54 +0000 (22:56 +0000)]
Update.

1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c (dl_main): Delay initialization of path structure if
the dynamically linker is invoked implicitly until we read the
dynamic section.

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Mar 1998 18:18:43 +0000 (18:18 +0000)]
Update.

1998-03-08  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Mar 1998 17:12:51 +0000 (17:12 +0000)]
Update.

1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
Linux 2.0 and 2.1.

* sysdeps/unix/sysv/linux/syscalls.list: Add chown.

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Mar 1998 15:26:29 +0000 (15:26 +0000)]
Update.

1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>

* Makeconfig (nisobjdir): Set to path to nis directory.
(rpath-link): Add nisobjdir.
Patch by Sven Verdoolaege <skimo@kotnet.org>.

* elf/Makefile: Pretty print.
* elf/dl-lookup.c: Include unistd.h.
* elf/dl-runtime.c: Likewise.

* localedata/Makefile (test-srcs): Add tst-rpmatch.
(distribute): Add tst-rpmatch.sh.
(tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.

New tests for rpmatch function by
Jochen Hein <jochen.hein@delphi.central.de>.
* localedata/tst-rpmatch.c: New file.
* localedata/tst-rpmatch.sh: New file.

* localedata/locales/de_DE: Correct yesexpr and noexpr.
* localedata/locales/de_AT: Likewise.

* posix/getopt.c: Update contact address.
* posix/getopt1.c: Pretty print.

* sysdeps/generic/libc-start.c: Do most of the initialization now
here instead of in start.S.
* sysdeps/unix/sysv/linux/libc-start.c: Likewise.
* sysdeps/i386/elf/start.S: Remove most of the initialization code.

* sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
profil_counter to be public.

1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c (parse_arith): Now works for negative numbers too.
(parse_param): Coded parameter length expansion (${#var}).
(parse_param): Handling for "=", "+", "-", and the ":" versions added.
(parse_param): Cleaned up (fixed) error handling.

* posix/wordexp-test.c: IFS now includes non-whitespace character
(comma).  Added more tests.

26 years agoUpdate.
Ulrich Drepper [Sat, 7 Mar 1998 19:52:45 +0000 (19:52 +0000)]
Update.

1998-03-07  Ulrich Drepper  <drepper@cygnus.com>

* elf/link.h: Fix typos.
Reported by Andreas Jaeger.

* nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
* nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.

* sysdeps/i386/elf/start.S: Don't call main directly, call
* nis/nis_call.c (__do_niscall): Safe and reset errno.
* nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 22:15:32 +0000 (22:15 +0000)]
Update.

1998-03-06  Ulrich Drepper  <drepper@cygnus.com>

* argp/argp-help.c: Remove last bits of using gettext instead of
dgettext.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 17:21:43 +0000 (17:21 +0000)]
Update.

1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
__libc_start_main.
* csu/Makefile (routines): Add libc-start.
* elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
* elf/dl-lookup.c: Likewise.
* elf/dl-version.c: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* elf/link.h: Declare _dl_argv, _dl_debug_fd.
Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
_dl_sysdep_message macros which use _dl_sysdep_output.
* elf/dl-fini.c: Write out which destructor is called while debugging.
* elf/dl-init.c: Likewise for constructor.
* elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
* elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
_dl_sysdep_message.  Add _dl_sysdep_output.
* elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
this file can be opened.
For LD_DEBUG=libs also set _dl_debug_impcalls.
* sysdeps/generic/dl-cache.c: Include unistd.h.
* sysdeps/generic/libc-start.c: New file.
* sysdeps/i386/elf/start.S: Don't call main directly, call
* sysdeps/unix/sysv/linux/libc-start.c: New file.
__libc_start_main instead.

* elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.

26 years agoUodate.
Ulrich Drepper [Fri, 6 Mar 1998 13:26:10 +0000 (13:26 +0000)]
Uodate.

1998-03-06  Ulrich Drepper  <drepper@cygnus.com>

* nss/nsswitch.c (__nss_nscd_not_available): Removed.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 12:45:08 +0000 (12:45 +0000)]
Update.

1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>

* argp/argp.h (struct argp): Add new field domain.
* argp/argp-help.c: Change all gettext calls to dgettext and use
domain field from appropriate argp in call.
* argp/argp-parse.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 11:39:36 +0000 (11:39 +0000)]
Update.

1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>

* posix/wordexp-test.c: Change testsuite so that it can run even
for ~root != /root.

1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.

1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
Don't store into global errno if we already store through
__errno_location.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/alpha/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
PIC).

1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/generic/sysdep.h (L): Remove definition.
* sysdeps/i386/sysdep.h (L): Define it here instead.

1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
* nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
running nscd.
* nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
* nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
* nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 09:18:45 +0000 (09:18 +0000)]
Update.

* nis/nis_call.c (do_ypcall, yp_all): Safe and reset errno.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 08:52:47 +0000 (08:52 +0000)]
Update.

1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nis/nis_call.c (__do_niscall): Safe and reset errno.

* nis/ypclnt.c (__yp_bind): Safe and reset errno.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 08:41:12 +0000 (08:41 +0000)]
Update.

1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/generic/getresuid.c (__getresuid): Use ISO C
declaration style to avoid warnings.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 08:31:59 +0000 (08:31 +0000)]
Update.

1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>

* elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
"LD_DEBUG".

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 08:30:22 +0000 (08:30 +0000)]
Update.

1998-03-05  Ulrich Drepper  <drepper@cygnus.com>

* posix/Makefile (tests): Add wordexp-test.
* posix/wordexp-test.c: New file.  Testsuite for wrodexp.
Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.

1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>

* elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
dependencies.

* elf/link.h (struct r_search_path_elem): Add two new field for
lib path debugging.
* elf/rtld.c: Recognize LD_DEBUG environment variable and set
variable accordingly.
* elf/dl-load.c: If _dl_debug_libs is nonzero print what library
is considered next along with information about load paths.
* sysdeps/generic/dl-cache.c: Likewise.
* elf/dl-support.c: Define _dl_debug_libs.
* elf/genrtldtbl.awk: Add initializers for two new field in
struct r_search_path_elem.

1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years ago* sysdeps/m68k/add_n.S: Use ENTRY and END macros.
Andreas Schwab [Fri, 6 Mar 1998 01:48:50 +0000 (01:48 +0000)]
* sysdeps/m68k/add_n.S: Use ENTRY and END macros.

* sysdeps/m68k/lshift.S: Likewise.
* sysdeps/m68k/rshift.S: Likewise.
* sysdeps/m68k/sub_n.S: Likewise.
* sysdeps/m68k/m68020/addmul_1.S: Likewise.
* sysdeps/m68k/m68020/mul_1.S: Likewise.
* sysdeps/m68k/m68020/submul_1.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
[_LIBC_REENTRANT]: Don't store into global errno.
* sysdeps/m68k/sysdep.h: New file.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
(DO_CALL): Change to expect syscall name as argument.
(PSEUDO): Pass syscall_name to DO_CALL.
(SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
errno.
Fri Mar  6 10:40:30 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/add_n.S: Use ENTRY and END macros.
* sysdeps/m68k/lshift.S: Likewise.
* sysdeps/m68k/rshift.S: Likewise.
* sysdeps/m68k/sub_n.S: Likewise.
* sysdeps/m68k/m68020/addmul_1.S: Likewise.
* sysdeps/m68k/m68020/mul_1.S: Likewise.
* sysdeps/m68k/m68020/submul_1.S: Likewise.

* sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
[_LIBC_REENTRANT]: Don't store into global errno.

* sysdeps/m68k/sysdep.h: New file.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
(DO_CALL): Change to expect syscall name as argument.
(PSEUDO): Pass syscall_name to DO_CALL.
(SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
errno.

26 years agoTestsuite for owrdexp.
Ulrich Drepper [Thu, 5 Mar 1998 16:42:56 +0000 (16:42 +0000)]
Testsuite for owrdexp.

26 years agoUpdate.
Ulrich Drepper [Thu, 5 Mar 1998 14:03:24 +0000 (14:03 +0000)]
Update.

1998-03-05  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c: Speed up processing of environment variables.  Do
only one run on the environment by avoiding to call getenv.
* sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
function.  Used by patch above.

1998-03-05 10:25  Ulrich Drepper  <drepper@cygnus.com>

* nss/getXXbyYY_r.c: Don't try to contact nscd every time when it
failed.  Only do this every NSS_NSCD_RETRY times.
* nss/nsswitch.c: Define __nss_nscd_not_available, used by above
change.
* nscd/nscd_getgr_r.c (__nscd_getgr_r): Return 2 if contacting the
daemon failed.
* nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.

1998-03-05  Ulrich Drepper  <drepper@cygnus.com>

* nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
module cannot be found.  Reported by Andreas Jaeger.

1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>

* nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
on platforms which default to unsigned chars.
* nscd/nscd_getpw_r.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
defining it.

1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/Makefile (install-bin): Change = to += for sprof to install
ldd also.

26 years agoUpdate.
Ulrich Drepper [Wed, 4 Mar 1998 17:14:36 +0000 (17:14 +0000)]
Update.

1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>

* libio/strops.c (_IO_str_seekoff): Handle MODE == 0.

1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>

* nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.

1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
that a failure to connect to nscd doesn't change errno.

1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/maint.texi (Reporting Bugs): Change
bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.

* locale/iso-4217.def: Likewise

1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>

* manual/texinfo.tex: Updated.

1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
value.
* sysdeps/posix/pathconf.c: Likewise.
* posix/getconf.c: Print `undefined' if pathconf returns -1
without setting errno.

1998-03-04  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
problem.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
Patches by Elliot Lee <sopwith@cuc.edu>.

26 years agoUpdate.
Ulrich Drepper [Wed, 4 Mar 1998 09:53:17 +0000 (09:53 +0000)]
Update.

1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>

* elf/link.h (struct link_map): Add new field l_reloc_result.
* elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
of relocation for the object to be profiled.
* elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
to NULL.
* elf/rtld.c (_dl_start): Add comment that we must not allocate an
array here.
* elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
contains a result from a previous run use this instead of computing
the value again.
* elf/dl-minimal.c (malloc): Remove limit for size of allocation.

1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years ago(struct link_map): Add new field l_reloc_result.
Ulrich Drepper [Wed, 4 Mar 1998 09:45:23 +0000 (09:45 +0000)]
(struct link_map): Add new field l_reloc_result.

26 years ago* sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
Andreas Schwab [Wed, 4 Mar 1998 02:37:43 +0000 (02:37 +0000)]
* sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word

offsets into the GOT.
(RTLD_START): Likewise.
Wed Mar  4 11:32:01 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
offsets into the GOT.
(RTLD_START): Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 3 Mar 1998 17:58:38 +0000 (17:58 +0000)]
Update.

1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>

* elf/sprof.c: Cleanup a bit.

1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>

* sysdeps/generic/sysdep.h (L): New. Define.

* sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.

* sysdeps/i386/i586/addmul_1.S: Fix a typo.

* sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
to have only one exit point for functions.
* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
* sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.

1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
reset errno so that errno isn't set to ENOSYS in the first call.
* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.

26 years agoUpdate.
Ulrich Drepper [Mon, 2 Mar 1998 18:02:11 +0000 (18:02 +0000)]
Update.

1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
* sysdeps/i386/addmul_1.S: Likewise.
* sysdeps/i386/lshift.S: Likewise.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/rshift.S: Likewise.
* sysdeps/i386/sub_n.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/add_n.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Likewise.
* sysdeps/i386/i586/lshift.S: Likewise.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/rshift.S: Likewise.
* sysdeps/i386/i586/sub_n.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.

* sysdeps/i386/sysdep.h: Extend last change.

* sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
to have only one exit point for functions.

1998-03-02  Ulrich Drepper  <drepper@cygnus.com>

* configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
search.

1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>

* Makerules: Generate libc.so with absolute paths for the used
shared objects.

* config.make.in: Add MAKEINFO definition.

1998-03-02  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
(ENTRY): Use STABS_FUN.
(END): Use STABS_FUN_END.
(STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.

* elf/Makefile: Add rules to build sprof program.
* elf/sprof.c: New file.

1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* misc/syslog.c (openlog_internal): Insert missing closing brace.

1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* configure.in: Check for working msgfmt version (from GNU gettext
0.10 or later).

1998-03-02  Ulrich Drepper  <drepper@cygnus.com>

* configure.in: Avoid //s in sysdirs.
Patch by Roland McGrath.

* stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.

1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>

* elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
setting _dl_global_scope for RTLD_GLOBAL.

1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/make-syscalls.sh: Fix last change so that all
possible lists of object-suffixes are taken care of.

1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>

* timezone/private.h: Update from tzcode1998c.
* timezone/zic.c: Likewise.
* timezone/antarctica: Updated from tzdata1998c.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/southamerica: Likewise.

1998-03-02  Ulrich Drepper  <drepper@cygnus.com>

* posix/glob.c (glob_in_dir): Add support for cases insensitive
VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.

26 years ago(glob_in_dir): Add support for cases insensitive VMS.
Ulrich Drepper [Mon, 2 Mar 1998 09:49:48 +0000 (09:49 +0000)]
(glob_in_dir): Add support for cases insensitive VMS.

26 years ago1998-03-01 19:05 H.J. Lu (hjl@gnu.org) * sysdeps/libm-ieee754/e_exp.c ...
Richard Henderson [Sun, 1 Mar 1998 11:06:48 +0000 (11:06 +0000)]
1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.         Changed type of TWO43, TWO52 from float to double.         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.         Changed type of TWO43 from float to double.         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.         Use __isinff.

1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)

* sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
Changed type of TWO43, TWO52 from float to double.
* sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
* sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
Changed type of TWO43 from float to double.
* sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
Use __isinff.

26 years ago1998-03-01 18:52 H.J. Lu (hjl@gnu.org) * sysdeps/unix/sysv/linux/alpha...
Richard Henderson [Sun, 1 Mar 1998 10:53:22 +0000 (10:53 +0000)]
1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.

1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)

* sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
osf_wait4): Removed __xxxx symbol for GLIBC_2.0.

26 years ago * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include kernel_t...
Richard Henderson [Sun, 1 Mar 1998 01:19:00 +0000 (01:19 +0000)]
    * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include         kernel_termios.h.         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.         Clean up random whitespace.         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.

1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>

* sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
kernel_termios.h.
* sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
Clean up random whitespace.
* sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
* sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.

1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>

26 years ago * shlib-versions: Match alpha*. * sysdeps/unix/sysv/linux/alpha/sysca...
Richard Henderson [Sun, 1 Mar 1998 00:56:42 +0000 (00:56 +0000)]
    * shlib-versions: Match alpha*.         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.         Implement copysign* with and without __ prefix.         Likewise for fabs; use builtin for gcc 2.8.         (floor*): New.         (fdim*): New.         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.         (R_SPARC*): Match current v9 ABI.         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.         * sysdeps/generic/getresgid.c: Use prototype form because of warning.         * sysdeps/unix/sysv/linux/getdents.c: Likewise.         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.         * sysdeps/unix/grantpt.c (argv): Fix consts.         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.

1998-03-01  Richard Henderson  <rth@cygnus.com>

* shlib-versions: Match alpha*.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
* sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.

* sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
Implement copysign* with and without __ prefix.
Likewise for fabs; use builtin for gcc 2.8.
(floor*): New.
(fdim*): New.

* elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
(R_SPARC*): Match current v9 ABI.

* sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.

* sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
* sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
* sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
* sysdeps/generic/getresgid.c: Use prototype form because of warning.
* sysdeps/unix/sysv/linux/getdents.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
* sysdeps/unix/grantpt.c (argv): Fix consts.
* sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
* sysdeps/unix/sysv/linux/sigaction.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 18:32:03 +0000 (18:32 +0000)]
Update.

* misc/syslog.c: Change to allow user the interpretation of the
outcome even with syslog having no return value.

1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>

* elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
that the number of program headers is >0 (which is wrong for the
loader itself).

1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 16:53:21 +0000 (16:53 +0000)]
Update.

* Makefile (distribute): Add README.libm.

1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* time/clocktest.c (main): Correct typo: "--" -> "==".

1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>

* sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
inline function.
(copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
inline functions.

* math/libm.map (__atan2): Added.

1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 11:52:41 +0000 (11:52 +0000)]
Update.

* misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 11:47:27 +0000 (11:47 +0000)]
Update.

* misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
bug.

1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/arith.texi (Old-style number conversion): Correct
typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.

1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 10:19:10 +0000 (10:19 +0000)]
Update.

1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

* posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
but does not require it.  Handle missing argv[] values gracefully.
* posix/execl.c: Likewise.
* posix/execle.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 10:00:44 +0000 (10:00 +0000)]
Update.

1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
bit.
* sysdeps/libm-ieee754/s_isinfl.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 08:47:42 +0000 (08:47 +0000)]
Update.

1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add __adjtimex.

1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
Remove memset.

* libc.map (adjtime, adjtimex): Added for GLIBC_2.1.

26 years agoUpdate.
Ulrich Drepper [Thu, 26 Feb 1998 17:17:05 +0000 (17:17 +0000)]
Update.

1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
to 64.

* sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.

* sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
* sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.

* sysdeps/unix/make-syscalls.sh: Make versioned symbols only
for shared library.

* libc.map (adjtime, __adjtimex, adjtimex): Added for GLIBC_2.1.

* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
Added adjtimex and old_adjtimex.

* sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
New.
(osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.

* sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
symbols only for shared library.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.

* sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.

* sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
rusage pointer.

* sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
New macros.
(__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
timex and __adjtimex, respectively.

* sysdeps/unix/sysv/linux/alpha/adjtime.c: New.

* sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.

26 years agoUpdate.
Ulrich Drepper [Thu, 26 Feb 1998 16:30:54 +0000 (16:30 +0000)]
Update.

1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>

* math/test-fenv.c (print_rounding): Fix a typo in
FE_TOWARDSZERO.

* sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.

1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.

1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* Makefile.in: Disable built-in rules.

1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/i386/fpu/t_exp.c: Move to ...
* sysdeps/libm-i387/t_exp.c: ... here.

1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>

* sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
from __exp2_deltatable.

26 years agoUpdate.
Ulrich Drepper [Thu, 26 Feb 1998 11:20:59 +0000 (11:20 +0000)]
Update.

1998-02-26  Ulrich Drepper  <drepper@cygnus.com>

* nis/ypclnt.c (yp_master): Check result of strdup.
Patch by Thorsten Kukuk.

1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/ypclnt.c: Give clnt handle after error checking free, change
return codes to fix problems with rpc.nisd in YP mode on Ultra's.

1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>

* misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
Patch by Joe Keane <jgk@jgk.org>.

* misc/fstab.h (struct fstab): Change fs_type member to be const.
* misc/fstab.c: Remove casts in fs_type assignments.

1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
* sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
* sysdeps/powerpc/bits/fenv.h: Likewise.
* sysdeps/m68k/fpu/bits/fenv.h: Likewise.
* sysdeps/generic/bits/fenv.h: Likewise.
* sysdeps/alpha/fpu/bits/fenv.h: Likewise.
* sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/powerpc/test-arith.c (main): Likewise.

1998-02-25  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
the comparison macros.

1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>

* sysdeps/libm-ieee754/s_log2.c (ln2): Added.
(__log2): Fixed return values.
* sysdeps/libm-ieee754/s_log2f.c: Likewise.

1998-02-25  Ulrich Drepper  <drepper@cygnus.com>

* math/math.h (isunordered): Rename local variables to ensure
correct code.  Reported by HJ Lu.

1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>

* sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Fix syntax for
fucompip instruction.
(isless, islessequal): Fix logic.

1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* math/libm-test.c (sqrt_test): Add test for sqrt(2).
(comparisons_test): New tests for comparison macros.

26 years agoUpdate.
Ulrich Drepper [Tue, 24 Feb 1998 15:22:29 +0000 (15:22 +0000)]
Update.

1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>

* Makeconfig: Filter out frame-pointer effecting options when
compiling profiling or debugging code.
* config.h.in (internal_function): Don't define here if PROF is
defined.
* gmon/gmon.c (__moncontrol): Don't change state if already in error
state.
(__monstartup): If calloc fails set error state and mark array as
not allocated.
(_mcleanup): Don't call write_gmon if in error state.  Don't try
to free array if not  successfully allocated.

* elf/dl-load.c (STRING): Define to __STRING to enble expansion.
Include elf.h to get macro definitions.
Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.

1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>

* elf/ldd.sh.in: Add compatibility for broken old shells.
* elf/ldd.bash.in: Likewise.

1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>

* sunrpc/rpc_main.c (open_input): Check pipe return error.

* time/clocktest.c (main): Check signal return error.

1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
"/" and use do-install-program. Reported by Mark M. Kettenis.
(subdir_install):  Likewise.

1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sunrpc/rpc_sample.c: Fix typo.

* nscd/connections.c: Use locale.
* nscd/grpcache.c: Add debug messages, gidtbl should get the
  calloc result.
* nscd/nscd.c: Check if init functions fails.
* nscd/nscd_conf.c: Allow disabling of group cache.
* nscd/nscd_getgr_r.c: Fix return code if group not found.
* nscd/pwdcache.c: Fix debug messages.

1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libc.map: Add __monstartup and _mcleanup for profiling support.

1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libc.map: Export __getpagesize, for binary compatibility with
2.0.

1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* posix/globtest.sh: Use --library-path instead of
LD_LIBRARY_PATH.
* localedata/sort-test.sh: Likewise.
* localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.

1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.

* sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
kernel_sigaction): Define.
* sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
kernel_sigaction): Define.

1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* math/libm-test.c: Change epsilons for libm-ieee754.

1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/__longjmp.S: Fix race condition.
Reported by Bruno Haible <haible@ilog.fr>.

26 years agoUpdate.
Ulrich Drepper [Fri, 20 Feb 1998 18:45:36 +0000 (18:45 +0000)]
Update.

1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>

* hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
* iconvdata/8bit-gap.c: Likewise.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/iso6937.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t61.c: Likewise.

1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
feature tests by positive feature tests.

1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.

1998-02-20  Ulrich Drepper  <drepper@cygnus.com>

* elf/dlvsym.c (dlvsym_doit): More corrections.
Patch by Andreas Jaeger.

26 years agoUpdate.
Ulrich Drepper [Thu, 19 Feb 1998 18:52:30 +0000 (18:52 +0000)]
Update.

1998-02-19  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.

1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: More reordering for GLIBC_2.1 symbols.

1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* libc.map: Move some functions from version GLIBC_2.0 to
GLIBC_2.1, reorder declarations.

1998-02-19  Ulrich Drepper  <drepper@cygnus.com>

* resolv/gethnamaddr.c (addrsort): Make this function extern.
Patch by zab@thebrain.grumblesmurf.net.

1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/libnsl.map: NIS+ support is new in glibc 2.1, add
NIS+ functions with version GLIBC_2.1.

1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
with 2.0 binaries.  Reported by Thorsten Kukuk.

1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/dlvsym.c (dlvsym_doit): Correct last patch.

* elf/dlsym.c (dlsym_doit): Likewise.

1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/link.h: Correct typos.

* iconv/iconv_prog.c: Correct typo.

* elf/dl-open.c (_dl_open): Assign correct value to new->l_global.

26 years agoUpdate.
Ulrich Drepper [Wed, 18 Feb 1998 17:59:16 +0000 (17:59 +0000)]
Update.

1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>

* iconv/Makefile: Add rules to build and install iconv program.
* iconv/iconv_prog.c: New file.

1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>

* elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
_dl_lookup_symbol_skip call.
* elf/dlvsym.c (dlvsym_doit): Likewise.

1998-02-18  Ulrich Drepper  <drepper@cygnus.com>

* libio/iovsscanf.c: Do not include errno.h.

26 years agoUpdate.
Ulrich Drepper [Wed, 18 Feb 1998 11:00:24 +0000 (11:00 +0000)]
Update.

1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/dl-load.c (add_name_to_object): Don't translate strings.
* elf/dl-minimal.c (_strerror_internal): Define it here to avoid
pulling in the whole error list.
(__dcgettext, dcgettext): Removed.
* libc.map: Export _strerror_internal.

1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/fpu/t_exp.c: New file.

1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
everything with version GLIBC_2.1.
* hesiod/libnss_hesiod.map: Likewise.

1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/arith.texi (Old-style number conversion): This node is a
section, not a subsection.

1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.

1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/rtld.c (dl_main): Make sure that the library search paths
have been initialized before the first call to _dl_map_object.

1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (common-generated): Add libc_pic.os.

1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
of the executable.

1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years ago(common-generated): Add libc_pic.os.
Ulrich Drepper [Wed, 18 Feb 1998 09:12:35 +0000 (09:12 +0000)]
(common-generated): Add libc_pic.os.

26 years agoUpdate.
Andreas Schwab [Wed, 18 Feb 1998 01:33:32 +0000 (01:33 +0000)]
Update.

Wed Feb 18 10:28:58 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/fpu/t_exp.c: New file.

26 years agoStub file
Andreas Schwab [Wed, 18 Feb 1998 01:32:32 +0000 (01:32 +0000)]
Stub file

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 1998 18:43:17 +0000 (18:43 +0000)]
Update.

1998-02-17  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
to global errno variable anymore.

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 1998 18:23:42 +0000 (18:23 +0000)]
Update.

1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-load.c (open_path): Take extra argument PRELOADED.
If PRELOADED is nonzero check in case of an SUID application
whether the shared object has the SUID bit set.
Fix some other problems with handling shared objects in system
specific directories.
(_dl_map_object): Also take extra parameter and pass it to open_path.
* elf/link.h (_dl_map_object): Correct prototype and comment.
* elf/rtld.c (dl_main): Call _dl_map_object correctly.
* elf/dl-open.c (_dl_open): Likewise.
* elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.

* sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.

* math/libm-test.c (modf_test): Add test for 1.5.

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 1998 16:14:44 +0000 (16:14 +0000)]
Update.

1998-02-17  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
0 to get always an int.

Make compatible with older kernels.  Patch by Richard Henderson.

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 1998 15:51:21 +0000 (15:51 +0000)]
Update.

1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* math/libm.map: Move all symbols that are new in glibc 2.1 to
version GLIBC_2.1.

1998-02-17  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfscanf.c (inchar): Check c for being EOF before
trying to read another character.

1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
name to lowercase.

* nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
name to lowercase, add test for big enough buffer.

1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
Make compatible with older kernels. Patch by Richard Henderson.

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 1998 15:15:51 +0000 (15:15 +0000)]
Update.

1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-load.c (open_path): Use __xstat instead of stat.

* localedata/tst-locale.sh: Comment out first test for now.

1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>

* sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
as 1.
* sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
Likewise.

* libio/iogetline.c (_IO_getline_info): Renamed from
_IO_getline.
(_IO_getline): Just call _IO_getline_info.

* libio/libioP.h (_IO_getline_info): New declaration.

* libc.map (_IO_getline_info, __write): Added.

1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
const char* to shut up gcc.

1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>

* eld/dl-open.c (_dl_open): Assign correct value to new->l_global.
Patch forwarded by Cristian Gafton <gafton@redhat.com>.

* math/math.h: Define M_* constants always as `double' and add new
macros M_*l which are of type `long double'.
* sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
* sysdeps/libm-ieee754/s_cacosl.c: Likewise.
* sysdeps/libm-ieee754/s_casinhl.c: Likewise.
* sysdeps/libm-ieee754/s_catanhl.c: Likewise.
* sysdeps/libm-ieee754/s_catanl.c: Likewise.
* sysdeps/libm-ieee754/s_clog10l.c: Likewise.
* sysdeps/libm-ieee754/s_clogl.c: Likewise.
* math/libm-tst.c: Likewise.

* sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
define as long double unconditionally.

1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/arith.texi (Old-style number conversion): Correct some
typos.

1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>

* time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
Restore.

* timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.

26 years agoUpdate.
Ulrich Drepper [Mon, 16 Feb 1998 18:20:31 +0000 (18:20 +0000)]
Update.

* elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
on $(rtld-ldscript).

26 years agoUpdate.
Ulrich Drepper [Mon, 16 Feb 1998 18:16:04 +0000 (18:16 +0000)]
Update.

1998-02-16  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
starting from 0 not only from `from'.
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

26 years agoUpdate.
Ulrich Drepper [Mon, 16 Feb 1998 17:42:46 +0000 (17:42 +0000)]
Update.

1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c (dl_main): Recognize --library-path parameter and
pass value (or NULL) to _dl_init_paths.
* elf/dl-load.c (_dl_init_paths): Change to take one parameter,
replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
environment variable.
* elf/link.h: Change prototype for _dl_init_paths.
* elf/dl-support.c: Pass NULL in _dl_init_paths call.

* localedata/Makefile (distribute): Add test files.

1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
test1.def, test2.def, test3.def, test4.def}: Simple input files
for localedef. Contributed by Yung-Ching Hsiao
<yhsiao@cae.wisc.edu>.

* localedata/Makefile (tests): Call tst-locale.sh.

* localedata/tst-locale.sh: New file, regression tests for some
localedef problems.

1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.

* nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
terminated.
* nis/nss_nisplus/nisplus-network.c: Likewise.
* nis/nss_nisplus/nisplus-proto.c: Likewise.
* nis/nss_nisplus/nisplus-rpc.c: Likewise.
* nis/nss_nisplus/nisplus-service.c: Likewise.

Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
and support generating thread safe RPC code.
* sunrpc/rpc_main.c: Add changes.
* sunrpc/rpc_clntout.c: Likewise.
* sunrpc/rpc_cout.c: Likewise.
* sunrpc/rpc_hout.c: Likewise.
* sunrpc/rpc_parse.c: Likewise.
* sunrpc/rpc_sample.c: Likewise.
* sunrpc/rpc_scan.c: Likewise.
* sunrpc/rpc_svcout.c: Likewise.
* sunrpc/rpc_util.c: Likewise.
* sunrpc/rpc_util.h: Add new structs and prototypes.
* sunrpc/proto.h: Remove prototypes for static functions.

1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* locale/programs/ld-messages.c (messages_finish): Don't skip
error checking when being quiet.
* locale/programs/ld-ctype.c (ctype_finish): Likewise.
(set_class_defaults): Likewise.
* locale/programs/charmap.c (parse_charmap): Likewise.
* locale/programs/ld-collate.c (collate_finish): Likewise.
* locale/programs/ld-monetary.c (monetary_finish): Likewise.
* locale/programs/ld-time.c (time_finish): Likewise.
* locale/programs/locfile.c (write_locale_data): Likewise.

* locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
unknown characters and empty ranges.
* locale/programs/ld-collate.c (collate_order_elem): When
processing an ellipsis properly form a linked list in the result
table, fix typo when allocating ordering array.
[PR libc/419]

1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/Makefile (ld-map): Define.
(rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
`$(rtld-ldscript)'.
($(objpfx)ld.so): Combine the two versions of this rule.  Depend
on $(ld-map).
(rtld-link): Combine the two versions of this definition.  Fixed
to make it work when no symbol versioning is used.

1998-02-16  Ulrich Drepper  <drepper@cygnus.com>

* Makeconfig (build-program-cmd): Use --library-path parameter to
ld.so instead of environment variable.

* sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
* sunrpc/rpc_main.c: Remove support for -$$ option again.

1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* Make-dist: Respect with-cvs setting.
* MakeTAGS (all-pot): Likewise.
* sysdeps/sparc/sparc32/Makefile: Likewise.
* sysdeps/mach/hurd/Makefile: Likewise.
* stdlib/Makefile: Likewise.
* posix/Makefile: Likewise.
* intl/Makefile: Likewise.
* po/Makefile (linguas): Likewise

26 years agoUpdate.
Ulrich Drepper [Sun, 15 Feb 1998 23:23:43 +0000 (23:23 +0000)]
Update.

1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/ypclnt.c (yp_all): Remove error message, user should print it.

26 years agoUpdate.
Ulrich Drepper [Sun, 15 Feb 1998 20:23:42 +0000 (20:23 +0000)]
Update.

* libc.map: Add __strcasecmp.

26 years agoUpdate.
Ulrich Drepper [Sun, 15 Feb 1998 19:31:34 +0000 (19:31 +0000)]
Update.

1998-02-15  Ulrich Drepper  <drepper@cygnus.com>

* nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
module.

* nss/getXXent_r.c: If no more module is found don't try to call
setXXent functions but leave unsuccessfully.

* malloc/obstack.h: Cleanups.

* sysdeps/wordsize-32/stdint.h: New file.
* sysdeps/wordsize-64/stdint.h: New file.
* sysdeps/generic/stdint.h: New file.
* sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
* sysdeps/wordsize-64/inttypes.h: Likewise.
* stdlib/Makefile (headers): Add stdint.h.

1998-02-03  Paul Eggert  <eggert@twinsun.com>

* malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.

1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* timezone: New directory.
* time/README, time/africa, time/antarctica, time/asia,
time/australasia, time/backward, time/checktab.awk,
time/etcetera, time/europe, time/factory, time/ialloc.c,
time/iso3166.tab, time/leapseconds, time/northamerica,
time/pacificnew, time/private.h, time/scheck.c,
time/solar87, time/solar88, time/solar89, time/southamerica,
time/systemv, time/test-tz.c, time/tzfile.h,
time/tzselect.ksh, time/yearistype, time/zdump.c,
time/zic.c, time/zone.tab: Moved to timezone.
* time/tzfile.c: Include tzfile.h from timezone subdir.
* time/tzset.c: Likewise.
* time/Makefile: Cut out all code relating to timezones...
* timezone/Makefile: ...and paste it in here.
* Makefile (subdirs): Add timezone.

1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>

* libc.map (_sys_nerr): Added.

* sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
versioned symbol.

1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
Reported by Craig Metz <cmetz@inner.net>.

1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
instead of strcasecmp.
* nss/nss_files/files-alias.c (get_next_alias): Likewise.

* wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.

1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>

* socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
Patch by Dean Gaudet <dgaudet@arctic.org>.

1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/Dist: Add getresgid.c and getresuid.c.

1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
with no poll syscall, just include the BSD version.
* sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
kernel without the syscall, include the stub version.
* sysdeps/unix/sysv/linux/getresgid.c: Likewise.
* sysdeps/generic/getresuid.c: New file.
* sysdeps/generic/getresgid.c: New file.

1998-02-15  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfscanf.c: Correct last change a bit.

26 years agoUpdate.
Ulrich Drepper [Fri, 13 Feb 1998 17:54:15 +0000 (17:54 +0000)]
Update.

1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>

* elf/Makefile: Don't use --version-script parameter to link ld.so
unconditionally.

1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>

* math/Makefile: Add t_exp.
* math/libm-test.c: Tighten accuracy bounds for exp(), correct
constants.
* math/test-reduce.c: Remove temporarily, it seems to be broken.
* sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
* sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
better accuracy.
* sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
algorithm for very large/very small arguments.
* sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
correct algorithm for very large/very small arguments; adjust for
new table.
* sysdeps/libm-ieee754/t_exp.c: New file.
* sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.

* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
back, with comment that explains what breaks when you remove it :-(.

* localedata/xfrm-test.c: Avoid integer overflow.

* stdlib/strfmon.c: char is unsigned, sometimes.

*sysdeps/powerpc
* sysdeps/powerpc/Makefile: Remove quad float support.
* sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
* sysdeps/powerpc/quad_float.h: Likewise.
* sysdeps/powerpc/test-arith.c: Likewise.
* sysdeps/powerpc/test-arithf.c: Likewise.

* sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
* sysdeps/generic/s_exp2f.c: Likewise.

* sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
don't try anything if _SOFT_FLOAT.

1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
* locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
* wctype/wctype.c: Likewise.
* wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
changed.  They are incompatible with the _ISxxx values from
<ctype.h> on little endian machines.
(_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
bit number.  This fixes the real bug and restores the integrity of
the ctype locale file.
* wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
* wctype/wcfuncs_l.c: Likewise.
* wctype/wcextra.c: Likewise.
* wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
byte swapping.

1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
into .bss segment instead of .common, so that aliases on it work.

* sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
.size directives, put into .bss segment instead of initializing it
to 4.

1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>

* libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.

* version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
functions.
Make names without __ weak aliases.
(__libc_release, __libc_version): Make them static.

* include/gnu/libc-version.h: New file.
* Makefile (headers): Add gnu/libc-version.h.

1998-02-13  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/stdlib.h (struct drand48_data): Leave X to user macros
and use x for member name.
Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.

* stdlib/drand48.c: Change according to member name change.
* stdlib/drand48_r.c: Likewise.
* stdlib/lcong48_r.c: Likewise.
* stdlib/lrand48.c: Likewise.
* stdlib/lrand48_r.c: Likewise.
* stdlib/mrand48.c: Likewise.
* stdlib/mrand48_r.c: Likewise.
* stdlib/seed48.c: Likewise.
* stdlib/seed48_r.c: Likewise.
* stdlib/srand48_r.c: Likewise.

1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nss/test-netdb.c: Add some more test cases.

1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>

* libio/iovsscanf.c: Undo last change modifying errno.

1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* stdio-common/vfscanf.c: Never try to read another character
after EOF.  Don't decrement read_in after EOF, it wasn't
incremented in the first place.
(NEXT_WIDE_CHAR): Set First, not first.

1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>

* db/Makefile ($(inst_libdir)/libndbm.a,
$(inst_libdir)/libndbm.so): New targets.
* db2/Makefile: Likewise.

1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>

* sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.

1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
<streambuf.h>.
* sysdeps/unix/sysv/linux/_G_config.h: Likewise.

1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
versioned symbols.

1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>

* libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
_dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
Added for libdl.so.

* elf/rtld.map: New file.  Needed to define the GLIBC_2.*

* manual/socket.texi (Host Address Functions): Clarify description
* sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):

26 years agoUpdate.
Ulrich Drepper [Thu, 12 Feb 1998 18:22:41 +0000 (18:22 +0000)]
Update.

1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
extra syscall.

* grp/Makefile: Fix logic when checking for thread package.
* pwd/Makefile: Likewise.

1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>

* elf/Makefile (rtld-map): Replaced by libc-map.

* elf/rtld.map: Removed.

* libc.map (__libc_enable_secure, _dl_catch_error,
_dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
_dl_default_scope, _dl_global_scope_end, _dl_init_next,
_dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
_dl_object_relocation_scope, _dl_relocate_object,
_dl_signal_error, _dl_starting_up, _dl_sysdep_start,
_r_debug): Added for ld.so.

1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>

* libio/iofclose.c: Check PIC && DO_VERSIONING instead of
DO_VERSIONING.
* libio/iofdopen.c: Ditto.
* libio/iofopen.c: Ditto.
* libio/oldfileops.c: Ditto.

* libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
version GLIBC_2.1.

* sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
oldsiglist from sysdep_routines and shared-only-routines.

* sysdeps/unix/sysv/linux/errlist.c: New.
* sysdeps/unix/sysv/linux/errlist.h: New.
* sysdeps/unix/sysv/linux/sizes.h: New.
* sysdeps/unix/sysv/linux/alpha/sizes.h: New.
* sysdeps/unix/sysv/linux/sparc64/sizes.h: New.

* sysdeps/unix/sysv/linux/oldsiglist.c: Removed.

* sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
(__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
directive.

* sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.

* sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
(oldsiglist.c): Removed.

* sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
(_sys_siglist): Use SYS_SIGLIST instead.
(_sys_nerr): Use SYS_NERR instead.

* sysdeps/gnu/errlist.c: Rebuilt.

1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>

* elf/Makefile (others-static): New, set to ldconfig.
($(objpfx)ldconfig): Removed.

* Rules (binaries-all, binaries-static, binaries-shared): New.
Create targets for $(binaries-static) and $(binaries-shared).

* Makeconfig (+link-static, link-libc-static,
link-extra-libs-static): New for static linking.

26 years agoUpdate.
Ulrich Drepper [Wed, 11 Feb 1998 14:49:20 +0000 (14:49 +0000)]
Update.

1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/memory.texi (Using the Memory Debugger): Fix typo.

* math/libm-test.c (modf_test): Add one more test for modf.

26 years agoUpdate.
Ulrich Drepper [Wed, 11 Feb 1998 14:40:03 +0000 (14:40 +0000)]
Update.

1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>

* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
Rename from __libc_have_rt_sigs and leave as COMMON data.

26 years agoUpdate.
Ulrich Drepper [Wed, 11 Feb 1998 13:11:40 +0000 (13:11 +0000)]
Update.

1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>

* sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
of __finite.

26 years agoUpdate.
Ulrich Drepper [Wed, 11 Feb 1998 11:59:55 +0000 (11:59 +0000)]
Update.

1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>

* stdlib/strtod.c (STRTOF): Don't call lshift with zero count.

* isomac.c: Move to...
* stdlib/isomac.c: ...here.
* Makefile: Move rules for handling isomac...
* stdlib/Makefile: ...to here.

26 years agoUpdate.
Ulrich Drepper [Wed, 11 Feb 1998 08:57:21 +0000 (08:57 +0000)]
Update.

1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>

* misc/tst-efgcvt.c: Add yet more tests.
* misc/efgcvt_r.c: And correct for these tests again.
Reported by HJ Lu.

26 years agoUpdate.
Ulrich Drepper [Tue, 10 Feb 1998 20:06:30 +0000 (20:06 +0000)]
Update.

1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>

* misc/tst-efgcvt.c: Add more tests.
* misc/efgcvt_r.c: Correct result for above new tests.

1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>

* misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
NDIGIT <= 0.

1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>

* Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
if the programs weren't built.

1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
FE_TONEAREST, soldier on regardless and do the best we can.
* sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.

1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
_STDIO_H, before including <bits/stdio_lim.h>.

* sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.

* io/fts.c (fts_build): Don't try to use d_type if it doesn't
exist.

* sysdeps/arm/sys/ucontext.h: New file.

1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>

* manual/stdio.texi (Formatted Output Functions): Explicitly say
that the return value from snprintf() does not count the
terminating NUL as a character.

1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>

* manual/users.texi: Rewrite to describe correct POSIX behaviour,
add description for sete[ug]id and general cleanup.
Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.

1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile (parent-clean): Don't remove makefile fragments here.
(postclean): New variable.
(clean): Remove makefile fragments here.
(realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
(generated): Add isomac and isomanc.out.
* Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
avoid-generated is set.
(postclean-generated): Add soversion.mk.
($(common-objpfx)version.mk): Don't include if avoid-generated is
set.
* Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
avoid-generated is set.
(common-generated): Add libc.so and libc.so$(libc.so-version).
(generated): Add versioned libraries.
(common-mostlyclean): Also remove %.so and %_pic.a.
* csu/Makefile (generated): Add abi-tag.h.
* db2/Makefile (extra-objs): Add getlong.o.
* elf/Makefile (generated): Add ld.so, ldd and
$(rtld-installed-name).
(others): Add ldconfig here instead of ldconfig.o to extra-objs.
* malloc/Makefile (generated): Add mtrace.
* po/Makefile: Don't include version.mk, not needed any more.
* sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
* sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
syscall.h -> sys/syscall.h.
(common-generated): Add s-proto.d.
(postclean-generated): Add sysd-syscalls.
* localedata/Makefile (test-output): Add all output files.
(generated): Add test-input and test-output.
(generated-dirs): Add all the dirs.

1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile (test-output, generated, generated-dirs): New
variables.

1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>

* resolv/nss_dns/dns-host.c: Various code cleanups.

1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>

* resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
From Philip Blundell <pb@nexus.co.uk>.
* resolv/nss_dns/dns-host.c (getanswer_r): Ditto.

1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
Suggested by debian/sparc porters.

1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
for ecvt and fcvt.

1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>

* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
__fxstat instead of stat and fstat.  Use namespace clean __stpcpy.

* signal/signal.h: Always define sigset_t if __need_sigset_t is
defined even if __USE_POSIX is not defined.

1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
to support obsolete tty major numbers correctly.

1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>

* login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
directory first and ignore install error.

* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
128 from ptyno and fix a typo for the BSD style pty.

1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
syscalls.list's.

1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
getresuid and getresgid.

* sysdeps/unix/sysv/linux/getresuid.c: New file.
* sysdeps/unix/sysv/linux/getresgid.c: New file.

* sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
s_getres[ug]id.

* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.

1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>

* nscd/grpcache.c: Include <stdlib.h>.

1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>

* stdlib/atoll.c: Fix comments.

* sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
* sysdeps/posix/ttyname_r.c: Ditto.

1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
__USE_MISC, independent of __USE_UNIX98.

1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>

* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
Rename from __libc_have_rt_sigs and leave as COMMON data.

1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>

* Makeconfig (CFLAGS-.os): Kill -fno-common.
* Makerules (libc.so): Prelink libc_pic.a, allocating commons.

* libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
* elf/rtld.map: New file.  Needed to define the GLIBC_2.*
version symbols.
* include/libc-symbols.h (symbol_version, default_symbol_version):
Provide asm versions and correct !DO_VERSIONING versions.
* sysdeps/unix/make-syscalls.sh: Recognize version symbols in
the weak symbol list.

* sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
Rename from __libc_have_rt_sigs and leave as COMMON data.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.

1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sunrpc/Makefile: Correct dependencies of rpcgen.

1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>

* nscd/Makefile: Fix test for available linuxthreads add-on.
Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.

1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.

1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/gnu/Makefile: Respect with-cvs variable.

* manual/errno.texi (Error Messages): Correct description of
strerror_r.  Pointed out by jonas@bagge.se.

1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/socket.texi (Host Address Functions): Clarify description
of inet_network.

1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/grantpt.c (argv): Move const to toplevel.
(grantpt): Delete superfluous cast.

1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
elf/ldso_install instead of elf/subdir_install.
(elf/ldso_install): New target.

* elf/Makefile (ldso_install): New target.

1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
of 1998-01-06.

1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
constant expressions.

1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
for __nss_configure_lookup.
(output_hostent): Remove unused variable.

1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* string/tst-inlcall.c: Fix format string.

1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* inet/netinet/in.h: Rename second parameter of bindresvport to
avoid buggy gcc warning. [PR libc/412]

26 years ago(CFLAGS-.os): Kill -fno-common. ($(common-objpfx)soversions.mk): Don't generate if...
Ulrich Drepper [Tue, 10 Feb 1998 19:42:58 +0000 (19:42 +0000)]
(CFLAGS-.os): Kill -fno-common. ($(common-objpfx)soversions.mk): Don't generate if avoid-generated is set. (postclean-generated): Add soversion.mk. ($(common-objpfx)version.mk): Don't include if avoid-generated is set.

26 years ago* include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc. * include/rpcsvc/nis_tags.h:...
Richard Henderson [Wed, 4 Feb 1998 10:32:05 +0000 (10:32 +0000)]
* include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc. * include/rpcsvc/nis_tags.h: Likewise. * include/rpcsvc/nislib.h: Likewise.

* include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
* include/rpcsvc/nis_tags.h: Likewise.
* include/rpcsvc/nislib.h: Likewise.

26 years ago* sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF. * sysdeps...
Richard Henderson [Wed, 4 Feb 1998 10:17:52 +0000 (10:17 +0000)]
* sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF. * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos. * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval): Follow POSIX and make tv_sec a time_t. * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle new tv64 syscall as well as fall back to tv32. * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.

1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.

* sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
Follow POSIX and make tv_sec a time_t.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
new tv64 syscall as well as fall back to tv32.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.

26 years agoUpdate.
Ulrich Drepper [Sun, 1 Feb 1998 17:06:45 +0000 (17:06 +0000)]
Update.

1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add _h_errno.
* inet/herrno.c: Make _h_errno weak alias.

* login/Makefile (distribute): Add pty-internal.h.

* nscd/Makefile (distribute): Add all the files missing.

* signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
are available.

* stdio-common/tstscanf.c: Rewrite a bit to continue after errors
and report status at the end.

* sysdeps/unix/sysv/linux/syscalls.list: Add lchown.

* sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
variable.
* sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.

1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>

* configure.in: Fix --enable-add-ons code.

1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
[PR libc/441]

* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
occurence in cache.  Reported by Rudolf Leitgeb
<leitgeb@leland.stanford.edu>.
[PR libc/440]

1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>

* libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
that it never is EINTR (which is tested for in _IO_vfscanf).

* Makefile.in: Call sub-make with CVSOPTS.

* elf/Makefile (distribute): Add dl-procinfo.h.

* sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.

1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>

* version.h (VERSION): Bump to 2.0.92.

1998-01-31  Phil Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
alias for __new_sys_siglist.

thread and not pthread_detach.

26 years agoUpdate.
Ulrich Drepper [Sat, 31 Jan 1998 16:00:06 +0000 (16:00 +0000)]
Update.

1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>

* grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
getgrgid_r.c if thread package is available.
* pwd/Makefile: Likewise.
* grp/getgrnam_r.c: Remove USE_NSCD definition.
* grp/getgrgid_r.c: Likewise.
* pwd/getpwnam_r.c: Likewise.
* pwd/getpwuid_r.c: Likewise.

1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>

* nss/getXXbyYY_r.c: If NSS function reports too small buffer return
with error to allow user intervention.
* nss/getXXent_r.c: Likewise.

* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.

26 years agoUpdate.
Ulrich Drepper [Sat, 31 Jan 1998 13:28:12 +0000 (13:28 +0000)]
Update.

1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
AT_PLATFORM string.  Pretty print AT_BASE info.

* sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
(_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
* sysdeps/generic/dl-procinfo.h: New file.
* sysdeps/unix/sysv/linux/dl-procinfo.h: New file.

26 years agoUpdate.
Ulrich Drepper [Sat, 31 Jan 1998 12:11:10 +0000 (12:11 +0000)]
Update.

1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>

* nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.

* nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
thread and no pthread_detach.

* nscd/nscd.c: Rewrite to use argp instead of getopt.

* config.make.in: Likewise.

26 years agoUpdate.
Ulrich Drepper [Sat, 31 Jan 1998 08:39:55 +0000 (08:39 +0000)]
Update.

1998-01-31  Phil Blundell  <philb@gnu.org>

* configure.in: Add --without-cvs option to suppress automatic
checkin of regenerated files.
* config.make: Likewise.
* Makefile: Respect with-cvs setting.
* Makerules: Likewise.

* configure.in: Allow the standalone ARM port to be configured.

1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* grp/getgrgid_r.c: Define USE_NSCD.
* grp/getgrnam_r.c: Likewise.
* pwd/getpwuid_r.c: Likewise.
* pwd/getpwnam_r.c: Likewise.

* sysdeps/unix/inet/Subdirs: Add nscd subdir.

* nss/getXXbyYY_r.c: Try at first nscd.

* nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
* nscd/connections.c: New file.
* nscd/dbg_log.c: New file.
* nscd/dbg_log.h: New file.
* nscd/grpcache.c: New file.
* nscd/nscd.c: New file.
* nscd/nscd.h: New file.
* nscd/nscd_conf.c: New file.
* nscd/nscd_stat.c: New file.
* nscd/pwdcache.c: New file.

* nscd/nscd_getgr_r.c: New, client code, linked into libc.
* nscd/nscd_getpw_r.c: Likewise.
* nscd/nscd_proto.h: New, prototypes for client functions.

* nscd/nscd.conf: New, example for a configuration file.
* nscd/nscd.init: New, example for a startup script.

* nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
avoid deadlocks.
* nscd/getgrnam_r.c: Likewise.
* nscd/getpwnam_r.c: Likewise.
* nscd/getpwuid_r.c: Likewise.

* nis/nis_cache.c: New file.
* nis/nis_cache2.h: New file.
* nis/nis_cache2_xdr.c: New file.

26 years agoUpdate.
Ulrich Drepper [Sat, 31 Jan 1998 02:56:01 +0000 (02:56 +0000)]
Update.

1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>

* intl/Makefile: Use CVSOPTS in cvs invocation.
* po/Makefile: Likewise.
* posix/Makefile: Likewise.
* stdlib/Makefile: Likewise.

26 years agoUpdate.
Ulrich Drepper [Sat, 31 Jan 1998 02:43:20 +0000 (02:43 +0000)]
Update.

1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>

* misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
[PR libc/410]
* misc/Makefile (tests): Add tst-efgcvt.
* misc/tst-efgcvt.c: New file.

* manual/arith.texi (Parsing of Integers): Correct description of
strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
[PR libc/396]
* misc/lsearch.c (lsearch): Return a pointer to the new element
if one was "allocated".
* string/strsignal.c: NSIG is not a valid index into
_sys_siglist.  Don't zap the last character of the "Unknown
signal" message.

26 years agoUpdate.
Ulrich Drepper [Fri, 30 Jan 1998 15:24:38 +0000 (15:24 +0000)]
Update.

1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>

* posix/regex.c: Add some more cleanups by Akim Demaille.

1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>

* signal/signal.h: Revert last change.
* string/strsignal.c: Regard signal number NSGI as illegal.
* sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
members.

26 years agoUpdate.
Ulrich Drepper [Fri, 30 Jan 1998 14:44:06 +0000 (14:44 +0000)]
Update.

1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>

* Makefile.in: Add comment about CVSOPTS Makefile variable.
* Makerules: Use CVSOPTS in cvs invocation.
* Makefile: Likewise.
* MakeTAGS: Likewise.
* Make-dist: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 30 Jan 1998 13:40:43 +0000 (13:40 +0000)]
Update.

1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/memmem.c: Correct last change.

26 years agoUpdate.
Ulrich Drepper [Fri, 30 Jan 1998 13:22:30 +0000 (13:22 +0000)]
Update.

1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.

1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/ypclnt.c: Try at first to use the binding file from ypbind
before using RPC.

26 years agoUpdate.
Ulrich Drepper [Fri, 30 Jan 1998 12:53:20 +0000 (12:53 +0000)]
Update.

1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/memory.texi (Heap Consistency Checking): mcheck is
declared in <mcheck.h>.
Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]

1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/generic/memmem.c (memmem): An empty needle is at the
beginning of haystack.

1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nss/nss_files/files-service.c: Correct last patch.

1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
__libc_have_rt_sigs.
* sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
including <bits/setjmp.h>.
* sysdeps/sparc/sparc32/setjmp.S: Likewise.
Patch from the Debian glibc/SPARC package.

1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>

* sysdeps/alpha/bzero.S: Fix a typo.
* sysdeps/alpha/htonl.S: Ditto.
* sysdeps/alpha/htons.S: Ditto.

26 years agoConvert hostname to lowercase for NIS query.
Ulrich Drepper [Fri, 30 Jan 1998 12:11:24 +0000 (12:11 +0000)]
Convert hostname to lowercase for NIS query.

1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.

26 years agoUpdate.
Ulrich Drepper [Fri, 30 Jan 1998 11:44:34 +0000 (11:44 +0000)]
Update.

1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>

* include/cpio.h: Move to ...
* posix/cpio.h: ...here.

* locale/programs/ld-collate.c: Fix typo.

* signal/signal.h: Declare _sys_siglist with NSIG+1 elements.

* stdio-common/tiformat.c: Add checks for %#.0o and friends.

* login/utmp_file.c (pututline_file): Don't always report success
if similar entry is found.  Patch by Mark M. Kettenis.

1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>

* manual/Makefile: Don't try to install the info files if makeinfo
is not available.

1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
kernel's network ioctls, rather than using <linux/sockios.h> to
get them.  This way we are sure of maintaining compatibility if
the kernel interface should change.

1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.

1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>

* sysdeps/unix/sysv/linux/netrose/rose.h: New file.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.

1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>

Implement System V pseudoterminal handling.

* login/Makefile
(routines): Add getpt, grantpt, unlockpt, ptsname.
(libutil-routines): Remove pty. Add openpty, forkpty.
(distribute): New internal header pty-internal.h.
(others): Add the helper program, pt_chown.
(install-others): Install it, in $(libexecdir), mode 4755.

* login/pty-internal.h: New file.
* login/openpty.c: New file.
* login/forkpty.c: New file.
* login/programs/pt_chown.c: New file.

* libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
* stdlib/stdlib.h: Prototype them.

* config.make.in: Define $(libexecdir).
* Makeconfig: Define $(inst_libexecdir).

* sysdeps/generic/pty.c: Removed.
* sysdeps/unix/sysv/linux/pty.c: Removed.

* sysdeps/generic/getpt.c: Stub out.
* sysdeps/generic/grantpt.c: Likewise.
* sysdeps/generic/ptsname.c: Likewise.
* sysdeps/generic/unlockpt.c: Likewise.

* sysdeps/unix/grantpt.c: New file.
* sysdeps/unix/bsd/getpt.c: New file.
* sysdeps/unix/bsd/unlockpt.c: New file.
* sysdeps/unix/sysv/linux/getpt.c: New file.
* sysdeps/unix/sysv/linux/ptsname.c: New file.
* sysdeps/unix/sysv/linux/unlockpt.c: New file.

1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>

* localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.

1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nss/Makefile (tests): Add rule for test-netdb.c.

* nss/test-netdb.c: New file.

1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
really kept as a variable.  Patch by Richard Henderson,
reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.

* elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
* elf/genrtldtbl.awk: Mark machine dependent directory of generated
entries as not existing.

1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* stdio-common/vfprintf.c (process_arg): Fix printing of octal
zero in alternate form with precision of zero, which must produce
"0".  Add braces to avoid ambiguous `else'.

1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
problem with strncpy.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/comapt-spwd.c: Likewise.

1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* assert/assert.h (assert_perror): Correct test for errnum.  Patch
by uch@nop.or.jp. [PR libc/437]

1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* locales/pl_PL: Fix int_curr_symbol.

1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nis/nis_cache.c: Include <unistd.h> for declaration of close.

1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* stdio-common/test-popen.c: Include <errno.h>.

* sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
close.

* inet/getnetgrent_r.c: Include <errno.h>.

* db2/db/db_conv.c: Include <string.h> for memcpy.

* gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
so that memcpy is declared.

* iconv/iconv_open.c: Include <stdlib.h> for alloca.

* misc/init-misc.c: Remove unneeded inclusion of <errno.h>.

1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
overflow while reading line with fgets.
* grp/fgetgrent_r.c (__fgetgrent_r): Likewise.

1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
unsigned short, not short.
Reported by Andreas Jaeger.

1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
(ccept->accept).

* sysdeps/generic/inttypes.h: Fix spelling.

1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.

* sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.

1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/printf.h (struct print_info): Add new bitfield is_char.
* stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
field for hh modifier.
* stdio-common/vfprint.c: Use is_char field and do not depend in
is_short having the value 2.
Bug reported by Andreas Jaeger.

1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* libio/freopen.c (freopen): Call _IO_old_freopen only if defined
PIC && DO_VERSIONING.

1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Rules: Add rules for $(common-objpfx)dummy$o.

26 years agoDefine $(inst_libexecdir).
Ulrich Drepper [Fri, 30 Jan 1998 10:51:27 +0000 (10:51 +0000)]
Define $(inst_libexecdir).

26 years ago* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the unimplemented OSF/1 definit...
Richard Henderson [Mon, 26 Jan 1998 22:52:51 +0000 (22:52 +0000)]
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the unimplemented OSF/1 definitions so that they are not accidentally seen.

* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
unimplemented OSF/1 definitions so that they are not accidentally seen.

26 years ago* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration of the trampolin...
Richard Henderson [Mon, 26 Jan 1998 22:04:53 +0000 (22:04 +0000)]
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration of the trampoline function into the macro. * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change; kernel 2.1.82 has this fixed. * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.

1998-01-26  Richard Henderson  <rth@cygnus.com>

* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
of the trampoline function into the macro.
* sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
kernel 2.1.82 has this fixed.

* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
* sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.

26 years agoUpdate.
Ulrich Drepper [Sun, 25 Jan 1998 19:48:18 +0000 (19:48 +0000)]
Update.

1998-01-26  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
support sigaction on kernels > 2.1.7x.

1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
if it is empty.

* elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
Patch by David Engel <david@sw.ods.com>.

* configure.in: Fix another typo in --enable-add-ons code.

1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/siglist.c: Add copyright text.

26 years agoUse most recent localedata from glibc-2.0.91.
Ulrich Drepper [Sun, 25 Jan 1998 19:46:25 +0000 (19:46 +0000)]
Use most recent localedata from glibc-2.0.91.

1997-10-09 04:56  Ulrich Drepper  <drepper@cygnus.com>

* locales/is_IS: Update from Debian version.

1997-08-29 03:16  Ulrich Drepper  <drepper@cygnus.com>

* tst-fmon.c: New file.  strfmon test program.
* tst-fmon.sh: New file.  Script to run strfmon test.
* fmon-de_DE.exp: New file.  Expected result of strfmon test for de_DE.
* fmon-en_US.exp: New file.  Expected result of strfmon test for en_US.

* locales/cs_CZ: Update from author.

26 years agoUpdate.
Ulrich Drepper [Sun, 25 Jan 1998 17:17:39 +0000 (17:17 +0000)]
Update.

1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nss/nss_files/files-network.c: Correct order of parameters for
getnetbyaddr.

26 years agoUpdate.
Ulrich Drepper [Sun, 25 Jan 1998 17:01:47 +0000 (17:01 +0000)]
Update.

1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>

* db2/Makefile (routines): Add os_alloc.
* db2/db.h: Update from db-2.3.16.
* db2/db_185.h: Likewise.
* db2/db_int.h: Likewise.
* db2/btree/bt_close.c: Likewise.
* db2/btree/bt_cursor.c: Likewise.
* db2/btree/bt_delete.c: Likewise.
* db2/btree/bt_open.c: Likewise.
* db2/btree/bt_page.c: Likewise.
* db2/btree/bt_put.c: Likewise.
* db2/btree/bt_rec.c: Likewise.
* db2/btree/bt_recno.c: Likewise.
* db2/btree/btree_auto.c: Likewise.
* db2/common/db_appinit.c: Likewise.
* db2/common/db_apprec.c: Likewise.
* db2/common/db_err.c: Likewise.
* db2/common/db_region.c: Likewise.
* db2/common/db_shash.c: Likewise.
* db2/db/db.c: Likewise.
* db2/db/db_auto.c: Likewise.
* db2/db/db_conv.c: Likewise.
* db2/db/db_dispatch.c: Likewise.
* db2/db/db_dup.c: Likewise.
* db2/db/db_pr.c: Likewise.
* db2/db/db_rec.c: Likewise.
* db2/db185/db185.c: Likewise.
* db2/dbm/dbm.c: Likewise.
* db2/hash/hash.c: Likewise.
* db2/hash/hash_auto.c: Likewise.
* db2/hash/hash_dup.c: Likewise.
* db2/hash/hash_page.c: Likewise.
* db2/hash/hash_rec.c: Likewise.
* db2/include/btree_ext.h: Likewise.
* db2/include/clib_ext.h: Likewise.
* db2/include/common_ext.h: Likewise.
* db2/include/db.h.src: Likewise.
* db2/include/db_185.h.src: Likewise.
* db2/include/db_am.h: Likewise.
* db2/include/db_ext.h: Likewise.
* db2/include/db_int.h.src: Likewise.
* db2/include/hash_ext.h: Likewise.
* db2/include/lock_ext.h: Likewise.
* db2/include/log.h: Likewise.
* db2/include/log_auto.h: Likewise.
* db2/include/log_ext.h: Likewise.
* db2/include/mp.h: Likewise.
* db2/include/mp_ext.h: Likewise.
* db2/include/mutex_ext.h: Likewise.
* db2/include/os_ext.h: Likewise.
* db2/include/os_func.h: Likewise.
* db2/include/txn_ext.h: Likewise.
* db2/lock/lock.c: Likewise.
* db2/lock/lock_util.c: Likewise.
* db2/log/log.c: Likewise.
* db2/log/log.src: Likewise.
* db2/log/log_archive.c: Likewise.
* db2/log/log_auto.c: Likewise.
* db2/log/log_get.c: Likewise.
* db2/log/log_put.c: Likewise.
* db2/log/log_rec.c: Likewise.
* db2/log/log_register.c: Likewise.
* db2/mp/mp_bh.c: Likewise.
* db2/mp/mp_fget.c: Likewise.
* db2/mp/mp_fopen.c: Likewise.
* db2/mp/mp_fput.c: Likewise.
* db2/mp/mp_pr.c: Likewise.
* db2/mp/mp_sync.c: Likewise.
* db2/mutex/mutex.c: Likewise.
* db2/os/os_alloc.c: Likewise.
* db2/os/os_config.c: Likewise.
* db2/os/os_stat.c: Likewise.
* db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
* db2/progs/db_deadlock/db_deadlock.c: Likewise.
* db2/progs/db_load/db_load.c: Likewise.
* db2/progs/db_printlog/db_printlog.c: Likewise.
* db2/progs/db_recover/db_recover.c: Likewise.
* db2/progs/db_stat/db_stat.c: Likewise.
* db2/txn/txn.c: Likewise.

* elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
Unmap memory blocks in reverse order of allocation.
Call munmap with load address added to offset.
Bug reported by Miguel de Icaza.

* locale/programs/ld-collate.c (collate_end_weight): Correctly fill
up weight array.

* localedata/locales/cs_CZ: Update by Michael Mraka
<michael@informatics.muni.cz>.

* misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
__USE_BSD.

* nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
reading line with fgets.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nss/nss_files/files-XXX.c: Likewise.
* nss/nss_files/files-alias.c: Likewise.
* shadow/fgetspent_r.c: Likewise.

* string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.

* sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
* sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.

* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
FP register content in ucontext_t.

1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/libm-ieee754/s_modfl.c (modf): Correct
calculation.  Patch by Markus Schoder
<Markus.Schoder@dresdner-bank.de>.

* math/libm-test.c (modf_test): Add more tests for modf.

* sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
munlock according to Unix98.

1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
AF_INET.

1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>

* sysdeps/posix/ttyname.c: Handle symbolic links.
* sysdeps/posix/ttyname_r.c: Ditto.

1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>

* db2/makedb.c (process_input): Write terminating \0 for value.
(print_database): Simply print value string, don't use length.

1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nss/nsswitch.c (__nss_configure_lookup): Correct test for early
exit of loop.

1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/ypclnt.c: Don't set dom_client to NULL, or we will not
close all sockets.

1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>

* signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
sigset.
* signal/sighold.c: New file.
* signal/sigrelse.c: New file.
* sysdeps/generic/sigignore.c: New file.
* sysdeps/generic/sigset.c: New file.
* sysdeps/posix/sigignore.c: New file.
* sysdeps/posix/sigset.c: New file.
* signal/signal.h: Add prototypes for new functions.

* sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
* sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.

1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c: Added IFS field-splitting in parameter and
command substitution.  Fixed an IFS-related bug that caused an
infinite loop.

1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
and swapcontext.
* stdlib/ucontext.h: Correct prototypes.
* sysdeps/generic/getcontext.c: New file.
* sysdeps/generic/setcontext.c: New file.
* sysdeps/generic/makecontext.c: New file.
* sysdeps/generic/swapcontext.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.

1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>

* resource/sys/resource.h: Remove #include of ulimit.h which is
not allowed by SUSv2 and not available on other systems.
* sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.

* streams/Makefile: New file.
* streams/stropts.h: New file.
* sysdeps/generic/bits/stropts.h: New file.
* sysdeps/generic/isastream.c: New file.
* sysdeps/generic/getmsg.c: New file.
* sysdeps/generic/getpmsg.c: New file.
* sysdeps/generic/putmsg.c: New file.
* sysdeps/generic/putpmsg.c: New file.
* sysdeps/generic/fattach.c: New file.
* sysdeps/generic/fdetach.c: New file.
* sysdeps/unix/inet/Subdirs: Add streams.
* sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
__t_uscalar_t.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.

* sysdeps/mach/_strerror.c: Follow changes of generic version to
handle small buffers correctly.

1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>

* sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
Remove the 3rd arg and add declaration for _dl_runtime_resolve
and _dl_runtime_profile.

1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>

* include/cpio.h: New file.  Mainly copied from GNU cpio.
* posix/Makefile (headers): Add cpio.h.

26 years agoUpdate NIS+.
Ulrich Drepper [Sat, 24 Jan 1998 13:45:44 +0000 (13:45 +0000)]
Update NIS+.

1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/Makefile: Distribute nis_cache2.h, add nis cache functions
to routines.
* nis/nis_cache.c: New.
* nis/nis_cache2.h: New.
* nis/nis_cache2_xdr.c: New.
* nis/nis_call.c: Changes for cache2_info parameter.
* nis/nis_checkpoint.c: Likewise.
* nis/nis_intern.h: Likewise.
* nis/nis_mkdir.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_rmdir.c: Likewise.
* nis/nis_server.c: Likewise.
* nis/nis_util.c: Likewise.

1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
return/errnop codes.
* nis/nss_nisplus/nisplus-ethers.c: Likewise.
* nis/nss_nisplus/nisplus-grp.c: Likewise.
* nis/nss_nisplus/nisplus-hosts.c: Likewise.
* nis/nss_nisplus/nisplus-proto.c: Likewise.
* nis/nss_nisplus/nisplus-publickey.c: Likewise.
* nis/nss_nisplus/nisplus-pwd.c: Likewise.
* nis/nss_nisplus/nisplus-rpc.c: Likewise
* nis/nss_nisplus/nisplus-service.c: Likewise.
* nis/nss_nisplus/nisplus-spwd.c: Likewise.

1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
* nis/nss_nis/nis-ethers.c: Likewise.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nis/nis-hosts.c: Likewise.
* nis/nss_nis/nis-network.c: Likewise.
* nis/nss_nis/nis-proto.c: Likewise.
* nis/nss_nis/nis-hosts.c: Likewise.
* nis/nss_nis/nis-network.c: Likewise.
* nis/nss_nis/nis-proto.c: Likewise.
* nis/nss_nis/nis-publickey.c: Likewise.
* nis/nss_nis/nis-pwd.c: Likewise.
* nis/nss_nis/nis-rpc.c: Likewise.
* nis/nss_nis/nis-service.c: Likewise.
* nis/nss_nis/nis-spwd.c: Likewise.