aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-07-28Update.Ulrich Drepper
2000-07-27 Jakub Jelinek <jakub@redhat.com> * locale/indigits.h (indigit_value): Correct. * locale/indigitswc.h (indigitwc_value): Correct. * stdio-common/vfscanf.c (__vfscanf): Fix I18N number conversion, add GROUP checking for it, fix GROUP number conversion with strlen(thousands) > 1. Honour width correctly in the presence of floating decimal points and thousands separators. * stdio-common/tst-sscanf.c: New test. * stdio-common/Makefile: Add it to tests. * sysdeps/generic/strtol.c (strtol): Fix conversion if there are thousands separators and group argument is non-zero. Reported by Andi Kleen <ak@suse.de>.
2000-07-28Taiwanese locale definition.Ulrich Drepper
2000-07-28Update.Andreas Jaeger
2000-07-25 Bruno Haible <haible@clisp.cons.org> * locale/Versions: Enumerate __*_l functions individually. __wctrans_l starts at GLIBC_2.2.
2000-07-28Update.Andreas Jaeger
2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h. * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add _test_and_set. (headers): Add sys/tas.h. * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for GLIBC_2.2 from libc. * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file. * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for _test_and_set.
2000-07-28* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Implement for Andreas Jaeger
R3K. * sysdeps/mips/pt-machine.h (testandset): Likewise. 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Implement for R3K. * sysdeps/mips/pt-machine.h (testandset): Likewise.
2000-07-28tst-langinfo.c: Include <string.h> for strcmp prototype.Andreas Jaeger
2000-07-28 Andreas Jaeger <aj@suse.de> * tst-langinfo.c: Include <string.h> for strcmp prototype.
2000-07-28Update.Andreas Jaeger
2000-07-28 Andreas Jaeger <aj@suse.de> * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4. * dlfcn/Makefile ($(objpfx)tst-dladdr): New. ($(objpfx)tst-dladdr.out): new. (tests): Add tst-dladdr. ($(objpfx)glrefmain): Use libdl. * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh <vs@caldera.de>.
2000-07-28Add TCP options from Linux 2.4.Andreas Jaeger
2000-07-27Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and ftruncate(64) calls. 2000-07-27 Jes Sorensen <jes@linuxcare.com>
2000-07-27Update.Ulrich Drepper
* intl/tst-translit.c: Include string.h to get prototype for strcmp(). 2000-07-27 Jes Sorensen <jes@linuxcare.com>
2000-07-27Update.Ulrich Drepper
2000-07-27 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong name and add weak alias for __fork. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread & pwrite to use __libc_<name> as strong names instead of __syscall_<name>. * include/sched.h: Add clone2 prototype. 2000-07-26 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the procedure name twice. 2000-07-27 Philip Blundell <philb@gnu.org> * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
2000-07-27(HAVE_MREMAP): Undo change of 1997-12-04.Ulrich Drepper
2000-07-27Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used). * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. Reported by Andi Kleen <ak@suse.de>.
2000-07-27Update.Andreas Jaeger
2000-07-27 Andreas Jaeger <aj@suse.de> * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64. (do_wait): Test requests with aio_return64. (do_test): Change callers of do_wait.
2000-07-27* rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64. Andreas Jaeger
(do_wait): Test requests with aio_return64. (do_test): Change callers of do_wait.
2000-07-27Update.Ulrich Drepper
2000-07-26 Andreas Jaeger <aj@suse.de> * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel. (do_wait): Test requests with aio_return. (do_test): Change callers of do_wait. 2000-07-27 Ulrich Drepper <drepper@redhat.com> * rt/aio_misc.c (__aio_remove_request): New function. Handle removing from request list. Don't do the list handling here, call __aio_remove_request. * rt/aio_misc.h: Add prototype for __aio_remove_request. * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the request might already be processed. Don't do the list handling here, call __aio_remove_request. * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and LIO_DSYNC. * rt/aio_misc.c: Add comment explaining why writer memory barriers are missing.
2000-07-27Don't assume __aio_find_req_fd succeeds since the request might already be ↵Ulrich Drepper
processed. Don't do the list handling here, call __aio_remove_request.
2000-07-27* sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*. Greg McGary
* sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error in union init. Pass zero for ignored semnum arg to semctl. * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo. 2000-07-27 Greg McGary <greg@mcgary.org> * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*. * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error in union init. Pass zero for ignored semnum arg to semctl. * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
2000-07-27* sysdeps/gnu/bits/msq.h: Qualify kernel's Greg McGary
data structure pointers as __unbounded. * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. * sysdeps/generic/bp-semctl.h: New file. * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure pointers as __unbounded. Check bounds of syscall args. * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. * sysdeps/unix/sysv/linux/semctl.c: Likewise. * sysdeps/unix/sysv/linux/semop.c: Likewise. * sysdeps/unix/sysv/linux/shmat.c: Likewise. * sysdeps/unix/sysv/linux/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/shmdt.c: Likewise. * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise. 2000-07-26 Greg McGary <greg@mcgary.org> * sysdeps/gnu/bits/msq.h: Qualify kernel's data structure pointers as __unbounded. * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. * sysdeps/generic/bp-semctl.h: New file. * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure pointers as __unbounded. Check bounds of syscall args. * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. * sysdeps/unix/sysv/linux/semctl.c: Likewise. * sysdeps/unix/sysv/linux/semop.c: Likewise. * sysdeps/unix/sysv/linux/shmat.c: Likewise. * sysdeps/unix/sysv/linux/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/shmdt.c: Likewise. * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
2000-07-27fix typo in +link-boundedGreg McGary
2000-07-26Update.Ulrich Drepper
2000-07-26 Ulrich Drepper <drepper@redhat.com> * libio/iofwide.c: Enable transliteration for conversion from wchar_t by default. * locale/C-ctype.c: Likewise. * wcsmbs/wcsmbsload.c: Likewise.
2000-07-26Update.Ulrich Drepper
Contributed by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.Update.
2000-07-26updateGreg McGary
2000-07-26 Greg McGary <greg@mcgary.org> * Makeconfig (+link-bounded, link-libc-bounded, link-extra-libs-bounded): New variables. (built-program-cmd): Omit $(run-program-prefix) for static BP tests. * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files. * Rules (tests-bp.out): New variable. (tests): Conditionally add BP tests. (binaries-bounded): Add variable and associated rule. * csu/Makefile [build-bounded] (extra-objs, install-lib): Move conditional stuff after place where condition is defined. * malloc/malloc.c (bp-checks.h): Add #include. (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression. (_bin_at): Add unbounded version of bin_at. (IAV, chunk_alloc): Use unbounded _bin_at. (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc, chunk2mem_check, realloc_check, malloc_starter, malloc_atfork): Wrap BOUNDED_N around return value. (chunk_realloc): Adjust oldsize once. * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl. (__ubp_memchr): Add correct decl. (_CHECK_STRING): Use __ubp_memchr. * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr): New alias for unbounded-pointer __memchr. * sysdeps/i386/memchr.S: Likewise. * sysdeps/ia64/memchr.S: Likewise. * sysdeps/m68k/memchr.S: Likewise. * sysdeps/sparc/sparc32/memchr.S: Likewise. * sysdeps/sparc/sparc64/memchr.S: Likewise. * sysdeps/vax/memchr.s: Likewise. * sysdeps/i386/strtok.S: Fix bounds checks to pass tests. (SAVE_PTR): New macro. (save_ptr): Expand size as BP. (strtok): Don't bother to write into SAVE_PTR when returning NULL. * sysdeps/i386/i686/strtok.S: Likewise. * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER, RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register. * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines. * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise. * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy bounds of copy_result to mount_proc.
2000-07-26* Makeconfig (+link-bounded, link-libc-bounded, Greg McGary
link-extra-libs-bounded): New variables. (built-program-cmd): Omit $(run-program-prefix) for static BP tests. * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files. * Rules (tests-bp.out): New variable. (tests): Conditionally add BP tests. (binaries-bounded): Add variable and associated rule. * csu/Makefile [build-bounded] (extra-objs, install-lib): Move conditional stuff after place where condition is defined.
2000-07-26Update.Ulrich Drepper
2000-07-25 Bruno Haible <haible@clisp.cons.org> * wctype/wctype.h (__wctrans_l): New declaration. * wctype/wctrans_l.c: New file. * wctype/Makefile (routines): Add wctrans_l. * rt/tst-aio4.c: New file, slightly modified version of tst-aio2. * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
2000-07-26Update.Ulrich Drepper
2000-07-26 Ulrich Drepper <drepper@redhat.com> * posix/fnmatch_loop.c: Fixes for use outside glibc. Patch by MacGyver <macgyver@tos.net>.
2000-07-26Fixes for use outside glibc.Ulrich Drepper
2000-07-26Update.Andreas Jaeger
2000-07-26 Andreas Jaeger <aj@suse.de> * rt/tst-aio4.c: New file, slighlty modified version of tst-aio2. * rt/tst-aio5.c: New file, slighlty modified version of tst-aio2. * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5. * rt/tst-aio.c (test_file): Fix typo. * rt/tst-aio64.c (test_file): Likewise. * rt/tst-aio3.c: New file, slightly modified version of tst-aio2. * rt/Makefile: Add rules to build and run tst-aio3. * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since it's not needed and confuses only.
2000-07-26Initialize p_sem_avail.Andreas Jaeger
2000-07-26 Andreas Jaeger <aj@suse.de> * pthread.c: Initialize p_sem_avail.
2000-07-26Update.Ulrich Drepper
2000-07-26 Ulrich Drepper <drepper@redhat.com> * resolv/res_init.c: Add support for nameserver communication with IPv6. * resolv/res_send.c: Likewise. * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4 in nsaddrs field. Patch by <venaas@nvg.ntnu.no>.
2000-07-26Update.Ulrich Drepper
2000-07-25 Bruno Haible <haible@clisp.cons.org> * locale/programs/ld-ctype.c (wctype_table_get): New function. (wcwidth_table_get): New function. (wcwidth_table_add): Call it. (wctrans_table_get): New function. (wctrans_table_add): Call it.
2000-07-26Update.Ulrich Drepper
* rt/lio_listio.c (lio_listio): Always disable individual notification. * rt/Makefile: Add rules to build and run tst-aio2. * rt/tst-aio2.c: New file.
2000-07-26Update.Ulrich Drepper
2000-07-25 Ulrich Drepper <drepper@redhat.com> * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly. Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
2000-07-26Update.Ulrich Drepper
* internals.h (struct __pthread_descr_struct): Add p_sem_avail.
2000-07-26Update.Ulrich Drepper
* internals.h (strict __pthread_descr_struct): Add p_sem_avail. * semaphore.c: Handle spurious wakeups. * sysdeps/pthread/pthread.h: Add back PTHREAD_MUTX_FAST_NP as an alias for PTHREAD_MUTEX_ADAPTIVE_NP for source code compatibility. * pthread.c (__pthread_set_own_extricate): Use THREAD_GETMEM. (__pthread_wait_for_restart): Likewise. * condvar.c (pthread_cond_wait): Also check whether thread is cancelable before aborting loop. (pthread_cond_timedwait): Likewise.
2000-07-26Update.Ulrich Drepper
2000-07-25 Ulrich Drepper <drepper@redhat.com> * signals.c (pthread_sighandler): Remove special code to restrore %gs on x86. (pthread_sighandler_t): Likewise.
2000-07-25Update.Ulrich Drepper
* libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
2000-07-25Update.Ulrich Drepper
2000-07-25 Mark Kettenis <kettenis@gnu.org> * nss/nss_files/files-netgrp.c (strip_whitespace): New function. (_nss_netgroup_parseline): Use strip_whitespace to strip off any leading and trailing spaces from host, user and domain name. 2000-07-25 Jes Sorensen <jes@linuxcare.com> * csu/defs.awk: Add support for need_endp. 2000-07-25 Mark Kettenis <kettenis@gnu.org> * resolv/resolv.h: Remove __P from res_send_qhook and res_send_rhook typedefs. 2000-07-25 Bruno Haible <haible@clisp.cons.org> * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
2000-07-25Update.Ulrich Drepper
2000-07-25 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_builtin.h: Add WCHAR_T alias.
2000-07-25Add WCHAR_T alias.Ulrich Drepper
2000-07-25* hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the calling ↵Mark Kettenis
thread, set the cancellation flag and return success instead of EINTR. 2000-07-25 Mark Kettenis <kettenis@gnu.org> * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the calling thread, set the cancellation flag and return success instead of EINTR.
2000-07-25Update.Ulrich Drepper
* libio/Makefile: Add rules build, run, and distribute tst-widetext.c. * libio/tst-widetext.c: New file. * libio/tst-widetext.input: New file. * libio/iogetwline.c (_IO_getwline_info): Pretty print.
2000-07-25Update.Ulrich Drepper
2000-07-25 Ulrich Drepper <drepper@redhat.com> * libio/wfileops.c (_IO_wfile_underflow): Correct not entirely empty external buffer correctly.
2000-07-25(_IO_wfile_underflow): Correct not entirely empty external buffer correctly.Ulrich Drepper
2000-07-25Update.Andreas Jaeger
2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using __STRING(entry) and not #entry. (_RTLD_EPILOGUE): Likewise. * sysdeps/mips/mips64/dl-machine.h: Likewise. 2000-07-25 Andreas Jaeger <aj@suse.de> * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter according to changes in test program, run also with static only builds. ($(objpfx)tst-printf.out): Likewise. * stdio-common/tst-unbputc.sh: Likewise. * stdio-common/tst-printf.sh: Likewise.
2000-07-25* stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter Andreas Jaeger
according to changes in test program, run also with static only builds. ($(objpfx)tst-printf.out): Likewise. * stdio-common/tst-unbputc.sh: Likewise. * stdio-common/tst-printf.sh: Likewise.
2000-07-25Update.Ulrich Drepper
* libio/wfileops.c (_IO_wdo_write): Correct return value.
2000-07-25Update.Ulrich Drepper
2000-07-25 Ulrich Drepper <drepper@redhat.com> * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the loop. * libio/fileops.c: Pretty print.
2000-07-25Pretty print.Ulrich Drepper
2000-07-25UpdateAndreas Jaeger
* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix check for offset. * grp/initgroups.c (initgroups_dyn_function): Renamed from initgroups_function, adopted prototype for change from 2000-07-23. (initgroups): Follow type change.