Commit Graph

3377 Commits

Author SHA1 Message Date
Ulrich Drepper cd61d12cbc Update.
* posix/regexbug1.c: Add one more similar case.
1999-08-28 22:40:55 +00:00
Ulrich Drepper d01d63190b Update.
1999-08-28  Ulrich Drepper  <drepper@cygnus.com>

	* malloc/malloc.c (ptmalloc_init): Don't use variables to set
	thresholds for SUID binaries.  [PR libc/1277]

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

	* manual/install.texi (Running make install): Give examples for
	timezone and locale installation.

1999-08-28  Zack Weinberg  <zack@bitmover.com>

	* glibcbug.in: Get CCVERSION from autoconf substitution.
	* configure.in: Calculate and substitute CCVERSION.

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

	* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
	partially reverting a patch from 1998-12-29.  We just can't change 
	the flags, kernels with different flags lead to
	incompatibilities.
1999-08-28 22:34:29 +00:00
Ulrich Drepper a125d9b46e Update.
1999-08-26  Andreas Schwab  <schwab@suse.de>

	* locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
1999-08-28 00:22:21 +00:00
Ulrich Drepper 8a3c844357 Update.
* inet/rexec.c (rexec): Free memory if strings were allocated in
	ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.

1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1999-08-27 21:44:13 +00:00
Ulrich Drepper 4744a4116a Update.
* locale/categories.def: Use __YESSTR amd __NOSTR in definition.
1999-08-27 19:57:45 +00:00
Ulrich Drepper 6dd5b57e8b Update.
* manual/ctype.texi: Likewise.
	* manual/locale.texi: Likewise.
1999-08-27 19:52:08 +00:00
Ulrich Drepper 2e8a853b6c Update.
* manual/argp.texi: Fixing language and typos.
1999-08-27 19:07:12 +00:00
Ulrich Drepper 04b9968b39 Update.
1999-08-27  Ulrich Drepper  <drepper@cygnus.com>

	* manual/argp.texi: Fixing language and types.
	* manual/conf.texi: Likewise.
	* manual/contrib.texi: Likewise.
	* manual/filesys.texi: Likewise.
	* manual/install.texi: Likewise.
	* manual/job.texi: Likewise.
	* manual/lang.texi: Likewise.
	* manual/llio.texi: Likewise.
	* manual/math.texi: Likewise.
	* manual/nss.texi: Likewise.
	* manual/pipe.texi: Likewise.
	* manual/signal.texi: Likewise.
	* manual/socket.texi: Likewise.
	* manual/stdio.texi: Likewise.
	* manual/sysinfo.texi: Likewise.
	* manual/users.texi: Likewise.
	Patches by Neil Booth <NeilB@earthling.net>.
1999-08-27 19:06:58 +00:00
Ulrich Drepper 77faa35416 Update.
* sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
	unsigned to avoid warning.  [PR libc/1271].

	* conform/conformtest.pl: Allow testing regex.h which requires
	sys/types.h being included.
1999-08-26 06:29:56 +00:00
Ulrich Drepper b395c02de7 Update.
* conform/data/regex.h-data: Allow *_t types.
	* conform/data/pwd.h-data: Likewise.
	* conform/data/sched.h-data: Likewise
	* conform/data/pthread.h-data: Likewise.
	* conform/data/search.h-data: Likewise.

	* misc/search.h: Avoid namespace pollution.
1999-08-26 00:13:21 +00:00
Ulrich Drepper 7f42d3dd6f Update.
* conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
	pwd.h, and pthread.h.
	* conform/data/pthread.h-data: New file.
	* conform/data/pwd.h-data: New file.
	* conform/data/regex.h-data: New file.
	* conform/data/sched.h-data: New file.
	* conform/data/search.h-data: New file.

	* NAMESPACE: Add REG_ for regex.h.

	* locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
	they are removed.
1999-08-25 23:53:55 +00:00
Ulrich Drepper 050838a491 Update.
* configure.in (libc_cv_asm_global_directive): Indent .text in
	test code so that the lame HPUX compiler recognizes it.
	* sysdeps/hppa/bits/endian.h: New file.
	* sysdeps/unix/sysv/hpux/bits/errno.h: New file.
	* sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
	* sysdeps/unix/sysv/hpux/bits/stat.h: New file.
	* sysdeps/unix/sysv/hpux/bits/types.h: New file.
1999-08-25 20:31:24 +00:00
Ulrich Drepper 01c771d0ac Update.
* sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
	Patch by John Tobey <jtobey@banta-im.com>.

	* sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
1999-08-25 18:57:31 +00:00
Ulrich Drepper cf752fe284 Update.
1999-08-25  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
	old_siocfifconf definition to toplevel.
	(__protocol_available): Remove old_siocfifconf definition.
1999-08-25 18:30:13 +00:00
Ulrich Drepper 2a947279de Update.
1999-08-25  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
	really dealing with a master pseudo terminal, and really returning
	the name of the associated slave pseudo terminal by checking the
	device number.
	* sysdeps/unix/sysv/linux/pty-private.h: Removed.
	* login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
1999-08-25 17:57:34 +00:00
Ulrich Drepper 2f44482393 Update.
1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
	underscore in _llseek entry.

	* sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
	entry.

	* sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
	* sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.

	* elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
	Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1999-08-25 17:47:08 +00:00
Ulrich Drepper 71d3bda9a7 Update.
1999-08-25  Ulrich Drepper  <drepper@cygnus.com>

	* inet/Makefile (routines): Add getipnodebynm.
	* inet/getipnodebynm.c: New file.
	* nss/digits_dots.c: If HAVE_TYPE is define type contains the
	interface type.
	* nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
	EXTRA_ARGS_VALUE is not already done.
	(internal_getent): Allow extra parameters and pass them to parse_line.
	(_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
	(_nss_files_get##name##_r): Likewise.
	* nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
	and EXTRA_ARGS_VALUE to pass flags and type to parser.
	Add getipnodebyname function.
	* nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
	EXTRA_ARGS_VALUE is not already done.
	(parse_line): Add EXTRA_ARGS_DECL to parameter list.
	* nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
	to parse_line.
	(_nss_db_get##name##_r): Pass extra parameters to lookup.
	(_nss_db_get,ENTNAME_r): Likewise.
	* sysdeps/generic/if_index.c (__protocol_available): New function.
	* sysdeps/unix/sysv/linux/if_index.c: Likewise.
1999-08-25 17:19:50 +00:00
Ulrich Drepper ad65970214 Update.
* login/pty-private.h: Move to...
	* sysdeps/generic/pty-private.h: ...here.
	* sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
	version.
	* login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
	available.
1999-08-25 06:43:29 +00:00
Ulrich Drepper 5c8d1fc0f6 Update.
* libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
	of __overflow.
1999-08-25 04:38:09 +00:00
Ulrich Drepper 7b5fd91d77 Update.
* conform/conformtest.pl (@headers): Add monetary.h-data,
	mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
	* conform/data/monetary.h-data: New file.
	* conform/data/mqueue.h-data: New file.
	* conform/data/ndbm.h-data: New file.
	* conform/data/nl_types.h.h-data: New file.
	* conform/data/poll.h-data: New file.
1999-08-25 01:33:54 +00:00
Ulrich Drepper 248286e533 Update.
* stdio-common/Makefile (test): Add tst-cookie.
	* stdio-common/tst-cookie.c: New file.
1999-08-25 00:51:16 +00:00
Ulrich Drepper 4ebc35ac66 Update.
1999-08-24  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
	changed in last patch.  Reported by Ralf Baechle.
1999-08-24 22:13:41 +00:00
Ulrich Drepper db72c1e46f Update.
* sysdeps/unix/mips/sysdep.h: Use __syscall_error.

	* sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
	Patches by Ralf Baechle <ralf@uni-koblenz.de>

1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1999-08-24 21:00:04 +00:00
Ulrich Drepper 08c70af087 Update.
1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
	Linux 2.3.15.
1999-08-24 20:56:03 +00:00
Ulrich Drepper abd3161206 Update.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
	syscall.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1999-08-24 20:47:04 +00:00
Ulrich Drepper 52cf7d345d Update.
* misc/libgen.h: Don't take basename macro as taking arguments.

	* sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
	for gcc >= 2.95.
	* sysdeps/i386/bits/huge_val.h: Likewise.
	* sysdeps/i386/bits/huge_val.h: Likewise.
	* sysdeps/ieee754/bits/huge_val.h: Likewise.
	* sysdeps/m68k/bits/huge_val.h: Likewise.
	* sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
	* sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
1999-08-24 20:40:44 +00:00
Ulrich Drepper da1067a915 Update.
1999-08-24  Ulrich Drepper  <drepper@cygnus.com>

	* conform/Makefile: New file.
	* conform/conformtest.pl: New file.
	* conform/data/aio.h-data: New file.
	* conform/data/assert.h-data: New file.
	* conform/data/cpio.h-data: New file.
	* conform/data/ctype.h-data: New file.
	* conform/data/dirent.h-data: New file.
	* conform/data/dlfcn.h-data: New file.
	* conform/data/errno.h-data: New file.
	* conform/data/fcntl.h-data: New file.
	* conform/data/float.h-data: New file.
	* conform/data/fmtmsg.h-data: New file.
	* conform/data/fnmatch.h-data: New file.
	* conform/data/ftw.h-data: New file.
	* conform/data/glob.h-data: New file.
	* conform/data/grp.h-data: New file.
	* conform/data/iconv.h-data: New file.
	* conform/data/inttypes.h-data: New file.
	* conform/data/iso646.h-data: New file.
	* conform/data/langinfo.h-data: New file.
	* conform/data/libgen.h-data: New file.
	* conform/data/locale.h-data: New file.
	* conform/data/math.h-data: New file.
1999-08-24 17:55:34 +00:00
Ulrich Drepper 1b13e783c5 Update.
1999-08-23  Ulrich Drepper  <drepper@cygnus.com>

	* posix/execvp.c (execvp): Correct copying of file name.
1999-08-23 22:22:06 +00:00
Ulrich Drepper 69c0500a4f (execvp): Correct copying of file name. 1999-08-23 22:20:34 +00:00
Roland McGrath a41301f038 1999-08-23 Mark Kettenis <kettenis@gnu.org>
* hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.

	* stdio-common/Makefile: Move addition to routines to the right place.
1999-08-23 21:06:00 +00:00
Roland McGrath 09d434dfc6 1999-08-23 Mark Kettenis <kettenis@gnu.org>
* hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
1999-08-23 20:53:42 +00:00
Ulrich Drepper 1d0b89a483 Update.
1999-08-23  Ulrich Drepper  <drepper@cygnus.com>

	* stdio-common/Makefile: Mode addition to routines to the right place.

	* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1999-08-23 17:55:49 +00:00
Ulrich Drepper b7e519e780 Update.
1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
	since mips*-linux has ECANCELED.

1999-08-23  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
	SIGCONTEXT_EXTRA_ARGS.
	* sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
	* sysdeps/generic/sigcontextinfo.h: Likewise.
	* sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h:
	Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h:
	Likewise.
1999-08-23 17:53:16 +00:00
Ulrich Drepper 539491ac15 Update. 1999-08-23 17:31:46 +00:00
Ulrich Drepper a286028236 Update.
1999-08-23  Ulrich Drepper  <drepper@cygnus.com>

	* posix/regexbug1.c: Make it an error if the test fails.

1999-08-23  Andreas Schwab  <schwab@suse.de>
	    Ulrich Drepper  <drepper@cygnus.com>

	* posix/regex.c (re_match_2_internal): Correct check for charset
	after exactn in loop.
1999-08-23 16:54:35 +00:00
Ulrich Drepper c107ccd460 Update.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
	Patch by Joel Klecker.
1999-08-23 04:08:53 +00:00
Ulrich Drepper c90a2db6e0 Update.
1999-08-22  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
	(__gconv_find_transform): Update prototype.
	(__gconv_open): Likewise.
	* iconv/gconv_open.c: Take extra parameter and pass it to
	__gconv_find_transform.
	* iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
	flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
	transformation.
	* iconv/iconv_open.c: Pass extra parameter to __gconv_open.
	* wcsmbs/wcsmbsload.c: Likewise.
	* intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
	iconv for glibc.
	* intl/gettextP.h: Likewise.
	* intl/loadmsgcat.c: Likewise.

	* posix/regexbug1.c: New file.
	* posix/Makefile (tests): Add regexbug1.
1999-08-22 22:39:16 +00:00
Ulrich Drepper 60c53a1219 (__gconv_find_transform): Take extra parameter with flags. If GCONV_AVOID_NOCONV flag is set don't return copying transformation. 1999-08-22 22:28:29 +00:00
Roland McGrath dc32a7c4b2 1999-08-22 Mark Kettenis <kettenis@gnu.org>
* hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
	* hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
	installing PORT in the descriptor cell.

1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>

	* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
	TIMEOUT as outputs of the asm to indicate that the signal thread
	might mutate them.
	* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
	mach_msg if only sending or only receiving (i.e., not an RPC).  When
	making an RPC that might get interrupted, save OPTION and the portion
	of the message buffer that gets clobbered by an EINTR reply message,
	and properly restore them before attempting to retry the request
	message send.
1999-08-22 22:28:03 +00:00
Roland McGrath 38e30b398a 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
	TIMEOUT as outputs of the asm to indicate that the signal thread
	might mutate them.
	* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
	mach_msg if only sending or only receiving (i.e., not an RPC).  When
	making an RPC that might get interrupted, save OPTION and the portion
	of the message buffer that gets clobbered by an EINTR reply message,
	and properly restore them before attempting to retry the request
	message send.
1999-08-22 22:23:58 +00:00
Ulrich Drepper ab58d6203b Update.
1999-08-21  Mark Kettenis  <kettenis@gnu.org>

	* stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
	definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
	CHAR_T, UCHAR_T and WIN_T to make the code compile again when
	stdio is used instead of libio.
	* stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
	definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
	to make the code compile again when stdio is used instead of
	libio.
	(vfprintf): Only check for correct orientation if ORIENT is
	defined.
	* stdio-common/Makefile (routines): Only add vfwprintf and
	vfwscanf if we're using libio.

1999-08-21  Mark Kettenis  <kettenis@gnu.org>

	* include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
	any additional prototype just as we do for libio.

1999-08-21  Mark Kettenis  <kettenis@gnu.org>

	* include/bits/xopen_lim.h: Do not define STREAM_MAX and
	TZNAME_MAX.  These limits are not X/Open specific.
	* stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
	is defined.

1999-08-21  Mark Kettenis  <kettenis@gnu.org>

	* Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
	UIO_MAXIOV is left undefined in sys/uio.h.
	* stdio-common/stdio_lim.h.in: Adapt for change above.

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

	* sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
	* sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
	Patches by Ralf Baechle <ralf@uni-koblenz.de>
1999-08-22 16:26:00 +00:00
Ulrich Drepper fd292f70c0 Update.
1999-08-21  Ulrich Drepper  <drepper@cygnus.com>

	* stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
1999-08-22 06:09:34 +00:00
Ulrich Drepper c086e2d210 Update.
* sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
1999-08-21 04:53:15 +00:00
Ulrich Drepper 52cea45760 Update.
* sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
	call.  It should not be necessary andis harmful for Alpha.
1999-08-21 04:13:24 +00:00
Ulrich Drepper 511a009115 Update.
* include/iconv.h: New file.
1999-08-21 00:38:15 +00:00
Ulrich Drepper 5a02dce6b7 Update.
* include/libintl.h: Declare __dgettext and __dcgettext.
1999-08-21 00:37:18 +00:00
Ulrich Drepper a2b3aa73b8 Update.
* sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
	type.  [PR libc/1269]
1999-08-20 23:44:23 +00:00
Ulrich Drepper 6570e194e6 Update.
* intl/gettextP.h (struct loaded_domain): Add conv element.
	* intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
	Instead of returning found message directly convert it using iconv
	if a conversion was found when opening the file.
	* intl/loadinfo.h: Protect against multiple inclusion.
	Declare _nl_find_msg.
	* intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
	in the message file and if necessary find approrpiate
	conversion to match currently selected charset.
1999-08-20 19:52:54 +00:00
Ulrich Drepper be7d999a09 Update.
* sysdeps/unix/sysv/linux/getcwd.c: Allocate buffer large enough
	not only if size == 0, but also for size < 0.
	* sysdeps/posix/getcwd.c: Likewise.  [PR libc/1269]
1999-08-20 18:07:28 +00:00
Ulrich Drepper f95a00152a Update.
* sysdeps/posix/getcwd.c: Allocate buffer large enough not only if
	size == 0, but also for size < 0 [PR libc/1269].
1999-08-20 18:04:45 +00:00