aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-08-04Update.Ulrich Drepper
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-04Update.Ulrich Drepper
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-03Update.Ulrich Drepper
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-03Update.Ulrich Drepper
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-02Update.Ulrich Drepper
1999-08-02 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/s_nexttowardf.c: Fix typo.
1999-08-02Fix typo.Ulrich Drepper
* nis/nis_callback.c (internal_nis_do_callback): Use poll()
1999-08-02Update.Ulrich Drepper
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-02Update.Ulrich Drepper
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-01Update.Ulrich Drepper
* elf/Makefile (tests): Add resolvfail. Add rules to build the program. * elf/resolvfail.c: New file.
1999-08-01Update.Ulrich Drepper
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-01Pretty print.Ulrich Drepper
1999-08-011999-07-31 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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-011999-07-31 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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-07-31Update.Ulrich Drepper
1999-07-31 Ulrich Drepper <drepper@cygnus.com> * string/tester.c: Add tests with constant arguments for strcpy and stpcpy.
1999-07-31Update.Ulrich Drepper
1999-07-31 H.J. Lu <hjl@gnu.org> * string/bits/string2.h (__strcpy_small): Fix a typo.
1999-07-31Update.Ulrich Drepper
* Makeconfig (link-libc): Always define it, not only for shared builds.
1999-07-31Update.Ulrich Drepper
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-31Update.Ulrich Drepper
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-31Update.Ulrich Drepper
* 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-31Update.Ulrich Drepper
1999-07-30 Ulrich Drepper <drepper@cygnus.com> * malloc/malloc.c (ptmalloc_init): Correct last patch. The assignment cannot be moved.
1999-07-30Update.Ulrich Drepper
* 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-29Update.Ulrich Drepper
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-29Update.Ulrich Drepper
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-29Update.Ulrich Drepper
* stdlib/Makefile (tests): Add tst-environ.
1999-07-29Update.Ulrich Drepper
* 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-29Tests for setenv, unsetenv, putenv, etc.Ulrich Drepper
1999-07-291999-07-27 Mark Kettenis <kettenis@gnu.org>Roland McGrath
* 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-29Update.Ulrich Drepper
* sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
1999-07-29Update.Ulrich Drepper
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-29Update.Ulrich Drepper
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-28Update.Ulrich Drepper
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-28Update.Ulrich Drepper
1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/math.texi (FP Function Optimization): Mention drawbacks.
1999-07-28Update.Ulrich Drepper
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-28Update.Ulrich Drepper
1999-07-28 Andeas Schwab <schwab@suse.de> * iconvdata/Makefile: Don't try to run iconv tests when cross compiling.
1999-07-28Remove COPYING*.Ulrich Drepper
1999-07-281999-07-27 Mark Kettenis <kettenis@gnu.org>Roland McGrath
* 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-28Update.Ulrich Drepper
1999-07-27 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information for the hinted protocol. * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
1999-07-27Update.Ulrich Drepper
1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
1999-07-27Update.Ulrich Drepper
1999-07-25 Jakub Jelinek <jj@ultra.linux.cz> * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx. * elf/dl-lookup.c (_dl_setup_hash): Likewise. * elf/dl-load.c (_dl_map_object): Likewise. * elf/do-lookup.h (do_lookup*): Likewise. * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t. * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_symndx as uint64_t. * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
1999-07-27Update.Ulrich Drepper
* sysdeps/unix/sysv/sysv4/setsid.c: Correct types. * sysdeps/generic/getpgrp.c: Likewise. * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. Patch by John Tobey <jtobey@banta-im.com>.
1999-07-27Update.Ulrich Drepper
1999-07-26 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/wait3.c: Help compiling in presence of __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
1999-07-27Update.Ulrich Drepper
* sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers as much as possible. Declare them using .register pseudo-op if they are still used. * sysdeps/sparc/sparc64/lshift.S: Likewise. * sysdeps/sparc/sparc64/memchr.S: Likewise. * sysdeps/sparc/sparc64/memcmp.S: Likewise. * sysdeps/sparc/sparc64/memcpy.S: Likewise. * sysdeps/sparc/sparc64/memset.S: Likewise. * sysdeps/sparc/sparc64/rawmemchr.S: Likewise. * sysdeps/sparc/sparc64/rshift.S: Likewise. * sysdeps/sparc/sparc64/stpcpy.S: Likewise. * sysdeps/sparc/sparc64/stpncpy.S: Likewise. * sysdeps/sparc/sparc64/strcat.S: Likewise. * sysdeps/sparc/sparc64/strchr.S: Likewise. * sysdeps/sparc/sparc64/strcmp.S: Likewise. * sysdeps/sparc/sparc64/strcpy.S: Likewise. * sysdeps/sparc/sparc64/strcspn.S: Likewise. * sysdeps/sparc/sparc64/strlen.S: Likewise. * sysdeps/sparc/sparc64/strncmp.S: Likewise. * sysdeps/sparc/sparc64/strncpy.S: Likewise. * sysdeps/sparc/sparc64/strpbrk.S: Likewise. * sysdeps/sparc/sparc64/strspn.S: Likewise. * sysdeps/sparc/sparc64/sub_n.S: Likewise. * sysdeps/sparc/sparc64/dl-machine.h: Likewise. Optimize trampoline code for .plt4-.plt32767. Fix trampolines for .plt32768+. 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1999-07-27Update.Ulrich Drepper
1999-07-25 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use -mcpu=v8. * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for libc's private use (as assembly routine clobber it anyway). 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> * README.template (configurations): The crypt add-on has a new ftp site. * manual/install.texi (Installation): Likewise.
1999-07-27Update.Ulrich Drepper
* time/time.h: Add forward for struct sigevent. Unix98 maybe requires to have a full definition but we wait for a bug report based on the test suite.
1999-07-27Update.Ulrich Drepper
1999-07-26 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/clock_getres.c: New file. * sysdeps/generic/clock_gettime.c: New file. * sysdeps/generic/clock_settime.c: New file. * sysdeps/generic/timer_create.c: New file. * sysdeps/generic/timer_delete.c: New file. * sysdeps/generic/timer_getoverr.c: New file. * sysdeps/generic/timer_gettime.c: New file. * sysdeps/generic/timer_settime.c: New file. * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME. * sysdeps/mach/hurd/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS. * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and si_timer2. * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls. * time/Makefile (routines): Add clock_getres, clock_gettime, clock_setres, timer_create, timer_delete, timer_getoverr, timer_gettime, and timer_settime. * time/time.h: Define clockid_t, timer_t, and struct itimerspec for POSIX.1b. Add prototypes for clock and timer functions.
1999-07-27Stub implementation of clock_getres.Ulrich Drepper
1999-07-261999-07-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS. Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1999-07-261999-07-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS. Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1999-07-26Update.Ulrich Drepper
* stdlib/wcstombs.c: Do not use global state. Reported by Bruno Haible <haible@ilog.fr>.
1999-07-26Update.Ulrich Drepper
* wcsmbs/wctob.c: Avoid sign extension when returning character. Reported by Bruno Haible <haible@ilog.fr>.