Commit Graph

3468 Commits

Author SHA1 Message Date
Ulrich Drepper
7aa6d20822 Update.
1999-08-06  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
	MSG_DONTWAIT).
1999-08-06 23:01:00 +00:00
Ulrich Drepper
f341c297f6 Update.
1999-08-06  H.J. Lu  <hjl@gnu.org>

	* malloc/malloc.c: Initialize __libc_pagesize early.
1999-08-06 22:57:19 +00:00
Ulrich Drepper
544e1130df Update.
* string/string-inlines.c: Undefined __USE_STRING_INLINES before
	defining it.
1999-08-06 22:27:07 +00:00
Ulrich Drepper
5ab1c03381 Update.
* inet/Makefile (tests): Add tst-ipnode.
1999-08-06 20:12:31 +00:00
Ulrich Drepper
93160baaa0 Update.
1999-08-06  Ulrich Drepper  <drepper@cygnus.com>

	* inet/tst-ipnode.c: New file.
1999-08-06 20:11:37 +00:00
Ulrich Drepper
c79772f542 Update.
1999-08-06  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
	New definitions.
	(O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
	(O_LARGEFILE): Define only if __USE_LARGEFILE64.
	* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
	New definitions.
	(O_LARGEFILE): Define only if __USE_LARGEFILE64.
	* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
1999-08-06 17:23:27 +00:00
Ulrich Drepper
652df710ba Update.
1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>

	* sysdeps/ieee754/ldbl-128/e_expl.c: New file.
	* sysdeps/ieee754/ldbl-128/t_expl.h: New file.
	* sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
1999-08-06 17:20:19 +00:00
Ulrich Drepper
0cebbf5197 Update.
1999-08-06  Ulrich Drepper  <drepper@cygnus.com>

	* resolv/res_send.c (res_send): Don't test file descriptor for
	range, we use poll now.  [PR libc/1240]
1999-08-06 16:35:33 +00:00
Ulrich Drepper
6eead9b470 Update.
1999-08-05  Ulrich Drepper  <drepper@cygnus.com>

	* libio/genops.c (_IO_flush_all): Don't access elements beyond what
	2.0 defined if they are not available.
1999-08-05 18:20:47 +00:00
Ulrich Drepper
b85f2e879f Update.
1999-08-05  Thorsten Kukuk  <kukuk@suse.de>

	* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
	Define.
1999-08-05 16:58:38 +00:00
Ulrich Drepper
4a900f3be3 Update.
* hesiod/hesiod.c: Avoid emitting rcsid in object file.
1999-08-05 01:33:18 +00:00
Ulrich Drepper
cfafc6fd96 Update.
* rt/aio_fsync.c: Test OP parameter for correct values.
1999-08-05 00:21:21 +00:00
Ulrich Drepper
d65ddb3495 Update.
* rt/aio_fsync.c: Likewise.
1999-08-05 00:10:40 +00:00
Ulrich Drepper
f6948bdc7c Update.
* rt/aio_write.c: Fix return value.
	* rt/aio_write64.c: Likewise.
1999-08-05 00:04:45 +00:00
Ulrich Drepper
4bea7a2ee1 Update.
1999-08-04  Ulrich Drepper  <drepper@cygnus.com>

	* rt/aio_read.c: Fix return value.
	* rt/aio_read64.c: Likewise.
	Reported by Christian Gafton.

	* rt/aio_misc.c: Set errno at correct place.
1999-08-04 23:55:20 +00:00
Ulrich Drepper
2f638d5e5a Update.
1999-08-04  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
	Initialize result to one.
	(GET_NPROCS_CONF_PARSER): Likewise.
1999-08-04 16:01:55 +00:00
Ulrich Drepper
630b9a59e1 Update.
1999-08-03  Ulrich Drepper  <drepper@cygnus.com>

	* inet/ether_hton.c: Pass errno pointer to NSS function.
	* inet/getnetgrent_r.c: Likewise.
	Reported by Marty Leisner <leisner@rochester.rr.com>.
1999-08-04 00:09:53 +00:00
Ulrich Drepper
d6f6ffa166 Update.
1999-08-02  Thorsten Kukuk  <kukuk@suse.de>

	* nis/nis_callback.c: Fix port problem on big-endian machines
	* sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
	fields are always 32 bit.
	Patches from Paul Mackerras <paulus@cs.anu.edu.au>

	* nis/nss_nis/nis-service.c: Remove htons, port is always in
	network-byte-order.
	* nis/nss_nisplus/nisplus-service.c: Rename number to port.
1999-08-03 17:22:13 +00:00
Ulrich Drepper
4bdd64534f Update.
1999-08-03  Andreas Schwab  <schwab@suse.de>

	* sysdeps/posix/sigset.c: Unblock the signal after setting its
	disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
	avoid two calls to sigprocmask.
1999-08-03 17:09:27 +00:00
Ulrich Drepper
d03db7f0c7 Update.
1999-08-02  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/s_nexttowardf.c: Fix typo.
1999-08-02 23:56:41 +00:00
Ulrich Drepper
b533f96fb1 Fix typo.
* nis/nis_callback.c (internal_nis_do_callback): Use poll()
1999-08-02 22:12:22 +00:00
Ulrich Drepper
7b19af6891 Update.
1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>

	* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
	Only allow rt signal frames. No SA_SIGINFO signals will have the
	siginfo_t just not filled out with SI_NOINFO code.
	* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
	(register_dump): Take the above change into account.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
	(rt_signal_frame): Likewise.

	* sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
1999-08-02 20:04:56 +00:00
Ulrich Drepper
249fd241a2 Update.
1999-08-02  Thorsten Kukuk  <kukuk@suse.de>

	* nis/nis_callback.c (internal_nis_do_callback) use poll()
	instead of select().

1999-08-02  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/s_nextafter.c: Define __nexttoward and
	nexttoward so something else so that aliasing works.

1999-08-02  Thorsten Kukuk  <kukuk@suse.de>

	* sysdeps/generic/math_ldbl.h: Fix typo.
	* sysdeps/generic/strtold.c: Remove unbalanced #endif.
	* sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.

1999-08-02  Ulrich Drepper  <drepper@cygnus.com>

	* elf/resolvfail.c: Include stdio.h.  Also test dlerror.
1999-08-02 19:56:07 +00:00
Ulrich Drepper
ff5fad1641 Update.
* elf/Makefile (tests): Add resolvfail.  Add rules to build the
	program.
	* elf/resolvfail.c: New file.
1999-08-01 21:43:03 +00:00
Ulrich Drepper
4f2793d41f Update.
1999-08-01  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-sym.c (_dl_sym): Always determine module of the caller to
	pass it to _dl_lookup_symbol.

	* elf/dl-error.c (_dl_signal_error): Optimize string generation a
	bit.  Reword message.

	* dlfcn/dlerror.c: Make code thread-safe.
1999-08-01 19:24:38 +00:00
Ulrich Drepper
7730a3b9d4 Pretty print. 1999-08-01 18:04:40 +00:00
Roland McGrath
549c48e737 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
	initializer in CHECK: a bit size, not the type code repeated!
1999-08-01 02:43:05 +00:00
Roland McGrath
a606ab4c89 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
	initializer in CHECK: a bit size, not the type code repeated!
1999-08-01 02:41:04 +00:00
Ulrich Drepper
8685bf1336 Update.
1999-07-31  Ulrich Drepper  <drepper@cygnus.com>

	* string/tester.c: Add tests with constant arguments for strcpy
	and stpcpy.
1999-07-31 22:56:48 +00:00
Ulrich Drepper
83f6a99044 Update.
1999-07-31  H.J. Lu  <hjl@gnu.org>

	* string/bits/string2.h (__strcpy_small): Fix a typo.
1999-07-31 22:27:07 +00:00
Ulrich Drepper
f01010de9b Update.
* Makeconfig (link-libc): Always define it, not only for shared
	builds.
1999-07-31 07:21:56 +00:00
Ulrich Drepper
899a282782 Update.
1999-07-31  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
	* sysdeps/i386/fpu/e_powf.S: Likewise.
	* sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].

	* sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
	* sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
1999-07-31 07:16:41 +00:00
Ulrich Drepper
bdb04ee8e2 Update.
1999-07-30  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
	definition.
	(__get_nprocs): Use it.
	(__get_nprocs_conf): Define as separate function if
	GET_NPROCS_CONF_PARSER is defined.
	* sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.

	* include/sys/sysinfo.h: New file.
	* sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
	interface.
	* sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.

1999-07-30  H.J. Lu  <hjl@gnu.org>

	* libio/iofflush.c (fflush_unlocked): Weak aliase if
	_IO_MTSAFE_IO is not defined.
	* libio/clearerr.c (clearerr_unlocked): Likewise.
	* libio/feof.c (feof_unlocked): Likewise.
	* libio/ferror.c (ferror_unlocked): Likewise.
	* libio/fputc.c (fputc_unlocked): Likewise.
	* libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
	* libio/getchar.c (getchar_unlocked): Likewise.
	* libio/putc.c (putc_unlocked): Likewise.
	* libio/putchar.c (putchar_unlocked): Likewise.

1999-07-30  Thorsten Kukuk  <kukuk@suse.de>

	* sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
	  svc_max_pollfd and svc_pollfd to GLIBC_2.2
	* sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
	  for svc_run/poll interface.
	* sunrpc/rpc/types.h: Add rpc*_t typedefs.
	* sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
	  global variable.
	* sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
	  rewrite other svc_getreq* functions to use svc_getreq_common.
	* sunrpc/svc_run.c: Use poll().

1999-07-30  Andreas Schwab  <schwab@suse.de>

	* Makerules: Put sysd-versions and Versions.all on
	postclean-generated instead of common-generated.

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

	* manual/time.texi (Basic CPU Time): Note that clock_t can wrap
	around and CLOCKS_PER_SEC is 1e6.
1999-07-31 06:11:24 +00:00
Ulrich Drepper
3d558f4ec7 Update.
* configure.in: Add test for local label subtraction.
	* config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
	* stdio-common/vfprintf.c (vfprintf): Use subtraction of local
	labels to reduce number of runtime relocations and move jump
	tables in read-only seciton.
1999-07-31 05:15:48 +00:00
Ulrich Drepper
94ffedf6e6 Update.
1999-07-30  Ulrich Drepper  <drepper@cygnus.com>

	* malloc/malloc.c (ptmalloc_init): Correct last patch.  The
	assignment cannot be moved.
1999-07-31 04:34:31 +00:00
Ulrich Drepper
66f8fa9bec Update.
* malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
	if no threads are used.

	* libio/iofwrite.c: Add weak alias for _unlocked function if not
	_IO_MTSAFE_IO.
	* libio/iofread.c: Likewise.
	* libio/iofgets.c: Likewise.
	* libio/iofputs.c: Likewise.

	* sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
	definition.
1999-07-30 06:32:48 +00:00
Ulrich Drepper
5330804225 Update.
1999-07-29  H.J. Lu  <hjl@gnu.org>

	* stdlib/mbtowc.c: Include <string.h>.
	* stdlib/wctomb.c: Likewise.
	* sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
	* sysdeps/unix/sysv/linux/statfs64.c: Likewise.

	* misc/mntent_r.c: Include <alloca.h>.
	* elf/dl-runtime.c: Likewise.
1999-07-29 23:46:10 +00:00
Ulrich Drepper
f9a2a6369d Update.
1999-07-29  Andreas Schwab  <schwab@suse.de>

	* misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
	all floating point formats supported by gcc.  Error out for
	unhandled precisions.
	* misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
	* misc/qefgcvt.c (NDIGIT_MAX): Likewise.
	* misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
1999-07-29 22:34:58 +00:00
Ulrich Drepper
dbc75fb3cc Update.
* stdlib/Makefile (tests): Add tst-environ.
1999-07-29 22:25:03 +00:00
Ulrich Drepper
de4a40d07f Update.
* sysdeps/generic/setenv.c: Move setenv code in new function
	__add_to_environ.  Add new parameter specifying already
	constructed string for the environment.
	(setenv): Call __add_to_environ with new parameter set to NULL.
	(unsetenv): Really test all elements for duplicated name.  Missed those
	cases where the two are following each other.
	* sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
	* include/stdlib.h: Add prototype of __add_to_environ.
	* stdlib/tst-environ.c: New file.
1999-07-29 20:40:05 +00:00
Ulrich Drepper
a827898574 Tests for setenv, unsetenv, putenv, etc. 1999-07-29 20:36:56 +00:00
Roland McGrath
50d3390d3b 1999-07-27 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
	assembler code to switch stacks and call init1 outside this
	function.  Inside `init' the code was optimized away by gcc
	2.95 since it was "clearly" unreachable.
	* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
	Do something similar for the trampoline code.
1999-07-29 18:35:29 +00:00
Ulrich Drepper
9031847df2 Update.
* sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
1999-07-29 17:13:56 +00:00
Ulrich Drepper
ea3e6a3a65 Update.
1999-07-29  Ulrich Drepper  <drepper@cygnus.com>

	* nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
	argument in realloc call.
	* nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
	Likewise.
	Reported by Danny Braniss <danny@cs.huji.ac.il>.
1999-07-29 15:48:47 +00:00
Ulrich Drepper
6b7986213d Update.
1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manager.c: Remove inclusion of <linux/tasks.h> since it's not
	needed anymore.
1999-07-29 06:42:27 +00:00
Ulrich Drepper
b113c12c35 Update.
1999-07-28  Ulrich Drepper  <drepper@cygnus.com>

	* misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
	to print.
	* misc/efgcvt_r.c: Likewise.
	* misc/qefgcvt.c: Likewise.
	* misc/qefgcvt_r.c: Likewise.
	* misc/tst-efgcvt.c: Remove one test which cannot reliably be run
	anymore.
1999-07-28 22:39:04 +00:00
Ulrich Drepper
aa847ee5a4 Update.
1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/math.texi (FP Function Optimization): Mention drawbacks.
1999-07-28 19:45:27 +00:00
Ulrich Drepper
9f097308c7 Update.
1999-07-28  Ulrich Drepper  <drepper@cygnus.com>

	* stdlib/mblen.c: Use static state.
	Reported by Bruno Haible <haible@ilog.fr>.

	* stdlib/mbtowc.c: Reset state for s == NULL.
	* stdlib/wctomb.c: Likewise.
	Reported by Bruno Haible <haible@ilog.fr>.

	* stdlib/mbstowcs.c: Do not use global state.
	Reported by Bruno Haible <haible@ilog.fr>.
1999-07-28 19:37:40 +00:00
Ulrich Drepper
97a0d44d89 Update.
1999-07-28  Andeas Schwab  <schwab@suse.de>

	* iconvdata/Makefile: Don't try to run iconv tests when cross
	compiling.
1999-07-28 19:16:26 +00:00
Ulrich Drepper
105306ae6e Remove COPYING*. 1999-07-28 18:57:42 +00:00