aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-08-28Update.Ulrich Drepper13-31/+115
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-28Update.Ulrich Drepper3-1/+8
1999-08-26 Andreas Schwab <schwab@suse.de> * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
1999-08-27Update.Ulrich Drepper2-0/+15
* 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-27Update.Ulrich Drepper2-4/+6
* locale/categories.def: Use __YESSTR amd __NOSTR in definition.
1999-08-27Update.Ulrich Drepper3-289/+284
* manual/ctype.texi: Likewise. * manual/locale.texi: Likewise.
1999-08-27Update.Ulrich Drepper1-1/+1
* manual/argp.texi: Fixing language and typos.
1999-08-27Update.Ulrich Drepper17-1087/+1078
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-26Update.Ulrich Drepper4-2/+21
* 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-26Update.Ulrich Drepper7-7/+23
* 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-25Update.Ulrich Drepper10-7/+271
* 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-25Update.Ulrich Drepper7-1/+338
* 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-25Update.Ulrich Drepper4-1/+177
* 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-25Update.Ulrich Drepper3-13/+16
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-25Update.Ulrich Drepper4-52/+45
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-25Update.Ulrich Drepper5-9/+22
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-25Update.Ulrich Drepper11-36/+381
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-25Update.Ulrich Drepper4-2/+63
* 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-25Update.Ulrich Drepper2-1/+4
* libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead of __overflow.
1999-08-25Update.Ulrich Drepper8-1/+200
* 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-25Update.Ulrich Drepper2-1/+4
* stdio-common/Makefile (test): Add tst-cookie. * stdio-common/tst-cookie.c: New file.
1999-08-24Update.Ulrich Drepper2-1/+6
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-24Update.Ulrich Drepper3-22/+64
* 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-24Update.Ulrich Drepper2-2/+11
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-24Update.Ulrich Drepper3-0/+6
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve syscall. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1999-08-24Update.Ulrich Drepper27-88/+235
* 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-24Update.Ulrich Drepper24-0/+1186
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-23Update.Ulrich Drepper1-0/+4
1999-08-23 Ulrich Drepper <drepper@cygnus.com> * posix/execvp.c (execvp): Correct copying of file name.
1999-08-23(execvp): Correct copying of file name.Ulrich Drepper1-2/+4
1999-08-231999-08-23 Mark Kettenis <kettenis@gnu.org>Roland McGrath1-1/+5
* hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else. * stdio-common/Makefile: Move addition to routines to the right place.
1999-08-231999-08-23 Mark Kettenis <kettenis@gnu.org>Roland McGrath1-1/+1
* hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
1999-08-23Update.Ulrich Drepper4-5/+71
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-23Update.Ulrich Drepper11-7/+36
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-23Update.Ulrich Drepper2-17/+8
1999-08-23Update.Ulrich Drepper3-23/+29
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-23Update.Ulrich Drepper3-0/+6
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. Patch by Joel Klecker.
1999-08-22Update.Ulrich Drepper10-26/+116
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(__gconv_find_transform): Take extra parameter with flags. If ↵Ulrich Drepper1-1/+17
GCONV_AVOID_NOCONV flag is set don't return copying transformation.
1999-08-221999-08-22 Mark Kettenis <kettenis@gnu.org>Roland McGrath3-2/+24
* 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-221999-08-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2-59/+140
* 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-22Update.Ulrich Drepper10-41/+113
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-22Update.Ulrich Drepper2-8/+9
1999-08-21 Ulrich Drepper <drepper@cygnus.com> * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
1999-08-21Update.Ulrich Drepper2-0/+3
* sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
1999-08-21Update.Ulrich Drepper5-9/+62
* sysdeps/unix/sysv/linux/init-first.c (init): Remove personality call. It should not be necessary andis harmful for Alpha.
1999-08-21Update.Ulrich Drepper2-0/+2
* include/iconv.h: New file.
1999-08-21Update.Ulrich Drepper2-0/+5
* include/libintl.h: Declare __dgettext and __dcgettext.
1999-08-20Update.Ulrich Drepper3-9/+8
* sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size type. [PR libc/1269]
1999-08-20Update.Ulrich Drepper8-36/+245
* 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-20Update.Ulrich Drepper3-7/+8
* 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-20Update.Ulrich Drepper1-0/+3
* sysdeps/posix/getcwd.c: Allocate buffer large enough not only if size == 0, but also for size < 0 [PR libc/1269].
1999-08-20Update.Ulrich Drepper2-12/+17
* posix/execvp.c (execvp): Allocate array name of correct size. Optimize inner loop. Use execve directly, not execv.