aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-08-23Update.Ulrich Drepper
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 Drepper
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 Drepper
1999-08-23Update.Ulrich Drepper
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 Drepper
* 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 Drepper
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 Drepper
GCONV_AVOID_NOCONV flag is set don't return copying transformation.
1999-08-221999-08-22 Mark Kettenis <kettenis@gnu.org>Roland McGrath
* 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 McGrath
* 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 Drepper
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 Drepper
1999-08-21 Ulrich Drepper <drepper@cygnus.com> * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
1999-08-21Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
1999-08-21Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/init-first.c (init): Remove personality call. It should not be necessary andis harmful for Alpha.
1999-08-21Update.Ulrich Drepper
* include/iconv.h: New file.
1999-08-21Update.Ulrich Drepper
* include/libintl.h: Declare __dgettext and __dcgettext.
1999-08-20Update.Ulrich Drepper
* sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size type. [PR libc/1269]
1999-08-20Update.Ulrich Drepper
* 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 Drepper
* 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 Drepper
* 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 Drepper
* posix/execvp.c (execvp): Allocate array name of correct size. Optimize inner loop. Use execve directly, not execv.
1999-08-20Update.Ulrich Drepper
1999-08-20 Ulrich Drepper <drepper@cygnus.com> * elf/elf.h: Corrected SHT_ values from new draft.
1999-08-20Update.Ulrich Drepper
1999-08-20 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1999-08-20Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/execve.c: New file. This version terminates all threads [PR libc/1223].
1999-08-20Update.Ulrich Drepper
* elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero. [PR libc/1165].
1999-08-20Update.Ulrich Drepper
* Versions: Export __pthread_kill_other_threads_np from libpthread for GLIBC_2.1.2.
1999-08-19Update.Ulrich Drepper
* configure.in: Search for programs with prefix gnu* and g* first. [PR libc/1104].
1999-08-19Update.Ulrich Drepper
* dirent/Makefile (routines): Add getdents64. * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines): Remove getdents64. * dirent/dirent.h: Redirect getdirentries to getdirentries64 if compiled with _FILE_OFFSET_BITS=64. * sysdeps/generic/getdents64.c: New file. * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and __lseek for getdirentries64 definition. * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias. * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with _FILE_OFFSET_BITS=64.
1999-08-19Update.Ulrich Drepper
* sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second parameter. * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep after we have the lock.
1999-08-19Update.Ulrich Drepper
1999-08-19 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/setenv.c: Update(__add_to_environ): Initialize ep after we have the lock. * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file. Patch by Richard Henderson.
1999-08-19Update.Ulrich Drepper
1999-08-19 Ulrich Drepper <drepper@cygnus.com> * signals.c: Pass sigcontext through wrapper to the user function.
1999-08-19Update.Ulrich Drepper
1999-08-19 Andreas Schwab <schwab@suse.de> * libio/iovswscanf.c (vswscanf): Make stream unoriented initially and call _IO_fwide, to get the wide stream state initialized correctly. Don't set _IO_JUMPS. * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *. * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS directly. 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> * math/libm-test.c (jn_test): Fix typo in description. (erfc_test): Add some more tests. (erf_test): Add some more tests. 1999-08-19 Andreas Schwab <schwab@suse.de> * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by expression using $(exceptions).
1999-08-18Update.Ulrich Drepper
* sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
1999-08-18Update.Ulrich Drepper
* libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is allocated so far. [PR libc/1261].
1999-08-18Update.Ulrich Drepper
* math/libm-test.c (j0_test): Adjust deltas for m68k. (jn_test): Likewise.
1999-08-18Update.Ulrich Drepper
* dirent/dirent.h: Only define ino64_t if not already done. * posix/sys/types.h: Likewise.
1999-08-18Update.Ulrich Drepper
1999-08-18 Ulrich Drepper <drepper@cygnus.com> * ctype/ctype.h: Avoid useless #endif #if pairs. * dirent/dirent.h: Define ino_t and ino64_t if not done already. (seekdir): Fix type of second parameter. * sysdeps/generic/seekdir.c: Likewise. * sysdeps/mach/hurd/seekdir.c: Likewise. * sysdeps/unix/seekdir.c: Likewise. * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
1999-08-18Update.Ulrich Drepper
1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/install.texi (Configuring and compiling): Clarify ix86 situation.
1999-08-18Update.Ulrich Drepper
1999-08-18 Ulrich Drepper <drepper@cygnus.com> * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition. * stdio-common/stdio_lim.h.in: Add IOV_MAX template. * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from stdio_lim.h. Define LONG_BIT and WORD_BIT. * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600. * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6. * misc/search.h: Don't define NULL. * posix/sys/types.h: Define blksize_t if it hasn't happened. Only define key_t and blkcnt_t if it hasn't happened before. Define blksize_t if not happened before. * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t. * sysdeps/generic/bits/types.h: Define __blksize_t. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for st_blksize member. (struct stat64): Likewise. * sysdeps/unix/bsd/bits/stat.h: Likewise. * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. * stdlib/getsubopt.c: Correct type of second argument. * stdlib/stdlib.h: Likewise. * stdlib/monetary.h: Don't include sys/types.h. Define only size_t and ssize_t. * sysdeps/generic/putenv.c: Correct type of parameter. * stdlib/stdlib.h: Likewise. * sysdeps/generic/msgsnd.c: Correct type of second parameter. * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. * sysvips/sys/msg.h: Likewise. * sysdeps/generic/semop.c: Correct type of third parameter. * sysdeps/unix/sysv/linux/semop.c: Likewise. * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define size_t. * sysdeps/generic/shmget.c: Correct type of second parameter. * sysdeps/unix/sysv/linux/shmget.c: Likewise. * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h. Declare __getpagesize here. * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of sys/types.h. * sysdeps/gnu/bits/ipc.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not already done. * sysdeps/unix/bsd/usleep.c: Correct type of parameter. * debug/versions: Export __cyg_profile_func_enter and __cyg_profile_func_exit. * math/bits/mathcalls.h: Pretty print.
1999-08-18Update.Ulrich Drepper
* timezone/tst-timezone.c (tests): Update America/Sao_Paulo test case for new tzdata.
1999-08-18Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t unsigned. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. * sysdeps/generic/bits/types.h: Make __useconds_t unsigned. * sysdeps/generic/ualarm.c (ualarm): Change return value and parameter type to useconds_t. * sysdeps/unix/bsd/ualarm.c: Likewise. * sysdeps/generic/usleep.c (usleep): Change parameter type to useconds_t. * sysdeps/unix/sysv/linux/usleep.c: Likewise. * sysdeps/mach/usleep.c: Likewise.
1999-08-18Update.Ulrich Drepper
* locale/weight.h: Include <errno.h>.
1999-08-18Update.Ulrich Drepper
* posix/sys/types.h: Define type useconds_t if not done already. * posix/unistd.h: Likewise. Use this in ualarm and usleep declarations. * sysdeps/generic/bits/types.h: Define type __useconds_t. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1999-08-18Update.Ulrich Drepper
* dirent/dirent.h (telldir): Change return type to long int. * sysdeps/generic/telldir.c: Likewise. * sysdeps/mach/hurd/telldir.c: Likewise. * sysdeps/unix/telldir.c: Likewise. * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
1999-08-18Update.Ulrich Drepper
1999-08-17 Ulrich Drepper <drepper@cygnus.com> * locale/weight.h: Set errno if an invalid character is found.
1999-08-17Update.Ulrich Drepper
1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> * math/libm-test.c (erfc_test): Add test for example from PR libc/1259. (erf_test): Likewise.
1999-08-17Update.Ulrich Drepper
* sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
1999-08-17Update.Ulrich Drepper
* timezone/private.h: Update from tzcode1999e. * timezone/zic.c: Likewise. * timezone/africa: Update from tzdata1999e. * timezone/antarctica: Likewise. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/europe: Likewise. * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise.
1999-08-17Update.Ulrich Drepper
1999-08-17 Ulrich Drepper <drepper@cygnus.com> * stdio-common/vfprintf.c (process_string_arg): Correct last patch and write correct number of bytes in case of %ls with precision. Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1999-08-17Update.Ulrich Drepper
* nscd/nscd.init: Test for kernel version and make LSB compliant. Patch by Christian Gafton.
1999-08-17Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and O_RSYNC. Patch by Christian Gafton.