aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-06-28Update.Ulrich Drepper
2000-06-28 Ulrich Drepper <drepper@redhat.com> * iconvdata/jis0208.h: Remove redundant test.
2000-06-28Explicitly add control character in U0000-U001F and U007F-U009F range for ↵Ulrich Drepper
backward compatibility.
2000-06-28Update.Andreas Jaeger
* tests-mbwc/tst_wcscat.c (tst_wcscat): Correct format to avoid warning.
2000-06-28Update.Andreas Jaeger
* Makefile (locale_test_suite): Add tst_mbrlen. (tst_mbrlen-ENV): New. * tests-mbwc/tst_mbrlen.c: New file * tests-mbwc/dat_mbrlen.c: New file. * tests-mbwc/tst_types.h (struct TIN_MBSTOWCS_REC): Use const char*. (struct TST_HEAD): Use const char* instead of an array. * tests-mbwc/tst_wcsstr.c (tst_wcsstr): ws2 has size WCSSIZE. * tests-mbwc/dat_iswalnum.c (TST_ISW_LOC): Add tests for de_UTF8. * tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
2000-06-28Test files for mbrlen.c.Andreas Jaeger
2000-06-28Correct problems found by test suite.Ulrich Drepper
2000-06-28(TST_LOC_de_UTF8): Added.Andreas Jaeger
2000-06-28 Andreas Jaeger <aj@suse.de> * tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
2000-06-28Update.Ulrich Drepper
* sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon. Add it where it is needed now.
2000-06-28Update.Ulrich Drepper
* locale/programs/ld-ctype.c (ctype_finish): Take all characters from the input charset into account when generating the hash table. (allocate_arrays): Correct setting default width. Not all empty slots in the table are filled, only those not covert explicitly by the locale description and in the charset. * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for wide character version. For %C handling, test correct pointer variable for NULL. * wcsmbs/wctob.c: Handle WEOF special. * wcsmbs/wcwidth.h: 0xff in width array means invalid character. * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid always-true test to avoid warning.
2000-06-27Update.Ulrich Drepper
2000-06-27 Ulrich Drepper <drepper@redhat.com> * wctype/towctrans.c (__towctrans): Be graceful and accept error return values from the wctrans function.
2000-06-27Update.Ulrich Drepper
* locales/i18n: Backspace isn't blank, tab is. * tst-ctype.c (main): Add tests for control characters and space.
2000-06-27Update.Ulrich Drepper
* locales/i18n: Backspace is no space.
2000-06-27Update.Ulrich Drepper
2000-06-27 Ulrich Drepper <drepper@redhat.com> * locales/i18n: Add \t to space.
2000-06-27Add \t to space.Ulrich Drepper
2000-06-27Update.Andreas Jaeger
2000-06-27 Andreas Jaeger <aj@suse.de> * Makefile (TEST_MBWC_ENV): New variable. Use it for all tests from tests-mbwc.
2000-06-27* Makefile (TEST_MBWC_ENV): New variable. Andreas Jaeger
Use it for all tests from tests-mbwc.
2000-06-27move linuxthreads entryGreg McGary
2000-06-27Update.Ulrich Drepper
2000-06-27 Ulrich Drepper <drepper@redhat.com> * tst-ctype.sh: Generate ja_JP.EUC-JP locale and test it.
2000-06-27Generate ja_JP.EUC-JP locale and test it.Ulrich Drepper
2000-06-27* elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM (). Greg McGary
* include/libc-symbols.h (weak_extern): Add extra level of expansion. (symbol_version, default_symbol_version): Factor redundant definitions out of conditional. * linuxthreads/sysdeps/pthread/bits/libc-lock.h: Wrap BP_SYM () around weak extern declarations of pthread functions that have pointers in their return+arg signatures. 2000-06-27 Greg McGary <greg@mcgary.org> * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM (). * include/libc-symbols.h (weak_extern): Add extra level of expansion. (symbol_version, default_symbol_version): Factor redundant definitions out of conditional. * linuxthreads/sysdeps/pthread/bits/libc-lock.h: Wrap BP_SYM () around weak extern declarations of pthread functions that have pointers in their return+arg signatures.
2000-06-27Makefile: Add environment setting for all tests from tests-mbwc.Andreas Jaeger
2000-06-27 Andreas Jaeger <aj@suse.de> * Makefile: Add environment setting for all tests from tests-mbwc.
2000-06-27Update.Ulrich Drepper
2000-06-27 Jakub Jelinek <jakub@redhat.com> * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room, not obstack_blank.
2000-06-27(_IO_obstack_vprintf): Call obstack_make_room, not obstack_blank.Ulrich Drepper
2000-06-27Add new files to tests and add environment for them.Andreas Jaeger
2000-06-27Update.Andreas Jaeger
* tests-mbwc/*: Initial import of testsuite from Shoji Kuwabara <kuwahara@cthulhu.engr.sgi.com><kuwahara@cthulhu.engr.sgi.com>.
2000-06-27* Makefile (tests): Add tests from tests-mbwc subdirectory, Andreas Jaeger
comment them out for now. (subdir-dirs): New for tests-mbwc, add also vpaths. * Makefile (tests): Add tests from tests-mbwc subdirectory, comment them out for now. (subdir-dirs): New for tests-mbwc, add also vpaths.
2000-06-27Add missing / in LC_CTYPE.Andreas Jaeger
2000-06-27 Andreas Jaeger <aj@suse.de> * locales/ja_JP: Add missing / in LC_CTYPE.
2000-06-27Not needed.Ulrich Drepper
2000-06-27Update.Ulrich Drepper
2000-06-26 Ulrich Drepper <drepper@redhat.com> * include/libc-symbols.h (symbol_version): Add extra level of macro expansion. (default_symbol_version): Likewise.
2000-06-27Update.Ulrich Drepper
* Makefile (distribute): Add tst-ctype-de_DE.in.
2000-06-27Update.Ulrich Drepper
* tst-ctype.c: Read in more tests from stdin. * tst-ctype.sh: Feed extra test data to program via stdin. * tst-ctype-de_DE.in: New file. * locales/i18n (punct): Exclude U00A0. (blank): Include U00A0. * locales/ja_JP: Updates for new format. * Makefile (test-srcs): Add tst-ctype. (distribute): Add tst-ctype.sh. (do-tst-ctype): New target. Run for tests. * tst-ctype.c: New file. * tst-ctype.sh: New file.
2000-06-27More test data for tst-ctype test program.Ulrich Drepper
2000-06-27* sysdeps/i386/bp-asm.h (POP_ERRNO_LOCATION_RETURN): Fold insns. Greg McGary
* sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space for BP return value & push implicit struct-return pointer to __errno_location. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. (SYSCALL_ERROR_HANDLER): Likewise. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER): Likewise. * sysdeps/i386/bp-asm.h (POP_ERRNO_LOCATION_RETURN): Fold insns. * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space for BP return value & push implicit struct-return pointer to __errno_location. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. (SYSCALL_ERROR_HANDLER): Likewise. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER): Likewise. * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers for all files *.[cS].
2000-06-27* Makeconfig: Add missing comment. Greg McGary
* csu/Makefile (extra-objs, omit-deps, install-lib): Add BP-flavored startup object. ($(objpfx)b$(start-installed-name)): New rule. * include/libc-symbols.h (symbol_set_declare): Change type of `__start_##set' and `__stop_##set' to pointer-to-function. (symbol_set_declare): Change type of `set' to array of pointer-to-function. * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to pointer-to-function. * Makeconfig: Add missing comment. * csu/Makefile (extra-objs, omit-deps, install-lib): Add BP-flavored startup object. ($(objpfx)b$(start-installed-name)): New rule. * include/libc-symbols.h (symbol_set_declare): Change type of `__start_##set' and `__stop_##set' to pointer-to-function. (symbol_set_declare): Change type of `set' to array of pointer-to-function. * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to pointer-to-function.
2000-06-27Updates for new format.Ulrich Drepper
2000-06-27(test-srcs): Add tst-ctype. (distribute): Add tst-ctype.sh. (do-tst-ctype): ↵Ulrich Drepper
New target. Run for tests.
2000-06-27* string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.Greg McGary
* string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
2000-06-27* sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures. Greg McGary
Remove clock_* and timer_* entries. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace arg-count with signatures. * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures. Remove clock_* and timer_* entries. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace arg-count with signatures.
2000-06-26Update.Ulrich Drepper
* locales/i18n: NUL character must not be in cntrl.
2000-06-26NUL character must not be in cntrl.Ulrich Drepper
2000-06-26* sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM (). Greg McGary
Check bounds of arguments. * sysdeps/i386/addmul_1.S: Likewise. * sysdeps/i386/lshift.S: Likewise. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/rshift.S: Likewise. * sysdeps/i386/sub_n.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/i586/add_n.S: Likewise. * sysdeps/i386/i586/addmul_1.S: Likewise. * sysdeps/i386/i586/lshift.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i686/add_n.S: Likewise. * sysdeps/i386/memchr.S: Likewise. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/rawmemchr.S: Likewise. * sysdeps/i386/i586/bzero.S: Likewise. * sysdeps/i386/i586/memcpy.S: Likewise. * sysdeps/i386/i586/mempcpy.S: Likewise. * sysdeps/i386/i586/memset.S: Likewise. * sysdeps/i386/i686/bzero.S: Likewise. * sysdeps/i386/i686/memcpy.S: Likewise. * sysdeps/i386/i686/mempcpy.S: Likewise. * sysdeps/i386/i686/memset.S: Likewise. * sysdeps/i386/stpcpy.S: Likewise. * sysdeps/i386/stpncpy.S: Likewise. * sysdeps/i386/strchr.S: Likewise. * sysdeps/i386/strchrnul.S: Likewise. * sysdeps/i386/strcspn.S: Likewise. * sysdeps/i386/strpbrk.S: Likewise. * sysdeps/i386/strrchr.S: Likewise. * sysdeps/i386/strspn.S: Likewise. * sysdeps/i386/strtok.S: Likewise. * sysdeps/i386/strtok_r.S: Likewise. * sysdeps/i386/i486/strcat.S: Likewise. * sysdeps/i386/i486/strlen.S: Likewise. * sysdeps/i386/i586/strchr.S: Likewise. * sysdeps/i386/i586/strcpy.S: Likewise. * sysdeps/i386/i586/strlen.S: Likewise. * sysdeps/i386/i686/strcmp.S: Likewise. * sysdeps/i386/i686/strtok.S: Likewise. * sysdeps/i386/i686/strtok_r.S: Likewise. * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM (). * sysdeps/i386/fpu/fesetenv.c: Likewise. * sysdeps/i386/fpu/feupdateenv.c: Likewise. * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM (). Check bounds of arguments. * sysdeps/i386/addmul_1.S: Likewise. * sysdeps/i386/lshift.S: Likewise. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/rshift.S: Likewise. * sysdeps/i386/sub_n.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/i586/add_n.S: Likewise. * sysdeps/i386/i586/addmul_1.S: Likewise. * sysdeps/i386/i586/lshift.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i686/add_n.S: Likewise. * sysdeps/i386/memchr.S: Likewise. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/rawmemchr.S: Likewise. * sysdeps/i386/i586/bzero.S: Likewise. * sysdeps/i386/i586/memcpy.S: Likewise. * sysdeps/i386/i586/mempcpy.S: Likewise. * sysdeps/i386/i586/memset.S: Likewise. * sysdeps/i386/i686/bzero.S: Likewise. * sysdeps/i386/i686/memcpy.S: Likewise. * sysdeps/i386/i686/mempcpy.S: Likewise. * sysdeps/i386/i686/memset.S: Likewise. * sysdeps/i386/stpcpy.S: Likewise. * sysdeps/i386/stpncpy.S: Likewise. * sysdeps/i386/strchr.S: Likewise. * sysdeps/i386/strchrnul.S: Likewise. * sysdeps/i386/strcspn.S: Likewise. * sysdeps/i386/strpbrk.S: Likewise. * sysdeps/i386/strrchr.S: Likewise. * sysdeps/i386/strspn.S: Likewise. * sysdeps/i386/strtok.S: Likewise. * sysdeps/i386/strtok_r.S: Likewise. * sysdeps/i386/i486/strcat.S: Likewise. * sysdeps/i386/i486/strlen.S: Likewise. * sysdeps/i386/i586/strchr.S: Likewise. * sysdeps/i386/i586/strcpy.S: Likewise. * sysdeps/i386/i586/strlen.S: Likewise. * sysdeps/i386/i686/strcmp.S: Likewise. * sysdeps/i386/i686/strtok.S: Likewise. * sysdeps/i386/i686/strtok_r.S: Likewise. * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM (). * sysdeps/i386/fpu/fesetenv.c: Likewise. * sysdeps/i386/fpu/feupdateenv.c: Likewise. * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2000-06-26Update.Ulrich Drepper
2000-06-26 Ulrich Drepper <drepper@redhat.com> * Makefile (test-input): Add en_US.ISO-8859-1. * en_US.in: New file.
2000-06-26(clock_nanosleep): Add one more __builtin_expect.Ulrich Drepper
2000-06-26* sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx. Greg McGary
* sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/i586/add_n.S: Likewise. * sysdeps/i386/i586/addmul_1.S: Likewise. * sysdeps/i386/i586/lshift.S: Likewise. * sysdeps/i386/i586/mul_1.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i586/submul_1.S: Likewise. 2000-06-26 Greg McGary <greg@mcgary.org> * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/i586/add_n.S: Likewise. * sysdeps/i386/i586/addmul_1.S: Likewise. * sysdeps/i386/i586/lshift.S: Likewise. * sysdeps/i386/i586/mul_1.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26Update.Ulrich Drepper
2000-06-26 Ulrich Drepper <drepper@redhat.com> * rt/Makefile (librt-routines): Add clock_nanosleep. * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep. * sysdeps/generic/clock_nanosleep.c: New file. * sysdeps/unix/clock_nanosleep.c: New file. * sysdeps/unix/i386/i586/clock_nanosleep.c: New file. * time/time.h: Declare clock_nanosleep.
2000-06-26(librt-routines): Add clock_nanosleep.Ulrich Drepper
2000-06-26* sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX, Greg McGary
INSN1, INSN2, TEXT, GLOBL): Remove macros. (ALIGN): Cleanup surrounding conditionals. * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax. Call ENTER/LEAVE macros. * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas syntax. Define & use symbolic argument stack offsets. Call ENTER/LEAVE macros. * sysdeps/i386/i586/mul_1.S: Likewise. * sysdeps/i386/i586/submul_1.S: Likewise. 2000-06-26 Greg McGary <greg@mcgary.org> * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX, INSN1, INSN2, TEXT, GLOBL): Remove macros. (ALIGN): Cleanup surrounding conditionals. * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax. Call ENTER/LEAVE macros. * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas syntax. Define & use symbolic argument stack offsets. Call ENTER/LEAVE macros. * sysdeps/i386/i586/mul_1.S: Likewise. * sysdeps/i386/i586/submul_1.S: Likewise.
2000-06-26(pthread_mutex_timedlock): Document restrictions of mutex types.Ulrich Drepper
2000-06-26Update.Ulrich Drepper
2000-06-26 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add ex11. Add rules to build it. * Examples/ex11.c: New file. * rwlock.c: Fix complete braindamaged previous try to implement timedout functions. * spinlock.c: Pretty print.
2000-06-26Update.Ulrich Drepper
2000-06-25 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add ex10. Add rules to build it. * Versions [GLIBC_2.2] (libpthread): Add pthread_mutex_timedlock, pthread_rwlock_timedrdlock, and pthread_rwlock_timedwrlock. * condvar.c (pthread_cond_wait): Allow mutex of kind PTHREAD_MUTEX_TIMED_NP. (pthread_cond_timedwait_relative): Likewise. * mutex.c (__pthread_mutex_init): Default is PTHREAD_MUTEX_TIMED_NP. (__pthread_mutex_trylock): Use __pthread_alt_trylock for PTHREAD_MUTEX_ERRORCHECK_NP. Handle PTHREAD_MUTEX_TIMED_NP. (__pthread_mutex_lock): Use __pthread_alt_lock for PTHREAD_MUTEX_ERRORCHECK_NP. Handle PTHREAD_MUTEX_TIMED_NP. (__pthread_mutex_timedlock): New function. (__pthread_mutex_unlock): Use __pthread_alt_unlock for PTHREAD_MUTEX_ERRORCHECK_NP. Handle PTHREAD_MUTEX_TIMED_NP. (__pthread_mutexattr_init): Use PTHREAD_MUTEX_TIMED_NP. (__pthread_mutexattr_settype): Allow PTHREAD_MUTEX_TIMED_NP. * spinlock.c: Implement alternate fastlocks. * spinlock.h: Add prototypes. * Examples/ex10.c: New file. * sysdeps/pthread/pthread.h: Add prototypes for new functions. Patch by Kaz Kylheku <kaz@ashi.footprints.net>. * rwlock.c (__pthread_rwlock_rdlock): Optimize loop a bit. (__pthread_rwlock_timedrdlock): New function. (__pthread_rwlock_timedwrlock): New function. Use laternate fastlock function everywhere.