Commit Graph

2414 Commits

Author SHA1 Message Date
Roland McGrath c34fa5f5ab 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
	change.
1999-06-13 14:01:03 +00:00
Ulrich Drepper ec239360d1 Update.
* db2/Makefile (distribute): Remove files which do not exist
	anymore.
1999-06-13 13:36:34 +00:00
Ulrich Drepper fc37035216 Update.
1999-06-13  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
	definitions to calm down gcc.

	* db2/db.h: Update from db 2.7.5.
	* db2/db_185.h: Likewise.
	* db2/db_int.h: Likewise.
	* db2/btree/bt_compare.c: Likewise.
	* db2/btree/bt_conv.c: Likewise.
	* db2/btree/bt_curadj.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/bt_rsearch.c: Likewise.
	* db2/btree/bt_search.c: Likewise.
	* db2/btree/bt_split.c: Likewise.
	* db2/btree/bt_stat.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_salloc.c: Likewise.
	* db2/db/db.c: Likewise.
	* db2/db/db.src: Likewise.
	* db2/db/db_am.c: Likewise.
	* db2/db/db_auto.c: Likewise.
	* db2/db/db_dispatch.c: Likewise.
	* db2/db/db_dup.c: Likewise.
	* db2/db/db_iface.c: Likewise.
	* db2/db/db_join.c: Likewise.
	* db2/db/db_overflow.c: Likewise.
	* db2/db/db_pr.c: Likewise.
	* db2/db/db_rec.c: Likewise.
	* db2/db/db_ret.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/hash/hash_stat.c: Likewise.
	* db2/include/btree.h: Likewise.
	* db2/include/btree_ext.h: Likewise.
	* db2/include/clib_ext.h: Likewise.
	* db2/include/common_ext.h: Likewise.
	* db2/include/db_am.h: Likewise.
	* db2/include/db_auto.h: Likewise.
	* db2/include/db_cxx.h: Likewise.
	* db2/include/db_ext.h: Likewise.
	* db2/include/db_join.h: Likewise.
	* db2/include/db_page.h: Likewise.
	* db2/include/hash.h: Likewise.
	* db2/include/hash_ext.h: Likewise.
	* db2/include/lock.h: Likewise.
	* db2/include/lock_ext.h: Likewise.
	* db2/include/log.h: Likewise.
	* db2/include/log_ext.h: Likewise.
	* db2/include/mp.h: Likewise.
	* db2/include/mp_ext.h: Likewise.
	* db2/include/os.h: Likewise.
	* db2/include/os_ext.h: Likewise.
	* db2/include/os_func.h: Likewise.
	* db2/include/txn.h: Likewise.
	* db2/include/txn_auto.h: Likewise.
	* db2/include/txn_ext.h: Likewise.
	* db2/include/xa.h: Likewise.
	* db2/include/xa_ext.h: Likewise.
	* db2/lock/lock.c: Likewise.
	* db2/lock/lock_conflict.c: Likewise.
	* db2/lock/lock_deadlock.c: Likewise.
	* db2/lock/lock_region.c: Likewise.
	* db2/lock/lock_util.c: Likewise.
	* db2/log/log.c: Likewise.
	* db2/log/log_archive.c: Likewise.
	* db2/log/log_auto.c: Likewise.
	* db2/log/log_findckp.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_fset.c: Likewise.
	* db2/mp/mp_open.c: Likewise.
	* db2/mp/mp_pr.c: Likewise.
	* db2/mp/mp_region.c: Likewise.
	* db2/mp/mp_sync.c: Likewise.
	* db2/mutex/mutex.c: Likewise.
	* db2/mutex/uts4_cc.s: Likewise.
	* db2/os/os_abs.c: Likewise.
	* db2/os/os_alloc.c: Likewise.
	* db2/os/os_config.c: Likewise.
	* db2/os/os_dir.c: Likewise.
	* db2/os/os_fid.c: Likewise.
	* db2/os/os_fsync.c: Likewise.
	* db2/os/os_map.c: Likewise.
	* db2/os/os_oflags.c: Likewise.
	* db2/os/os_open.c: Likewise.
	* db2/os/os_rw.c: Likewise.
	* db2/os/os_seek.c: Likewise.
	* db2/os/os_sleep.c: Likewise.
	* db2/os/os_spin.c: Likewise.
	* db2/os/os_stat.c: Likewise.
	* db2/os/os_tmpdir.c: Likewise.
	* db2/os/os_unlink.c: Likewise.
	* db2/progs/db_archive/db_archive.c: Likewise.
	* db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
	* db2/progs/db_deadlock/db_deadlock.c: Likewise.
	* db2/progs/db_dump/db_dump.c: Likewise.
	* db2/progs/db_load/db_load.c: Likewise.
	* db2/progs/db_printlog/README: Likewise.
	* db2/progs/db_printlog/commit.awk: Likewise.
	* db2/progs/db_printlog/count.awk: Likewise.
	* db2/progs/db_printlog/db_printlog.c: Likewise.
	* db2/progs/db_printlog/pgno.awk: Likewise.
	* db2/progs/db_printlog/range.awk: Likewise.
	* db2/progs/db_printlog/status.awk: Likewise.
	* db2/progs/db_printlog/txn.awk: Likewise.
	* db2/progs/db_recover/db_recover.c: Likewise.
	* db2/progs/db_stat/db_stat.c: Likewise.
	* db2/txn/txn.c: Likewise.
	* db2/txn/txn.src: Likewise.
	* db2/txn/txn_auto.c: Likewise.
	* db2/txn/txn_rec.c: Likewise.
	* db2/xa/xa.c: Likewise.
	* db2/xa/xa_db.c: Likewise.
	* db2/xa/xa_map.c: Likewise.

	* db2/btree/bt_close.c: Removed.
	* db2/db/db_thread.c: Likewise.
	* db2/hash/hash_debug.c: Likewise.
	* db2/include/db.h.src: Likewise.
	* db2/include/db_int.h.src: Likewise.
	* db2/include/os_jump.h: Likewise.
	* db2/mutex/alpha.dec: Likewise.
	* db2/mutex/alpha.gcc: Likewise.
	* db2/mutex/parisc.hp: Likewise.
	* db2/mutex/uts4.cc.s: Likewise.

	* db2/Makefile: Add new routines, remove old for 2.7.5.
	* db2/Versions: Add internal function names for the helper programs.
	* db2/makedb.c: Update for new cursor callback.
	* Versions.def: Define versions for libdb.

1999-06-13  Thorsten Kukuk  <kukuk@suse.de>

	* nscd/connections.c (nscd_run): Get user ID for all non-db services.
	* nscd/Makefile (others, install-sbin): Add nscd_nischeck.
	* nscd/nscd_nischeck.c: New file.
	* nscd/nscd.init: Enable use of nscd_nischeck and secure tables.

1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
	MSG_* flags from Linux 2.2.9.

1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
1999-06-13 11:23:42 +00:00
Roland McGrath af09bfb5b5 * Makeconfig (static-start-installed-name): Set to
$(start-installed-name) if not defined.
	(+link-static): Use $(static-start-installed-name) instead of
	$(start-installed-name).
	* sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
	Set to crt0.o.

1999-06-12  Mark Kettenis  <kettenis@gnu.org>
1999-06-13 10:03:11 +00:00
Roland McGrath 901c1112e9 1999-06-12 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
	inserting a send right into the child instead of unconditionally
	copying the send right.
1999-06-13 09:57:39 +00:00
Ulrich Drepper 3de2d75e9c Update.
1999-06-12  Ulrich Drepper  <drepper@cygnus.com>

	* locale/lc-time.c: Add free_mem function to free if necessary
	statically allocated memory.
1999-06-12 11:50:01 +00:00
Ulrich Drepper 58d33bb594 Update.
1999-06-10  Jakub Jelinek   <jj@ultra.linux.cz>

	* sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
	bias from the raw exponent.
1999-06-11 21:30:13 +00:00
Ulrich Drepper 63ad72d21b Update.
1999-06-11  Ulrich Drepper  <drepper@cygnus.com>

	* inet/arpa/tftp.h: Move attribute declaration in right position.
1999-06-11 21:28:05 +00:00
Ulrich Drepper a1c542bfc5 Update.
1999-06-11  Thorsten Kukuk  <kukuk@suse.de>

	* nscd/nscd.c: Add -S options for separate caching of data for
	every user. So one user couldn't see the data another user
	has gotten with his credentials.
	* nscd/nscd.h: Add new prototypes.
	* nscd/cache.c: Compare owner of cache entry if in secure mode.
	* nscd/connections.c: Check on shutdown if caller really was root.
	In secure mode get uid of caller.
	* nscd/grpcache.c: Add support for new secure group mode.
	* nscd/hstcache.c: Add support for new secure hosts mode.
	* nscd/pwdcache.c: Add support for new secure passwd mode.
1999-06-11 20:58:21 +00:00
Ulrich Drepper 9be8ed9e94 Update.
1999-06-11  Ulrich Drepper  <drepper@cygnus.com>

	* resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
	of user-provided buffer.
1999-06-11 19:49:05 +00:00
Roland McGrath c52bbc7e7f 1999-06-11 Mark Kettenis <kettenis@gnu.org>
* hurd/hurdsock.c (max_domain): Initialize to `-1'.
	(_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
1999-06-11 16:43:58 +00:00
Ulrich Drepper 1776386534 Update.
* stdio-common/printf-parse.h (parse_one_spec): Add support for a
	and A format.
1999-06-10 11:37:36 +00:00
Ulrich Drepper 26cee9a49c Update.
1999-06-10  Ulrich Drepper  <drepper@cygnus.com>

	* shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
	returning after last entry.
	* pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1999-06-10 00:22:29 +00:00
Ulrich Drepper 0f1e40d49c Update.
* misc/sysexits.h: Remove advertising clause of copyright.
	* resolv/getnetnamadr.c: Likewise.
	* sysdeps/vax/bcopy.s: Likewise.
1999-06-09 13:08:30 +00:00
Ulrich Drepper bbcc948338 Update.
* sysdeps/vax/bcopy.s: Remove advertising clause of copyright.
	* sysdeps/vax/bzero.s: Likewise.
	* sysdeps/vax/ffs.s: Likewise.
	* sysdeps/vax/memchr.s: Likewise.
	* sysdeps/vax/memcmp.s: Likewise.
	* sysdeps/vax/memmove.s: Likewise.
	* sysdeps/vax/memset.s: Likewise.
	* sysdeps/vax/strcat.s: Likewise.
	* sysdeps/vax/strchr.s: Likewise.
	* sysdeps/vax/strcmp.s: Likewise.
	* sysdeps/vax/strcpy.s: Likewise.
	* sysdeps/vax/strcspn.s: Likewise.
	* sysdeps/vax/strlen.s: Likewise.
	* sysdeps/vax/strncat.s: Likewise.
	* sysdeps/vax/strncmp.s: Likewise.
	* sysdeps/vax/strncpy.s: Likewise.
	* sysdeps/vax/strpbrk.s: Likewise.
	* sysdeps/vax/strrchr.s: Likewise.
	* sysdeps/vax/strsep.s: Likewise.
	* sysdeps/vax/strspn.s: Likewise.
	* sysdeps/vax/strstr.s: Likewise.
1999-06-09 13:05:50 +00:00
Ulrich Drepper 542f5e01ca Update.
* libio/iofopncook.c: Adjust for renaming of structure elements.
	* libio/libio.h: Define cookie functions with all the names.
1999-06-09 12:33:39 +00:00
Ulrich Drepper e1c6ee839d Update.
1999-06-09  Ulrich Drepper  <drepper@cygnus.com>

	* pwd/fgetpwent_r.c: Set errno in the correct way.
	* shadow/fgetspent_r.c: Likewise.
	* pwd/fgetpwent.c: Handle long lines correctly.  Little
	optimizations.  Free static buffer when debugging memory handling.
	* shadow/fgetspent.c: Likewise.

	* grp/fgetgrent.c: Little optimization in loop.

1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* grp/tst_fgetgrent.c (write_group): Fix generation of long line
	in a different way.
1999-06-09 12:01:54 +00:00
Ulrich Drepper c41baa7976 Update.
1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>

	* stdlib/longlong.h: gas changed sethi handling when without
	%hi(). Fix assembly.
	* sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
	port specific cache id checks.
	* sysdeps/generic/dl-cache.h: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
1999-06-09 11:42:30 +00:00
Ulrich Drepper c4db757322 Update.
* gmon/gmon.c: Remove advertising clause of copyright.
	* gmon/mcount.c: Likewise.
	* gmon/sys/gmon.h: Likewise.
	* inet/arpa/ftp.h: Likewise.
	* inet/arpa/telnet.h: Likewise.
	* inet/arpa/tftp.h: Likewise.
	* inet/inet_lnaof.c: Likewise.
	* inet/inet_mkadr.c: Likewise.
	* inet/inet_net.c: Likewise.
	* inet/inet_netof.c: Likewise.
	* inet/protocols/routed.h: Likewise.
	* inet/protocols/rwhod.h: Likewise.
	* inet/protocols/talkd.h: Likewise.
	* inet/protocols/timed.h: Likewise.
	* inet/rcmd.c: Likewise.
	* inet/rexec.c: Likewise.
	* inet/ruserpass.c: Likewise.
	* io/fts.c: Likewise.
	* io/fts.h: Likewise.
	* login/login_tty.c: Likewise.
	* misc/fstab.h: Likewise.
	* misc/getttyent.c: Likewise.
	* misc/getusershell.c: Likewise.
	* misc/sys/queue.h: Likewise.
	* misc/sys/syslog.h: Likewise.
	* misc/syslog.c: Likewise.
	* misc/ttyent.h: Likewise.
	* misc/ttyslot.c: Likewise.
	* resolv/arpa/nameser.h: Likewise.
	* resolv/gethnamaddr.c: Likewise.
	* resolv/herror.c: Likewise.
	* resolv/inet_addr.c: Likewise.
	* resolv/mapv4v6addr.h: Likewise.
	* resolv/mapv4v6hostent.h: Likewise
	* resolv/nss_dns/dns-host.c: Likewise.
	* resolv/nss_dns/dns-network.c: Likewise.
	* resolv/res_comp.c: Likewise.
	* resolv/res_data.c: Likewise.
	* resolv/res_debug.c: Likewise.
	* resolv/res_init.c: Likewise.
	* resolv/res_mkquery.c: Likewise.
	* resolv/res_query.c: Likewise.
	* resolv/res_send.c: Likewise.
	* resolv/resolv.h: Likewise.
	* sysdeps/generic/div.c: Likewise.
	* sysdeps/generic/netinet/ip.h: Likewise.
	* sysdeps/generic/netinet/tcp.h: Likewise.
	* sysdeps/generic/paths.h: Likewise.
	* sysdeps/generic/prof-freq.c: Likewise.
	* sysdeps/generic/sys/ttydefaults.h: Likewise.
	* sysdeps/gnu/netinet/ip_icmp.h: Likewise.
	* sysdeps/gnu/netinet/tcp.h: Likewise.
	* sysdeps/ieee754/support.c: Likewise.
	* sysdeps/mach/hurd/sys/param.h: Likewise.
	* sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
	* sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
	* sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
	* sysdeps/unix/bsd/sys/reboot.h: Likewise.
	* sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
	* sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
	* sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
	* sysdeps/unix/sysv/linux/paths.h: Likewise.
	* sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
	* sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
	* sysdeps/vax/DEFS.h: Likewise.
	* termios/sys/ttychars.h: Likewise.
	* misc/daemon.c: Likewise.  Call fork.
1999-06-08 21:20:07 +00:00
Ulrich Drepper 1dc3d266ef Update.
* grp/fgetgrent.c (buffer): Make file local variable.
	(free_mem): New function.  Call for malloc debugging.
1999-06-08 20:25:31 +00:00
Ulrich Drepper 4707ba3dde Update.
1999-06-08  Ulrich Drepper  <drepper@cygnus.com>

	* grp/tst_fgetgrent.c (write_users): Correctly generate long line.
1999-06-08 19:32:12 +00:00
Ulrich Drepper f535dd028f Update.
1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* grp/Makefile: Add rules for tst_fgetgrent.

	* grp/tst_fgetgrent.c: Rewritten to read only one file.

	* grp/tst_fgetgrent.sh: New file.
1999-06-08 14:43:39 +00:00
Ulrich Drepper f5508a15fd Update.
1999-06-08  Ulrich Drepper  <drepper@cygnus.com>

	* grp/Makefile (tests): Add tst_fgetgrent.
	* grp/tst_fgetgrent.c: New file.
	Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1999-06-08 11:46:01 +00:00
Roland McGrath 4807d0486a 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
* db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
	be POSIX compliant.  Prior definition was broken for Hurd.
	Reported by Mark Kettenis <kettenis@gnu.org>.
1999-06-08 09:08:26 +00:00
Ulrich Drepper 8d6a5eff39 Update.
1999-06-08  Ulrich Drepper  <drepper@cygnus.com>

	* ctype/ctype.h: Protect __tobody code by __extension__.
1999-06-08 07:21:59 +00:00
Ulrich Drepper db873f322b Update.
1999-06-07  Ulrich Drepper  <drepper@cygnus.com>

	* grp/fgetgrent.c (fgetgrent): Remember position of stream before
	reading and reset in case the buffer was too small.

	* grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
	of EOF.
1999-06-07 20:17:36 +00:00
Ulrich Drepper 15828e9d78 Update.
* stdio-common/vfprintf.c: Correct typos.
1999-06-07 16:18:41 +00:00
Ulrich Drepper 263456bdd4 Update.
1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
	another SIOGIFNAME typo.

1999-06-07  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-lookup.c: Remove duplicated assert.h inclusion.

	* sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
	bit.

1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
	the precision if the mantissa is zero.

1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* manual/lang.texi (Floating Point Parameters): GCC already
	supports long double for a long time.

1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
	yn_test): Increase some epsilons.
1999-06-07 15:57:26 +00:00
Ulrich Drepper f21aa4c28f Update.
1999-06-07  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
	parameters.
1999-06-07 00:08:27 +00:00
Ulrich Drepper 9a8fcca0b3 Update.
* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
	* sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
	SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.

	* sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
	* sysdeps/libm-ieee754/w_j0f.c: Likewise.
	* sysdeps/libm-ieee754/w_j0l.c: Likewise.
	* sysdeps/libm-ieee754/w_j1.c: Likewise.
	* sysdeps/libm-ieee754/w_j1f.c: Likewise.
	* sysdeps/libm-ieee754/w_j1l.c: Likewise.
	* sysdeps/libm-ieee754/w_jn.c: Likewise.
	* sysdeps/libm-ieee754/w_jnf.c: Likewise.
	* sysdeps/libm-ieee754/w_jnl.c: Likewise.

	* stdio-common.c: Correct typos.

	* math/libm-test.c (jn_test): Adjust delta.
	(y1_test): Likewise.
	(yn_test): Likewise.

	* elf/do-lookup.h: It should never happen that if we expect a versioned
	symbol from a file the file has no version table.  This should have
	been checked in dl-version.c.
	* elf/dl-lookup.c: Include assert.h.
1999-06-07 00:02:14 +00:00
Ulrich Drepper e0082312bc Update.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
	function handling.
1999-06-06 22:12:29 +00:00
Ulrich Drepper 25ee8743cf Update.
1999-06-06  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
1999-06-06 15:01:19 +00:00
Ulrich Drepper 61bdd24faf Update.
1999-06-06  Andi Kleen  <ak@muc.de>

	* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
	SA_RESTORER flag.
1999-06-06 13:17:22 +00:00
Ulrich Drepper a582750d70 Update.
1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* math/libm-test.c (yn_test): Change one delta.
	(jn_test): Likewise.
	(j1_test): Likewise.
	(y0_test): Likewise.
1999-06-06 12:58:19 +00:00
Ulrich Drepper b3864d70e7 Update.
1999-06-06  Ulrich Drepper  <drepper@cygnus.com>

	* malloc/malloc.c: Introduce local variable __libc_getpagesize to
	avoid multiple calls to getpagesize() which might be a syscall.

1999-06-06  Philip Blundell  <philb@gnu.org>

	* stdio-common/tstscanf.c (main): Test the half-word format "%hd".

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

	* manual/install.texi (Running make install): Correct typo in
	dynamic linker invocation.

1999-06-05  Philip Blundell  <philb@gnu.org>

	* sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
	problems with GOT addressing.

1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>

	* malloc/malloc.c (check_action): Change into bitmap so that both
	diagnostic and abort can be requested by setting it to 3.
	(mALLOC_SET_STATe): Disable malloc checking if necessary.
1999-06-06 09:23:32 +00:00
Ulrich Drepper 908c3d5b5a Update.
* configure.in: Few changes for HPUX.
1999-06-03 23:30:32 +00:00
Ulrich Drepper 19b6575a07 Update.
1999-06-03  Ulrich Drepper  <drepper@cygnus.com>

	* scripts/config.guess: Update from latest version.
	* scripts/config.sub: Likewise.

	* Makerules: Set LC_ALL explicitly to archieve correct sorting of
	map files.  Closes PR libc/1147.
1999-06-03 21:55:09 +00:00
Ulrich Drepper b169f10c58 Update.
1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* Makerules: Set LANGUAGE and LC_ALL explicitly to archieve
	correct sorting of map files.
	Closes PR libc/1147.

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

	* math/libm-test.c (main): Add new test functions.
	(jn_test): New tests.
	(j1_test): Add some more tests.
	(j0_test): Add some more tests.
	(y0_test): Add some more tests.
	(y1_test): Add some more tests.
1999-06-03 12:43:32 +00:00
Ulrich Drepper a384fa7708 Update.
1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
	Patch by mhagger@dera.gov.uk [PR libc/1145].

	* math/libm-test.c (y1_test): New tests.
	(y0_test): Likewise.
	(j1_test): Likewise.
	(j0_test): Likewise.
	(main): Added new tests.

1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
1999-06-02 11:53:21 +00:00
Ulrich Drepper b8cb072d1f Update.
1999-06-02  Jakub Jelinek   <jj@ultra.linux.cz>

	* stdlib/longlong.h: Define UDIV_TIME on sparc64.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
1999-06-02 11:11:45 +00:00
Ulrich Drepper 3810076f75 Update.
1999-06-02  David S. Miller  <davem@redhat.com>

	* nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
	pointers properly.
1999-06-02 11:05:06 +00:00
Ulrich Drepper ea6710d38f Update.
1999-06-02  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
	and elide compatibility code if possible.
1999-06-02 10:30:16 +00:00
Ulrich Drepper 13632cfc66 Update.
1999-06-01  Ulrich Drepper  <drepper@cygnus.com>

	* manual/llio.texi: Remove menu entry for removed section.

1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
	variables.

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

	* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
	(from Linux 2.3.4).
1999-06-02 10:18:54 +00:00
Ulrich Drepper 8e55f537ed Update.
1999-05-30  Ulrich Drepper  <drepper@cygnus.com>

	* inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
1999-05-30 12:37:27 +00:00
Ulrich Drepper 0ea554bf81 Update.
1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/stdio.texi: Fix some typos.
1999-05-30 09:07:13 +00:00
Ulrich Drepper fc0a2d72e5 Update.
1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* malloc/malloc.h: Properly handle future GCC versions.

1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/configure.in: Change version checks to
	use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
	text of error message.

	* aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
1999-05-29 22:56:42 +00:00
Ulrich Drepper fb97136391 Update.
1999-05-29  Ulrich Drepper  <drepper@cygnus.com>

	* manual/filesys.texi: Extend (f)truncate documentation.
	* manual/llio.texi: Remove duplicate (f)truncate definition.

1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/stdio.texi (Formatted Output Functions): Mention
	semantics of snprintf in glibc 2.0.
	Reported by Ben Pfaff <pfaffben@msu.edu>.

1999-05-29  Ulrich Drepper  <drepper@cygnus.com>

	* include/features.h (__GLIBC_MINOR__): Bump to 2.
1999-05-29 22:47:03 +00:00
Roland McGrath 38775d60e4 fix typo'd file names
* sysdeps/wordsize-64/strtol.c: New file.
	* sysdeps/wordsize-64/strtoul.c: New file.
	* sysdeps/wordsize-64/strtoll.c: New file.
	* sysdeps/wordsize-64/strtoull.c: New file.
	* sysdeps/wordsize-64/strtol_l.c: New file.
	* sysdeps/wordsize-64/strtoul_l.c: New file.
	* sysdeps/wordsize-64/strtoll_l.c: New file.
	* sysdeps/wordsize-64/strtoull_l.c: New file.
	* sysdeps/wordsize-64/wcstol.c: New file.
	* sysdeps/wordsize-64/wcstoul.c: New file.
	* sysdeps/wordsize-64/wcstoll.c: New file.
	* sysdeps/wordsize-64/wcstoull.c: New file.
	* sysdeps/wordsize-64/wcstol_l.c: New file.
	* sysdeps/wordsize-64/wcstoul_l.c: New file.
	* sysdeps/wordsize-64/wcstoll_l.c: New file.
	* sysdeps/wordsize-64/wcstoull_l.c: New file.
1999-05-29 19:04:52 +00:00
Ulrich Drepper 4a307a9805 Update.
1999-05-27  Ulrich Drepper  <drepper@cygnus.com>

	* math/libm-test.c: Adjust a few more deltas for the poor ARM
	FPU emulator.
1999-05-27 14:36:02 +00:00
Ulrich Drepper b5b53bdbc4 Update.
* configure.in: Fix typo.

1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1999-05-27 11:34:20 +00:00
Ulrich Drepper b99a8a1140 Update.
1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/socket.texi (Host Names): Remove statement that h_errno
	needs to be declared since this isn't true anymore.
	Closes PR libc/1138.
1999-05-27 11:31:50 +00:00
Ulrich Drepper 958f238f36 Update.
1999-05-26  Ulrich Drepper  <drepper@cygnus.com>

	* config.h.in: Add __LINUX_KERNEL_VERSION.
	* configure.in: Recognize --enable-kernel.
	* sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
	headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
	appropriately.
	* sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
	given perform runtime test.

	* sysdeps/unix/sysv/linux/kernel-features.h: New file.
	* sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
	minimal supported kernel is known to have the feature.
	* sysdeps/unix/sysv/linux/poll.c: Likewise.
	* sysdeps/unix/sysv/linux/pread.c: Likewise.
	* sysdeps/unix/sysv/linux/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/seteuid.c: Likewise.
	* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
	* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
	* sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.

	* sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
1999-05-26 23:37:38 +00:00
Ulrich Drepper 475e390e80 Update.
1999-05-25  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
1999-05-25 22:50:11 +00:00
Ulrich Drepper 859a09cff1 Update.
1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>

	* stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
	Optimized sparc64 routines.

	* stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
	they are the same as ints.
	* stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1999-05-25 18:37:11 +00:00
Ulrich Drepper 40cbb1a73b Update.
* wcsmbs/wcstol.c: Moved to ...
	* sysdeps/generic/wcstol.c: ...here.
	* wcsmbs/wcstoul.c: Moved to ...
	* sysdeps/generic/wcstoul.c: ...here.
	* wcsmbs/wcstoll.c: Moved to ...
	* sysdeps/generic/wcstoll.c: ...here.
	* wcsmbs/wcstoull.c: Moved to ...
	* sysdeps/generic/wcstoull.c: ...here.
	* wcsmbs/wcstol_l.c: Moved to ...
	* sysdeps/generic/wcstol_l.c: ...here.
	* wcsmbs/wcstoul_l.c: Moved to ...
	* sysdeps/generic/wcstoul_l.c: ...here.
	* wcsmbs/wcstoll_l.c: Moved to ...
	* sysdeps/generic/wcstoll_l.c: ...here.
	* wcsmbs/wcstoull_l.c: Moved to ...
	* sysdeps/generic/wcstoull_l.c: ...here.

	* sysdeps/wordexp-64/wcstol.c: New file.
	* sysdeps/wordexp-64/wcstoul.c: New file.
	* sysdeps/wordexp-64/wcstoll.c: New file.
	* sysdeps/wordexp-64/wcstoull.c: New file.
	* sysdeps/wordexp-64/wcstol_l.c: New file.
	* sysdeps/wordexp-64/wcstoul_l.c: New file.
	* sysdeps/wordexp-64/wcstoll_l.c: New file.
	* sysdeps/wordexp-64/wcstoull_l.c: New file.
1999-05-25 14:54:29 +00:00
Ulrich Drepper dffbec5f51 Update.
* version.h (VERSION): Bump to 2.1.90.
	(RELEASE): Mark as development.
1999-05-25 14:31:24 +00:00
Ulrich Drepper 96d0213ee1 Update.
* stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1999-05-25 13:49:30 +00:00
Ulrich Drepper 0ae97dea38 Update.
* stdio-common/vfprintf.c (vfprintf): Don't implement special
	handling for long long if it is the same as long.
1999-05-25 13:35:03 +00:00
Ulrich Drepper 03197d4710 Update.
1999-05-25  Ulrich Drepper  <drepper@cygnus.com>

	* stdlib/strtol.c: Moved to ...
	* sysdeps/generic/strtol.c: ...here.
	* stdlib/strtoul.c: Moved to ...
	* sysdeps/generic/strtoul.c: ...here.
	* stdlib/strtoll.c: Moved to ...
	* sysdeps/generic/strtoll.c: ...here.
	* stdlib/strtoull.c: Moved to ...
	* sysdeps/generic/strtoull.c: ...here.
	* stdlib/strtol_l.c: Moved to ...
	* sysdeps/generic/strtol_l.c: ...here.
	* stdlib/strtoul_l.c: Moved to ...
	* sysdeps/generic/strtoul_l.c: ...here.
	* stdlib/strtoll_l.c: Moved to ...
	* sysdeps/generic/strtoll_l.c: ...here.
	* stdlib/strtoull_l.c: Moved to ...
	* sysdeps/generic/strtoull_l.c: ...here.

	* sysdeps/wordexp-64/strtol.c: New file.
	* sysdeps/wordexp-64/strtoul.c: New file.
	* sysdeps/wordexp-64/strtoll.c: New file.
	* sysdeps/wordexp-64/strtoull.c: New file.
	* sysdeps/wordexp-64/strtol_l.c: New file.
	* sysdeps/wordexp-64/strtoul_l.c: New file.
	* sysdeps/wordexp-64/strtoll_l.c: New file.
	* sysdeps/wordexp-64/strtoull_l.c: New file.
1999-05-25 13:26:48 +00:00
Ulrich Drepper 6e26ce8e82 Fix typos.
* sysdeps/sparc/fpu/bits/fenv.h: New file.
	* sysdeps/sparc/fpu/fpu_control.h: New file.
1999-05-25 12:28:22 +00:00
Ulrich Drepper d265c8337f Update.
1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>

	* sysdeps/sparc/bits/wordsize.h: New file.
	* sysdeps/sparc/bits/fenv.h: New file.
	* sysdeps/sparc/fpu_control.h: New file.
	* sysdeps/sparc/gmp-mparam.h: New file.

	* sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
	* sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
	* sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
	* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
	* sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
	* sysdeps/sparc/sparc64/gmp-mparam.h: Remove.

	* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
	* sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
	* sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
	* sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.

	* sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.

1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
1999-05-25 11:58:59 +00:00
Ulrich Drepper 6d8ec2b1b2 Update.
* login/openpty.c (openpty): Make sure pty does not because
	controlling TTY.
1999-05-24 18:22:25 +00:00
Ulrich Drepper 6843299d9b Update.
1999-05-24  Ulrich Drepper  <drepper@cygnus.com>

	* ctype/ctype.h: Don't optimize toupper/tolower for C++.
1999-05-24 16:21:12 +00:00
Ulrich Drepper 8838786d31 Update. 1999-05-24 14:16:40 +00:00
Ulrich Drepper ab28d0d1cf Update.
1999-05-24  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): Set socket address to
	loopback if no name is given and AI_PASSIVE is not set.
	Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl> [PR libc/1136].
1999-05-24 08:21:02 +00:00
Roland McGrath ad46371853 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
* hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
	Do proper error return.
1999-05-23 19:35:18 +00:00
Ulrich Drepper 8aba992a60 Update.
1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
	of __P in the rest of glibc; define __MALLOC_PMT and use it.
	Reported by Stephan Kulow <coolo@kde.org>.
1999-05-23 13:02:36 +00:00
Ulrich Drepper 33d1a2c5b8 Update.
1999-05-23  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/alpha/fpu/bits/fenv.h: Pretty print.

	* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.

1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
	names to protect from user's macro namespace.
	* sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
	* sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
	* sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
	* sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
	* sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
	Adapted.
	* sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
	sysdeps/arm/fpu/fesetenv.c: Likewise.
	* sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
	sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
	sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/mips/fesetenv.c: Likewise.
1999-05-23 10:13:49 +00:00
Roland McGrath 4a8cdfd146 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
1999-05-23 09:14:35 +00:00
Ulrich Drepper 158bfac450 Update.
1999-05-20  Ulrich Drepper  <drepper@cygnus.com>

	* configure.in: Recognize and allow gcc 2.95.
1999-05-20 14:56:42 +00:00
Ulrich Drepper 1c25bcacbe Update.
1999-05-19  Jakub Jelinek   <jj@ultra.linux.cz>

	* sysdeps/generic/bits/elfclass.h: Version common to
	wordsize-32 and wordsize-64.
	* sysdeps/generic/bits/environments.h: Ditto.
	* sysdeps/generic/stdint.h: Ditto.
	* sysdeps/generic/inttypes.h: Ditto.

	* sysdeps/generic/bits/wordsize.h: New file.
	* stdlib/Makefile: Add bits/wordsize.h to headers.

	* sysdeps/sparc/sparc64/bits/wordsize.h: New file.

	* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
	headers to be used for 32bit and 64bit ABI compilations.
	* sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.

	* sysdeps/wordsize-64/bits/elfclass.h: Remove.
	* sysdeps/wordsize-64/bits/environments.h: Remove.
	* sysdeps/wordsize-64/stdint.h: Remove.
	* sysdeps/wordsize-64/inttypes.h: Remove.
	* sysdeps/wordsize-64/bits/wordsize.h: New file.

	* sysdeps/wordsize-32/bits/elfclass.h: Remove.
	* sysdeps/wordsize-32/bits/environments.h: Remove.
	* sysdeps/wordsize-32/stdint.h: Remove.
	* sysdeps/wordsize-32/inttypes.h: Remove.
	* sysdeps/wordsize-32/bits/wordsize.h: New file.

1999-05-19  Jakub Jelinek   <jj@ultra.linux.cz>

	* sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
	__align_cpy_16): New functions.
	(__align_cpy_2, __align_cpy_1): New aliases to memcpy.

	* sysdeps/sparc/sparc32/Versions: New file.
	* sysdeps/sparc/sparc64/Versions: New file.
	* sysdeps/sparc/Versions: Remove.

1999-05-19  Jakub Jelinek   <jj@ultra.linux.cz>

	* sysdeps/unix/sysv/linux/configure.in:
	On sparc64-*-linux*, set slibdir to /lib64 if prefix
	is /usr, plus set libdir to ${exec_prefix}/lib64.
	* sysdeps/unix/sysv/linux/configure: Regenerated.
	* config.make.in: Propagate libdir settings from configure
	to the Makefiles.
	* shlib-versions: sparc64-*-linux* dynamic linker is
	/lib64/ld-linux.so.2.
1999-05-19 15:35:26 +00:00
Ulrich Drepper 2acd8fcfc4 Update.
1999-05-18  Thorsten Kukuk  <kukuk@suse.de>

	* nis/nis_lookup.c (nis_lookup): If we run out of memory, close
	RPC connection.
1999-05-18 13:04:17 +00:00
Ulrich Drepper 407d26b705 Update.
1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>

	* sysdeps/sparc/sparc64/rawmemchr.S: New file.
	* sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.

	* sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
	contains garbage in bits 8-63.
	* sysdeps/sparc/sparc64/memset.S: Ditto.
	* sysdeps/sparc/sparc64/strchr.S: Ditto.
1999-05-18 10:00:20 +00:00
Ulrich Drepper 1acf7665c7 Update.
1999-05-18  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).

1999-05-17  David S. Miller  <davem@redhat.com>

	* sysdeps/sparc/sparc32/atomicity.h: New file.
	* sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
	* sysdeps/sparc/sparc64/atomicity.h: New file.
	* sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
	sysdep-CFLAGS.
1999-05-18 09:48:05 +00:00
Ulrich Drepper 2a269cd083 Update.
1999-05-18  Richard Henderson  <rth@twiddle.net>

	* sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
1999-05-18 08:57:29 +00:00
Ulrich Drepper 05cc5bd9dc Update.
1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
	posix/sys/types.h: Handle the case of __GNUC__=3,
	__GNUC_MINOR__=(anything).
1999-05-18 08:37:39 +00:00
Ulrich Drepper 73334e85fa Update.
1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
	if _FORCE_INLINES.
1999-05-18 08:14:06 +00:00
Ulrich Drepper fabad36078 Update.
Add dl-dst.h and gen-trusted-dirs.awk.
1999-05-17 17:58:57 +00:00
Ulrich Drepper 82e30a5d10 Update.
1999-05-17  Ulrich Drepper  <drepper@cygnus.com>

	* elf/Makefile (distribute): Remove dl-origin.h.
1999-05-17 17:36:45 +00:00
Ulrich Drepper 9bbd7837b6 Update.
1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/i386/i486/Versions: New file with inline functions from
	sysdeps/i386/i486/bits/string.h for now.

	* sysdeps/i386/Versions: Add inline functions from
	sysdeps/i386/bits/string.h.

	* string/Versions: Add inline functions from <bits/string2.h>.

	* string/Makefile (routines): Add string-inlines.
	* string/string-inlines.c: New file, used for implementation of
	extern inline functions.

	* sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
	non inlined versions of functions.
	* string/bits/string2.h: Likewise.
	* sysdeps/i386/bits/string.h: Likewise.

1999-05-17  Ulrich Drepper  <drepper@cygnus.com>

	* inet/arpa/tftp.h: Add second packed attribute.
1999-05-17 17:25:32 +00:00
Ulrich Drepper 431c33c0bc Update.
1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>

	* malloc/malloc.c: Cleanup to bring in line with released
	stand-alone version `ptmalloc'.  Update some comments.
	(internal_function): Move fallback definition so that the source
	compiles outside of libc, and use it in more places.
	(malloc_atfork): Fix when malloc_check is in use.

1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* stdlib/tst-strtod.c: Fix typo.

1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* elf/dl-close.c (_dl_close): Add cast to avoid warning about
	const incorrectness.
1999-05-17 10:09:50 +00:00
Roland McGrath 2d547a959e 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
1999-05-16 20:50:58 +00:00
Ulrich Drepper 32abdb710c Update.
1999-05-16  Thorsten Kukuk  <kukuk@suse.de>

	* sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
	* sunrpc/key_call.c: Fix memory leak, close file handle.
	* nis/nis_creategroup.c: Use malloc instead of calloc,
	set ctime and mtime.
	* nis/nis_subr.c: Check for realloc result.
	* nis/nis_file.c: Fix memory leak.
	* nis/nis_table.c: Pretty print.
	* nis/nis_getservlist.c: Likewise.
	* nis/nis_ismember.c: Likewise.
	* nis/nis_lookup.c: Likewise.
	* nis/nis_ping.c: Likewise.
	* nis/nis_removemember.c: Likewise.
	* nis/nis_util.c: Likewise, check calloc result.
1999-05-16 10:14:25 +00:00
Roland McGrath 94568ffd7d 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
	* sysdeps/generic/sys/socketvar.h: ... here.
	* sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
	* sysdeps/generic/netinet/in_systm.h: ... here.
	* sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
	sys/socketvar.h.
	* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
	* inet/Makefile (headers): Add netinet/in_systm.h here.
	* socket/Makefile (headers): Add sys/socketvar.h here.
1999-05-16 08:54:24 +00:00
Ulrich Drepper 66f6a52b79 Update.
* stdlib/strtol.c: Optimize inner loop of long long versions.
1999-05-15 23:31:55 +00:00
Ulrich Drepper 26262bc29e Update.
1999-05-15  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/gnu/utmpx.h: Add needed type definitions according to
	Unix98.  Add forward declaration of struct utmp.
1999-05-15 09:31:40 +00:00
Ulrich Drepper 843ede44f7 Update.
1999-05-14  Ulrich Drepper  <drepper@cygnus.com>

	* nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
	calloc.

	* nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
	* nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
	memory allocation results.
1999-05-14 23:38:21 +00:00
Ulrich Drepper 1483b75378 Update.
1999-05-14  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/generic/getutmp.c: Include <string.h>
	(getutmp): Rewrite to only copy those members that are really
	present in `struct utmp'.
	* sysdeps/generic/getutmpx.c: Likewise.
1999-05-14 21:30:22 +00:00
Ulrich Drepper d60d215c57 Update.
1999-05-14  Ulrich Drepper  <drepper@cygnus.com>

	* nss/getXXbyYY.c: Add free_mem function which disposes all
	statically allocated memory when debugging.
	* nss/getXXent.c: Likewise.
	* nss/nsswitch.c: Likewise.
1999-05-14 00:22:24 +00:00
Ulrich Drepper c22ecc5269 Update
1999-05-13  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/gnu/getutmpx.c: New file.
	* sysdeps/gnu/getutmp.c: New file.
1999-05-13 19:55:50 +00:00
Ulrich Drepper 6eb857c788 Update
1999-05-13  H.J. Lu  <hjl@gnu.org>

	* login/Versions (getutmpx): Added to GLIBC_2.1.1.
	(getutmp): Likewise.

	* sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
	getutmpx for login.

	* sysdeps/gnu/utmpx.h (getutmp): Added.
	(getutmpx): Likewise.

	* sysdeps/generic/getutmp.c: New file.

	* sysdeps/generic/getutmpx.c: New file.
1999-05-13 19:51:20 +00:00
Ulrich Drepper 71377958c8 Update.
1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* glibcbug.in (BUGGLIBC): Change address to
	libc-alpha@sourceware.cygnus.com.
1999-05-13 10:22:54 +00:00
Ulrich Drepper fa5ba5d944 Update.
1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* resolv/arpa/nameser.h: Add C++ protectors.
1999-05-12 10:23:29 +00:00
Ulrich Drepper d055097bc4 Update.
1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
	Elad Tsur <eladts@post.tau.ac.il>.
1999-05-11 13:26:39 +00:00
Ulrich Drepper 12b5b6b7f7 Update.
1999-05-11  Ulrich Drepper  <drepper@cygnus.com>

	* elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
	* elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
	lazily if LD_BIND_NOW is not set.
	* elf/dl-support.c (_dl_lazy): New variable.
	(non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
	* elf/rtld.c (_dl_lazy): new global variable.
	( dl_main): Remove lazy, replace it by _dl_lazy.

1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* locale/setlocale.c (new_composite_name): Check also whether the
	first category name differs.

1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
	the generic one.

1999-05-11  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
	structure; storage suitable for any socket address.
	* sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
	Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
	sockaddr_storage): Likewise.

	* inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
	platform.
1999-05-11 13:00:20 +00:00
Ulrich Drepper 5ac3d2173c Add PR information.
_nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
1999-05-10 13:41:57 +00:00
Ulrich Drepper 11bde74f07 Update.
1999-05-10  Ulrich Drepper  <drepper@cygnus.com>

	* hesiod/Versions: Change _nss_hesiod_getpwuid and
	_nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
	_nss_hesiod_getgrgid_r respectively.
1999-05-10 13:34:57 +00:00
Roland McGrath f81648a38a 1999-05-09 Mark Kettenis <kettenis@gnu.org>
* hurd/get-host.c (_hurd_get_host_config): Return an empty value
	if the file is empty.
1999-05-09 10:40:53 +00:00
Ulrich Drepper d656c8cbfe Update.
* elf/do-lookup.h: Fix typo in comment.
1999-05-07 21:11:08 +00:00
Ulrich Drepper 42d666a5cb Update.
* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
	f_bsize to help some broken programs.
1999-05-07 16:58:39 +00:00
Ulrich Drepper 31c46cf53d Update.
1999-05-07  Ulrich Drepper  <drepper@cygnus.com>

	* stdio-common/tst-printf.c: Add test case for last _itoa problem.

	* stdio-common/vfprintf.c: Fix typo.
1999-05-07 11:32:00 +00:00
Ulrich Drepper 7bcaca4384 Update.
* elf/link.h (struct link_map): New field l_phdr_allocated.
	* elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
	the program header being part of any loaded segment.  If it is not
	allocate memory and set l_phdr_allocated flag.
	* elf/dl-close.c (_dl_close): Free l_phdr if necessary.
1999-05-07 00:00:48 +00:00
Ulrich Drepper 607c351a14 Update.
1999-05-06  Ulrich Drepper  <drepper@cygnus.com>

	* nss/digits_dots.c: Correct return value interpretation of
	inet_ntoa.  Fix PR libc/1109.
1999-05-06 23:17:13 +00:00
Ulrich Drepper cbd57e2528 Update.
1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>

	* sysdeps/sparc/sparc32/sparcv9/Dist: New file.
1999-05-06 09:18:09 +00:00
Ulrich Drepper 45507acdf5 Update.
* stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
1999-05-06 09:06:27 +00:00
Ulrich Drepper 217da8c7d0 Update.
1999-05-06  Thorsten Kukuk  <kukuk@suse.de>

	* stdlib/fpioconst.c: Move #endif before end of struct.
1999-05-06 08:57:41 +00:00
Ulrich Drepper dc5efe83c0 Update.
* Versions.def (ld.so): Add GLIBC_2.1.1.
	* elf/Makefile (routines): Add dl-origin.
	(tests): Add origtest.  Add dependencies for the program.
	* elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
	_dl_platformlen, _dl_dst_count and _dl_dst_substitute.
	* elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
	(_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
	DT_AUXILIARY, and DT_FILTER filenames.
	* elf/dl-load.c (expand_dynamic_string_token): Explode into
	two functions and three macros.
	(_dl_dst_count, _dl_dst_substitute): New functions.
	* elf/dl-dst.h: New file.
	* elf/dl-open.c (_dl_open): Take extra parameter with address of
	caller.  Pass address in args structure.
	(dl_open_worker): Recognize and expand DSTs in filename.
	* elf/ldsodefs.h (_dl_open): Adapt prototype.
	* elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
	(__dlopen_check): Pass caller address to dlopen_doit in args.
	* elf/dlopendoit.c: Likewise.
	* iconv/gconv_dl.c: Adapt call of _dl_open.
	* nss/nsswitch.c: Likewise.
	* elf/origtest.c: New file.
	* sysdeps/generic/dl-origin.h: Moved to...
	* sysdeps/generic/dl-origin.c: ...here.
	* sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
	* sysdeps/unix/sysv/linux/dl-origin.c: ...here.
1999-05-05 23:29:18 +00:00
Ulrich Drepper 4f8dbcb126 Update.
* stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
	with specific bases and only few bits set in second word.
1999-05-05 17:08:26 +00:00
Ulrich Drepper bc9ffe71f9 Update.
1999-05-05  Ulrich Drepper  <drepper@cygnus.com>

	* timezone/Makefile (install-others): Create target directory
	before creating tzfiles.
1999-05-05 11:32:24 +00:00
Ulrich Drepper 3d8fa13a14 Update.
1999-05-05  Thorsten Kukuk  <kukuk@suse.de>

	* nis/nis_file.c (readColdStartFile): Allocate memory only after
	the file is opened successfully.

	* nis/nis_table.c: Fix some memory leaks.
1999-05-05 11:04:34 +00:00
Ulrich Drepper b5a9efcd93 Update.
* elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
	variable.
1999-05-04 12:24:18 +00:00
Ulrich Drepper 27aa0631c7 Update.
1999-05-04  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-load.c (expand_dynamic_string_token): Recognize { }
	around DST.  Correctly ignore ORIGIN IN SUID binaries.
1999-05-04 01:48:08 +00:00
Ulrich Drepper 9f509acb28 Update.
* sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
	* sysdeps/generic/strtok.c: Likewise.
1999-05-03 23:49:46 +00:00
Ulrich Drepper e0faeea74f Update.
* string/tester.c: Add test of rawmemchr.
1999-05-03 23:44:29 +00:00
Ulrich Drepper 6dc0d457ec Update.
* sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
	specification.  It's not necessary.
1999-05-03 22:05:54 +00:00
Ulrich Drepper ab7eb29230 Update.
* elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
	* elf/gen-trusted-dirs.awk: New file.
	* elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
	from SYSTEM_DIRS macro.
	(system_dirs_len): New variable.  Contains lengths of system_dirs
	strings.
	(fillin_rpath): Rewrite for systems_dirs being a simple string.
	Improve string comparisons.  Change parameter trusted to be a flag.
	Change all callers.
	(_dt_init_paths): Improve using new format for system_dirs.
1999-05-03 21:59:35 +00:00
Ulrich Drepper 68536096c8 Update.
* elf/dl-load.c (expand_dynamic_string_token): Don't expand
	$ORIGIN for SUID binaries.
1999-05-03 18:16:18 +00:00
Ulrich Drepper 4e9a34c48f Update.
1999-05-03  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
1999-05-03 12:41:01 +00:00
Ulrich Drepper e57931a826 Update.
1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sunrpc/Makefile: Generate dependencies for all flavors of
	librpcsvc objects.
	(rpcgen-cmd): Pass -Y flag here and remove it from the macro
	invocations.

1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* elf/dlopenold.c: Move #if down after includes to get
	dependencies right.

1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/generic/bzero.c: Undefine __bzero.
1999-05-03 08:46:13 +00:00
Ulrich Drepper 2d8e6e74c1 Update.
* sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
	* sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
	* sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
	Patch by Craig Small <csmall@scooter.eye-net.com.au>.
1999-05-02 21:09:34 +00:00
Ulrich Drepper 238ae1eb66 Update.
* sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
	parameter to struct gaih_servtuple *.  Adapt appropriately.
	(gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
	This fixes a memory leak.
	Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
1999-05-02 21:03:32 +00:00
Ulrich Drepper 48afc878d8 Update.
1999-05-02  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
	and fpregset_t definition.  They are defined in ucontext.h.
1999-05-02 19:00:43 +00:00
Ulrich Drepper 1331528f07 Update.
1999-04-14  Scott Bambrough  <scottb@netwinder.org>

	* sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
	and struct ether_header must be packed on the ARM.  The default
	alignment constraints add padding to the end of the structures.

1999-04-14  Scott Bambrough  <scottb@netwinder.org>

	* inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
	default alignment constraints add padding to the end of the
	structure and between members.
1999-05-02 18:55:59 +00:00
Ulrich Drepper 686dfcd106 Update.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
	_dl_cache_libcmp instead of strcmp.
1999-05-02 18:29:49 +00:00
Ulrich Drepper 647361287d Update.
1999-05-02  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
	fails on a file.
	Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
1999-05-02 18:17:07 +00:00
Ulrich Drepper c6293dee98 Update.
1998-03-30  Joel Klecker  <espy@debian.org>

	* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
	(sysdep-others,install-bin): Add lddlibc4.
1999-05-02 17:20:24 +00:00
Ulrich Drepper 4e720dd60d Update.
1999-05-02  H.J. Lu  <hjl@gnu.org>

	* timezone/zic.c (dolink): Remove the symlink destination first.

	* catgets/open_catalog.c (__open_catalog): Set catalog->status
	to "nonexisting" if failed to open the file.
1999-05-02 11:05:14 +00:00
Ulrich Drepper a97d1494f7 Update.
* string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
	gcc3.
1999-05-01 09:59:45 +00:00
Ulrich Drepper 0d3fe819f6 Update.
1999-05-01  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
	Prevent warnings from multiplication with 0x01010101 by another cast.
1999-05-01 00:16:16 +00:00
Ulrich Drepper 23f5f62d4b Update.
1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* string/bits/string2.h (memset): Revert to previous version if
	unaligned writes are not available.

1999-04-30  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
	better code in presence of the asm.

1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* stdlib/fmtmsg.c (keywords): Increase array size for faster
	indexing.

	* locale/localeinfo.h (_nl_category_names): Increase array element
	size for faster indexing.
	* locale/setlocale.c (_nl_category_names): Adjusted.

1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* iconv/gconv_conf.c (add_alias): Remove wrong cast.
1999-04-30 17:44:43 +00:00
Andreas Schwab ad8fa1c670 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/m68k/stackinfo.h: New file.
1999-04-30 17:33:00 +00:00
Ulrich Drepper 9e83c2fba3 Update.
* string/tester.c (test_strchrnul): New function.
	(test_memset): Test one more special case.

	* sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
1999-04-30 17:12:16 +00:00
Ulrich Drepper d8b29eea29 Update.
* sysdeps/i386/strchrnul.S: Fix bugs which let to wrong results in
	25% of all cases.
1999-04-30 16:53:27 +00:00
Ulrich Drepper 68d7943fa2 Update.
* sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
	base types.
1999-04-30 16:26:39 +00:00
Ulrich Drepper cf5464810d Update.
1999-04-30  Ulrich Drepper  <drepper@cygnus.com>

	* string/bits/string2.h: Fix bugs I introduced in last change.

	* sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
	register stall.
	Extend memset optimization.
	Correct i686 version of memchr.
1999-04-30 15:48:19 +00:00
Roland McGrath 1fafbbda1a * sysdeps/i386/bzero.c: Add #undef __bzero. 1999-04-30 14:38:02 +00:00
Roland McGrath 1b4331b2ac 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
	EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
	exec server simulated a SIGTRAP before we even started up, so gdb is
	already happy.
1999-04-30 13:53:34 +00:00
Ulrich Drepper 71c356ecbe Update.
1999-04-30  Ulrich Drepper  <drepper@cygnus.com>

	* nss/digits_dots.c: Always initialize not_ok.
1999-04-30 13:45:27 +00:00
Ulrich Drepper c1d226e77f Update.
1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>

	* string/bits/string2.h (memset): Avoid arithmetic overflow at
	compile time, which produces obnoxious warnings.  If GCCv2 is
	in use, map __bzero to __builtin_memset to enable that
	optimization.
1999-04-30 09:36:37 +00:00
Ulrich Drepper 9943472996 Update.
* string/bits/string2.h: Add more memset optimizations.
1999-04-29 18:28:07 +00:00
Ulrich Drepper 8a40ed6807 Update.
* resolv/inet_addr.c (inet_aton): Optimize switch statement away.
1999-04-29 18:20:05 +00:00
Ulrich Drepper 61fab08af7 Update.
* resolv/inet_pton.c (inet_pton4): Little optimizations.
	(inet_pton6): Likewise.
1999-04-29 16:26:38 +00:00
Ulrich Drepper 344c67b616 Update.
1999-04-29  Ulrich Drepper  <drepper@cygnus.com>

	* nss/getXXbyYY_r.c: Include assert.h.
	* nss/getXXbyYY.c: Likewise.
1999-04-29 13:19:45 +00:00
Ulrich Drepper 619cba73db Update.
1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* termios/tcgetsid.c (tcgetsid): Rename variable to
	tiocgsid_does_not_work.
1999-04-29 12:43:25 +00:00
Ulrich Drepper 3a07823a8b Update.
1999-04-29  Ulrich Drepper  <drepper@cygnus.com>

	* inet/getnameinfo.c (nrl_domainname): Fix last patch.
1999-04-29 12:41:52 +00:00
Ulrich Drepper 16b0f634a0 Update.
1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
	This allows e.g. gethostbyname to accept "10.1234".
	Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].

	* nss/test-netdb.c (test_hosts): Add test for gethostbyname and
	non quad IPv4 numbers.

	loaded shared object with all loaded objects.  Initialize l_ino
1999-04-29 12:18:08 +00:00
Ulrich Drepper 2c68584cdd Update.
1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
1999-04-29 10:56:31 +00:00
Ulrich Drepper c4563d2d66 Update.
1999-04-28  Ulrich Drepper  <drepper@cygnus.com>

	* argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
	* argp/argp-parse.c (_argp_hang): Likewise.
	* argp/argp-pv.c (argp_program_version): Likewise.
	* argp/argp-pvh.c (argp_program_version_hook): Likewise.
	* inet/ether_hton.c (ether_hton, startp): Likewise.
	* inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
	* inet/getnetgrent_r.c (setup, startp): Likewise.
	* intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
	* intl/localealias.c (string_space, string_space_act, string_space_max,
	nmap, maxmap): Likewise.
	* libio/iopopen.c (proc_file_chain): Likewise.
	* libio/oldiopopen.c (old_proc_file_chain): Likewise.
	* locale/lc-collate.c (__collate_table, __collate_extra,
	__collate_element_hash, __collate_element_strings,
	__collate_element_values): Likewise.
	* malloc/mcheck.c (mcheck_used): Likewise.
	* malloc/mtrace.c (added_atexit_handler): Likewise.
	* malloc/set-freeres.c (already_called): Likewise.
	* misc/getpass.c (getpass) [buf, bufsize]: Likewise.
	* misc/syslog.c (LogStat, LogTag): Likewise.
	* nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
	* nss/getXXbyYY_r.c (startp): Likewise.
	* posix/getopt.c (optarg, __getopt_initialized): Likewise.
	* posix/regex.c (init_syntax_once) [done]: Likewise.
	(debug): Likewise.
	* string/strfry.c (init): Likewise.
	* sunrpc/svc_run.c (svc_top): Likewise.
	* posix/euidaccess.c (have_ids): Likewise.
	* sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
	* sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
	* time/getdate.c (getdate_err): Likewise.
	* time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
	Likewise.
	* time/tzset.c (old_tz, is_initialized): Likewise.

	* inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
	of static data with zero.
	* signal/allocrtsig.c (init): Likewise.

	* string/Makefile (routines): Add strchrnul.
	* string/Versions [GLIBC_2.1.1]: Add strchrnul.
	* string/string.c: Add strchrnul prototype.
	* include/string.h: Add __strchrnul prototype.
	* sysdeps/generic/strchrnul.c: New file.
	* sysdeps/i386/strchrnul.S: New file.
	* sysdeps/i386/bits/string.c: Add strchrnul optimization.
	* sysdeps/i386/i486/bits/string.c: Likewise.
	* argp/argp-help.c (argp_args_usage): Use __strchrnul.
	* inet/ether_line.c (ether_line): Likewise.
	* nscd/nscd_conf.c (nscd_parse_file): Likewise.
	* nss/nsswitch.c (nss_parse_file): Likewise.
	* posix/execvp.c (execvp): Likewise.
	* posix/fnmatch.c (internal_fnmatch): Likewise.
	* resolv/res_hconf.c (_res_hconv_init): Likewise.
	* resolv/res_init.c (res_init): Likewise.
	* stdlib/fmtmsg.c (init): Likewise.
	* stdlib/getsubopt.c (getsubopt): Likewise.

	* catgets/catgets.c (catopen): Only allocate one memory block.
	(catclose): Only one free call necessary.

	* catgets/open_catalog.c (__open_catalog): Simplify handling of
	file descriptor.

	* ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
	of real functions.  Simplify _tolower and _toupper.

	* grp/initgroups.c (compat_call): Remove unnecessary use of pointer
	variable.

	* iconv/gconv.h (struct gconv_info): Change data element from pointer
	to array of size 0.
	* iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
	* iconv/gconv_close.c (__gconv_close): Don't free data.

	* iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
	insert new alias.

	* iconv/gconv_db.c (add_derivation): More efficient copying.  Check
	for error while inserting in tree.

	* include/time.h: Pretty print.

	* inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
	in table and lots of relocations.
	* posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
	string pointers in table and lots of relocations.

	* intl/finddomain.c: Remove definition of strchr macro.

	* io/ftw.c (nftw_arr, ftw_arr): Make const.

	* locale/loadlocale.c (_nl_load_locale): Optimize string copying.

	* locale/localeinfo.h (_nl_category_names): Change into an array with
	fixed width char string elements.
	* locale/setlocale.c (_nl_category_names): Likewise.
	(_nl_current): Make global.
	* locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.

	* malloc/Makefile (distribute): Add stackinfo.h.
	* sysdeps/generic/stackinfo.h: New file.
	* sysdeps/i386/stackinfo.h: New file.
	* posix/execl.c: Use stackinfo.h in optimizing alloca use.
	* posix/execle.c: Likewise.
	* posix/execlp.c: Likewise.

	* nis/nis_table.c (__create_ib_request): Always use realloc.

	* posix/execvp.c (execute): Rename to script_execute and keep only
	code to execute using shell.
	(execvp): Call execv directly and only fall back on script_execute.

	* resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
	and always use xdigits instead.

	* resolv/res_init.c (res_init): Use rawmemchr instead of strchr
	where appropriate.

	* stdlib/fpioconst.h (__tens): New declaration.
	(struct mp_power): Remove array, add arrayoff element.
	* stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
	__tens array and add in _fpioconst_pow10 offsets into __tens.
	* stdio-common/printf_fp.c: Rewrite to use new __tens array.
	* stdlib/strtod.c: Likewise.

	* stdlib/a64l.c (a64l_table): Avoid unnecessary elements.

	* stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
	of the list.
	* stdlib/atexit.c (__exit_funcs): Don't initialize.

	* stdlib/fmtmsg.c (keywords): Make name element fixed width array.

	* sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
	a single and an array with offsets.

	* sunrpc/des_soft.c (partab): Make it const.

	* sunrpc/key_call.c (trytimeout, tottimeout): Make const.
	(__key_encryptsession_pk_LOCAL): Don't initialize with 0.
	(__key_decryptsession_pk_LOCAL): Likewise.
	(__key_gendes_LOCAL): Likewise.
	(MESSENGER): Mark const.
	(key_call_private_main): Don't initialize with 0.
	(use_keyenvoy): Don't initialize with 0.
	(key_call): Rewrite to reverse logic of use_doors variable.

	* sunrpc/netname.c (OPSYS): Define as array, not pointer.
	(startp): Don't initialize with zero.

	* sunrpc/openchild.c (_openchild): Make first argument const.

	* sunrpc/pmap_rmt.c (timeout): Mark const.
	* sunrpc/xcrypt.c (hex): Likewise.

	* sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
	initialization of global variables.
	* sysdeps/unix/sysv/linux/getpt.c: Likewise.
	* sysdeps/unix/sysv/linux/if_index.c: Likewise.
	* termios/tcgetsid.c: Likewise.

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
	fxsr to osfxsr.

	* time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
	block.  Add function to free memory if wanted.
	* time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.

	* wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.

	* wcsmbs/wmemset.c: Little code optimization.
1999-04-28 23:13:52 +00:00
Ulrich Drepper fbb9cc9129 Fix typos.
1999-04-23  Paul Eggert  <eggert@twinsun.com>
	prefers loopback device.
1999-04-28 16:04:58 +00:00
Ulrich Drepper b0f88c14a7 Update.
1999-04-23  Paul Eggert  <eggert@1twinsun.com>

	* stdlib/strtoull.c: Surround strong_alias and weak_alias with
	ifdef _LIBC.
1999-04-28 15:52:17 +00:00