summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Add entries for wide character decimal point and thousands separator in ↵Ulrich Drepper2000-06-291-0/+5
| | | | numeric and monetary category.
* 2000-06-28 Greg McGary <greg@mcgary.org>Greg McGary2000-06-2928-163/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libio/libio.h (struct _IO_cookie_file): Move struct type defintion out. (_IO_FILE): Declare chain as (struct _IO_FILE_plus *). * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion in. (_IO_JUMPS): Don't cast THIS--expect arg to be a (struct _IO_FILE_plus *). (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to THIS, since _IO_JUMPS no longer does it implicitly. (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare arg type as (struct _IO_FILE_plus *). (_IO_str_init_static, _IO_str_init_readonly): Declare 1st arg as (_IO_strfile *). * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly): Declare 1st arg as (_IO_strfile *). * libio/fileops.c (_IO_new_file_init): Declare arg type as (struct _IO_FILE_plus *). * libio/oldfileops.c (_IO_old_file_init): Likewise. * libio/genops.c (_IO_link_in, _IO_un_link): Likewise. (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write): Declare iteration pointer as (struct _IO_FILE_plus *). (_IO_iter_next, _IO_iter_file): _IO_ITER is now (struct _IO_FILE_plus *). * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *). * libio/oldstdfiles.c (_IO_list_all): Likewise. (_IO_check_libio): Set user-visible handles to (struct _IO_FILE_plus *). * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles to (struct _IO_FILE_plus *). * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer whose high bound includes vtable to all functions that will use vtable. For streambufs, pass pointer whose bounds include struct _IO_strfile. * libio/wgenops.c (_IO_wdefault_finish): Likewise. * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. * libio/iofopen.c (_IO_new_fopen): Likewise. * libio/oldiofopen.c (_IO_old_fopen): Likewise. * libio/iofopen64.c (_IO_fopen64): Likewise. * libio/iopopen.c (_IO_new_popen): Likewise. * libio/oldiopopen.c (_IO_old_popen): Likewise. * libio/memstream.c (open_memstream): Likewise. * libio/iovsscanf.c (_IO_vsscanf): Likewise. * libio/iovsprintf.c (_IO_vsprintf): Likewise. * libio/iovdprintf.c (_IO_vdprintf): Likewise. * libio/iofopncook.c (_IO_cookie_init): Likewise. * libio/obprintf.c (_IO_obstack_vprintf): Likewise. * libio/vasprintf.c (_IO_vasprintf): Likewise. * libio/vsnprintf.c (_IO_vsnprintf): Likewise. * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. * stdlib/strfmon.c (__strfmon_l): Likewise. * stdio-common/vfprintf.c (buffered_vfprintf): Likewise. (vfprintf): Qualify computed-goto targets as unbounded. 2000-06-28 Greg McGary <greg@mcgary.org> * libio/libio.h (struct _IO_cookie_file): Move struct type defintion out. (_IO_FILE): Declare chain as (struct _IO_FILE_plus *). * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion in. (_IO_JUMPS): Don't cast THIS--expect arg to be a (struct _IO_FILE_plus *). (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to THIS, since _IO_JUMPS no longer does it implicitly. (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare arg type as (struct _IO_FILE_plus *). (_IO_str_init_static, _IO_str_init_readonly): Declare 1st arg as (_IO_strfile *). * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly): Declare 1st arg as (_IO_strfile *). * libio/fileops.c (_IO_new_file_init): Declare arg type as (struct _IO_FILE_plus *). * libio/oldfileops.c (_IO_old_file_init): Likewise. * libio/genops.c (_IO_link_in, _IO_un_link): Likewise. (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write): Declare iteration pointer as (struct _IO_FILE_plus *). (_IO_iter_next, _IO_iter_file): _IO_ITER is now (struct _IO_FILE_plus *). * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *). * libio/oldstdfiles.c (_IO_list_all): Likewise. (_IO_check_libio): Set user-visible handles to (struct _IO_FILE_plus *). * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles to (struct _IO_FILE_plus *). * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer whose high bound includes vtable to all functions that will use vtable. For streambufs, pass pointer whose bounds include struct _IO_strfile. * libio/wgenops.c (_IO_wdefault_finish): Likewise. * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. * libio/iofopen.c (_IO_new_fopen): Likewise. * libio/oldiofopen.c (_IO_old_fopen): Likewise. * libio/iofopen64.c (_IO_fopen64): Likewise. * libio/iopopen.c (_IO_new_popen): Likewise. * libio/oldiopopen.c (_IO_old_popen): Likewise. * libio/memstream.c (open_memstream): Likewise. * libio/iovsscanf.c (_IO_vsscanf): Likewise. * libio/iovsprintf.c (_IO_vsprintf): Likewise. * libio/iovdprintf.c (_IO_vdprintf): Likewise. * libio/iofopncook.c (_IO_cookie_init): Likewise. * libio/obprintf.c (_IO_obstack_vprintf): Likewise. * libio/vasprintf.c (_IO_vasprintf): Likewise. * libio/vsnprintf.c (_IO_vsnprintf): Likewise. * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. * stdlib/strfmon.c (__strfmon_l): Likewise. * stdio-common/vfprintf.c (buffered_vfprintf): Likewise. (vfprintf): Qualify computed-goto targets as unbounded.
* Update.Andreas Jaeger2000-06-2910-2/+1201
| | | | | | | | | | | | | | | | | | | | | | | 2000-06-29 Andreas Jaeger <aj@suse.de> * Makefile (locale_test_suite): Add new test files. (tst_mblen-ENV): New. (tst_mbtowc-ENV): New. (tst_strcoll-ENV): New. (tst_strxfrm-ENV): New. (tst_wctomb-ENV): New. * tests-mbwc/tst_wctomb.c: New test file from Shoji Kuwabara <kuwahara@cthulhu.engr.sgi.com>. * tests-mbwc/dat_wctomb.c: Likewise. * tests-mbwc/tst_mbtowc.c: Likewise. * tests-mbwc/dat_mbtowc.c: Likewise. * tests-mbwc/tst_strxfrm.c: Likewise. * tests-mbwc/dat_strxfrm.c: Likewise. * tests-mbwc/dat_strcoll.c: Likewise. * tests-mbwc/tst_strcoll.c: Likewise. * tests-mbwc/tst_mblen.c: Likewise. * tests-mbwc/dat_mblen.c: Likewise.
* Tests for mblen.Andreas Jaeger2000-06-292-0/+200
|
* (__printf_fp): Remove unnecessary second definition and initialization of ↵Ulrich Drepper2000-06-291-5/+0
| | | | decimal.
* Update.Ulrich Drepper2000-06-293-53/+238
| | | | | | | | | | | | 2000-06-28 Ulrich Drepper <drepper@redhat.com> * stdio-common/vfscanf.c: Finally handle multibyte decimal point and thousands separator correctly. * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF. * stdio-common/vfwscanf.c: Likewise. sequences with first byte 0x8e correctly.
* Update.Ulrich Drepper2000-06-283-54/+63
| | | | | | | 2000-06-27 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument count into signatures for most calls.
* Update.Ulrich Drepper2000-06-283-38/+11
| | | | | | | 2000-06-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use the generic parser now.
* Update.Ulrich Drepper2000-06-289-156/+330
| | | | | | | | | | | | | | | | 2000-06-28 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash table entries are 32 bit on the ia64 (as specified by the ABI), not 64 bit as on the Alpha. * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark change of objects to use 32 bit hash table indices (see above). 2000-06-28 Jes Sorensen <jes@linuxcare.com> * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get prototype for abs().
* Update.Ulrich Drepper2000-06-285-1892/+1995
| | | | | | | | 2000-06-28 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (chunk_alloc): If extension of the linear heap fails, try mmap_chunk() as a last resort even though n_mmaps_max may have been reached.
* Update.Ulrich Drepper2000-06-282-4/+24
| | | | | * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx> symbols in multi-character weights correctly.
* Update.Ulrich Drepper2000-06-286-14/+35
| | | | | | | | | | | | * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls depending on whether the input string is empty or not. * wcsmbs/mbrtowc.c: Calling function without input means clearing the given state and not avoiding this by modifying a local object. * wcsmbs/wcrtomb.c: Likewise. * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state object since some incomplete characters might be in there.
* Update.Ulrich Drepper2000-06-284-4/+20
| | | | | | | | | | | * Makefile (do-tst-ctype): Add do-tst-mbswcs to list of dependencies. (TEST_MBWC_ENV): Remove unnecessary slash. * tst-ctype.sh: Add de_DE.UTF-8 to list of tested locales. * tests-mbwc/dat_iswalnum.c (TST_ISW_LOC): Correct UTF-8 input data. * Makefile: Add do-tst-mbswcs to dependencies of locale test suite tests.
* Fix cut&paste error.Ulrich Drepper2000-06-281-0/+1
|
* * weaks.c: Wrap BP_SYM () around weak extern declarations of Greg McGary2000-06-282-57/+63
| | | | | | | | | | | | pthread functions that have pointers in their return+arg signatures. 2000-06-28 Greg McGary <greg@mcgary.org> * weaks.c: Wrap BP_SYM () around weak extern declarations of pthread functions that have pointers in their return+arg signatures. * sysdeps/pthread/bits/libc-lock.h: Wrap BP_SYM () around weak extern declarations of pthread functions that have pointers in their return+arg signatures.
* Update.Ulrich Drepper2000-06-283-0/+16
| | | | | * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid sequences with first by 0x8e correctly.
* Update.Ulrich Drepper2000-06-285-29/+38
| | | | | | 2000-06-28 Ulrich Drepper <drepper@redhat.com> * iconvdata/jis0208.h: Remove redundant test.
* Explicitly add control character in U0000-U001F and U007F-U009F range for ↵Ulrich Drepper2000-06-281-0/+69
| | | | backward compatibility.
* Update.Andreas Jaeger2000-06-282-1/+4
| | | | | * tests-mbwc/tst_wcscat.c (tst_wcscat): Correct format to avoid warning.
* Update.Andreas Jaeger2000-06-285-5/+53
| | | | | | | | | | | | | | | | | | | * 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.
* Test files for mbrlen.c.Andreas Jaeger2000-06-282-0/+239
|
* Correct problems found by test suite.Ulrich Drepper2000-06-281-1/+1
|
* (TST_LOC_de_UTF8): Added.Andreas Jaeger2000-06-282-1/+10
| | | | | | 2000-06-28 Andreas Jaeger <aj@suse.de> * tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
* Update.Ulrich Drepper2000-06-282-3/+6
| | | | | * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon. Add it where it is needed now.
* Update.Ulrich Drepper2000-06-2833-159/+435
| | | | | | | | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2000-06-272-1/+11
| | | | | | | 2000-06-27 Ulrich Drepper <drepper@redhat.com> * wctype/towctrans.c (__towctrans): Be graceful and accept error return values from the wctrans function.
* Update.Ulrich Drepper2000-06-273-1/+56
| | | | | | * locales/i18n: Backspace isn't blank, tab is. * tst-ctype.c (main): Add tests for control characters and space.
* Update.Ulrich Drepper2000-06-272-1/+3
| | | | * locales/i18n: Backspace is no space.
* Update.Ulrich Drepper2000-06-271-0/+4
| | | | | | 2000-06-27 Ulrich Drepper <drepper@redhat.com> * locales/i18n: Add \t to space.
* Add \t to space.Ulrich Drepper2000-06-271-1/+1
|
* Update.Andreas Jaeger2000-06-271-0/+5
| | | | | | | 2000-06-27 Andreas Jaeger <aj@suse.de> * Makefile (TEST_MBWC_ENV): New variable. Use it for all tests from tests-mbwc.
* * Makefile (TEST_MBWC_ENV): New variable. Andreas Jaeger2000-06-271-37/+38
| | | | Use it for all tests from tests-mbwc.
* move linuxthreads entryGreg McGary2000-06-272-3/+6
|
* Update.Ulrich Drepper2000-06-271-0/+4
| | | | | | 2000-06-27 Ulrich Drepper <drepper@redhat.com> * tst-ctype.sh: Generate ja_JP.EUC-JP locale and test it.
* Generate ja_JP.EUC-JP locale and test it.Ulrich Drepper2000-06-271-1/+20
|
* * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM (). Greg McGary2000-06-274-52/+61
| | | | | | | | | | | | | | | | | | * 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.
* Makefile: Add environment setting for all tests from tests-mbwc.Andreas Jaeger2000-06-272-3/+17
| | | | | | 2000-06-27 Andreas Jaeger <aj@suse.de> * Makefile: Add environment setting for all tests from tests-mbwc.
* Update.Ulrich Drepper2000-06-272-2/+11
| | | | | | | 2000-06-27 Jakub Jelinek <jakub@redhat.com> * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room, not obstack_blank.
* (_IO_obstack_vprintf): Call obstack_make_room, not obstack_blank.Ulrich Drepper2000-06-271-4/+3
|
* Add new files to tests and add environment for them.Andreas Jaeger2000-06-2719-17/+1886
|
* Update.Andreas Jaeger2000-06-271-0/+3
| | | | | | * tests-mbwc/*: Initial import of testsuite from Shoji Kuwabara <kuwahara@cthulhu.engr.sgi.com><kuwahara@cthulhu.engr.sgi.com>.
* * Makefile (tests): Add tests from tests-mbwc subdirectory, Andreas Jaeger2000-06-2761-0/+5607
| | | | | | | | 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.
* Add missing / in LC_CTYPE.Andreas Jaeger2000-06-272-1/+5
| | | | | | 2000-06-27 Andreas Jaeger <aj@suse.de> * locales/ja_JP: Add missing / in LC_CTYPE.
* Not needed.Ulrich Drepper2000-06-271-3075/+0
|
* Update.Ulrich Drepper2000-06-272-0/+14
| | | | | | | | 2000-06-26 Ulrich Drepper <drepper@redhat.com> * include/libc-symbols.h (symbol_version): Add extra level of macro expansion. (default_symbol_version): Likewise.
* Update.Ulrich Drepper2000-06-272-1/+3
| | | | * Makefile (distribute): Add tst-ctype-de_DE.in.
* Update.Ulrich Drepper2000-06-274-25/+175
| | | | | | | | | | | | | | | | | * 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.
* More test data for tst-ctype test program.Ulrich Drepper2000-06-271-0/+56
|
* * sysdeps/i386/bp-asm.h (POP_ERRNO_LOCATION_RETURN): Fold insns. Greg McGary2000-06-274-14/+37
| | | | | | | | | | | | | | | | | | | | | * 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].
* * Makeconfig: Add missing comment. Greg McGary2000-06-275-7/+23
| | | | | | | | | | | | | | | | | | | | | | * 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.