aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-07-25Update.Ulrich Drepper
2000-07-23 Bruno Haible <haible@clisp.cons.org> * wctype/wchar-lookup.h: New file. * wctype/iswctype.c: Include "wchar-lookup.h". (__iswctype): Support alternate locale format with 3-level tables. * wctype/iswctype_l.c (__iswctype_l): Likewise. * wctype/towctrans.c (__towctrans): Likewise. * wctype/towctrans_l.c (__towctrans_l): Likewise. * wctype/wcfuncs.c: Include "wchar-lookup.h". (__ctype32_wctype, __ctype32_wctrans): Declare external. (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower, __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper, __iswxdigit, towlower, towupper): Support alternate locale format with 3-level tables. * wctype/wcextra.c (iswblank): Likewise. * wctype/wcfuncs_l.c: Include "wchar-lookup.h". (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale format with 3-level tables. * wctype/wcextra_l.c (__iswblank_l): Likewise. * wctype/wctype.c (__wctype): Likewise. In the alternate locale format, return a 3-level table pointer. * wctype/wctype_l.c (__wctype_l): Likewise. * wctype/wctrans.c (wctrans): Likewise. * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit, __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank, __ISwcntrl, __ISwpunct, __ISwalnum): New enum values. (iswctype): Remove macro definition. * wcsmbs/wcwidth.h: Include "wchar-lookup.h". (internal_wcwidth): Support alternate locale format with 3-level tables. * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET): New nl_items. * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET): Define them as being type "word". * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them. * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): New exported variables. * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the alternate locale format. Don't initialize __ctype_names and __ctype_width in the alternate locale format. * locale/programs/localedef.h (oldstyle_tables): New declaration. * locale/programs/localedef.c (oldstyle_tables): New variable. (OPT_OLDSTYLE): New macro. (options): Add --old-style option. (parse_opt): Handle --old-style option. * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset, map_offset, class_3level, map_3level, width_3level members. (ctype_output): Support for alternate locale format: Computation of nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty. New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field _NL_CTYPE_WIDTH now contains the three-level table. Extra elems now contain both class and map tables. (struct wctype_table): New type. (wctype_table_init, wctype_table_add, wctype_table_finalize): New functions. (struct wcwidth_table): New type. (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New functions. (struct wctrans_table): New type. (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New functions. (allocate_arrays): Support for alternate locale format: Set plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx] to the first 256 characters. Compute ctype->map_3level. Set ctype->class_offset and ctype->map_offset. Compute ctype->width_3level instead of ctype->width.
2000-07-25Update.Ulrich Drepper
* Makefile: Add rules to build, run, and distribute tst-langinfo. * tst-langinfo.c: New file. * tst-langinfo.sh: New file.
2000-07-25Update.Ulrich Drepper
* locales/ja_JP (era_d_t_fmt): Fix typo.
2000-07-25Update.Ulrich Drepper
2000-07-24 Ulrich Drepper <drepper@redhat.com> * libio/iogetwline.c (_IO_getwline_info): Use wide character string functions.
2000-07-24Update.Ulrich Drepper
2000-07-24 Jakub Jelinek <jakub@redhat.com> * locales/de_DE (LC_TIME): Use `Mit', not `Mot' as abbreviation for Wednesday. Patch by <enrico.scholz@informatik.tu-chemnitz.de>.
2000-07-24Update.Ulrich Drepper
2000-07-24 Jakub Jelinek <jakub@redhat.com> * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size in wide characters, not bytes. * libio/tst_putwc.c (do_test): Add test for writing lots of data into file. 2000-07-22 Bruno Haible <haible@clisp.cons.org> * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT, LC_IDENTIFICATION. * locale/xlocale.h (struct __locale_struct): Increase size of __locales array. * locale/duplocale.c (__duplocale): Copy newly added categories as well. * locale/freelocale.c (__freelocale): Free newly added categories. * locale/newlocale.c (__newlocale): Fix typo in sanity check. If a base is given, use it, don't simply return it. 2000-07-22 Bruno Haible <haible@clisp.cons.org> * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer variables, copied_key and copied_salt, instead of boolean variables.
2000-07-24Update.Ulrich Drepper
* pthread.c (__pthread_initial_thread): Update initializer. (__pthread_manager_thread): Likewise. (pthread_initialize): Move setrlimit call to... (__pthread_initialize_manager): ...here. (__pthread_reset_main_thread): Reset also soft limit on stack size.
2000-07-24(__pthread_initial_thread): Update initializer. (__pthread_manager_thread): ↵Ulrich Drepper
Likewise. (pthread_initialize): Move setrlimit call to... (__pthread_initialize_manager): ...here. (__pthread_reset_main_thread): Reset also soft limit on stack size.
2000-07-24(__mmap64): Really fix check for offset.Andreas Jaeger
2000-07-24(initgroups_dyn_function): Renamed from initgroups_function, adopted ↵Andreas Jaeger
prototype for change from 2000-07-23. (initgroups): Follow type change.
2000-07-24Update.Ulrich Drepper
* internals.h (struct _pthread_descr_struct): Add p_condvar_avail.
2000-07-24(struct _pthread_descr_struct): Add p_condvar_avail.Ulrich Drepper
2000-07-24Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset & PAGE_MASK case, reformat. * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input from stdin and setup environment.
2000-07-24Update.Andreas Jaeger
2000-07-24 Andreas Jaeger <aj@suse.de> * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read from input from stdin and setup environment.
2000-07-24($(objpfx)tst-svc.out): Fix rule to read from input from stdin and setup ↵Andreas Jaeger
environment.
2000-07-24* sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.Andreas Schwab
2000-07-24Remove mmap64 alias.Andreas Schwab
2000-07-24Update.Ulrich Drepper
2000-07-24 Ulrich Drepper <drepper@redhat.com> * condvar.c: Handle spurious wakeups. [PR libc/1749]. * spinlock.h: If IMPLEMENT_TAS_WITH_CAS is defined use
2000-07-24Update.Ulrich Drepper
* string/endian.h: Explain the _*_ENDIAN constant values a bit more. Patch by scarlet@mit.edu [PR libc/1799]. * io/ftwtest-sh: Add -f parameter to chmod if -R is also given. [PR libc/1792]. * argp/argp-parse.c (parser_finalize): Reverse order in which parsers are run for ARGP_KEY_END. [PR libc/1755].
2000-07-24Update.Ulrich Drepper
* grp/initgroups.c (initgroups): Don't limit the possible number of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around the setgroups call while the call fails and descrease the number of groups each round. The name of the initgroups function in the NSS modules changed. (compat_call): Adapt for dynamic resizing. * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): Implement dynamic resizing. * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn): Likewise. * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise. * hesiod/Versions: Change exported interface name. * nis/Versions: Change exported interface name. 2000-07-23 Ulrich Drepper <drepper@redhat.com>
2000-07-24Update.Ulrich Drepper
2000-07-23 Ulrich Drepper <drepper@redhat.com> * locale/iso-639.def: Some errors corrected. Patch by Keld Simonsen. * include/limits.h: Update non-gcc portion. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-07-24(yesexpr): Add U005E at the beginning. (noexpr): Likewise.Ulrich Drepper
2000-07-23* sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the program's data ↵Mark Kettenis
space, reallocate only the space that was just deallocated to release its backing space. 2000-07-22 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the program's data space, reallocate only the space that was just deallocated to release its backing space.
2000-07-23Update.Ulrich Drepper
* stdio-common/vfprintf.c (process_string_arg): For wide character version, handle precision also correctly.
2000-07-23Update.Ulrich Drepper
* nss/nss_files/files-hosts.c: Correct problem with three or more entries with the same name.
2000-07-23Update.Ulrich Drepper
2000-07-23 Ulrich Drepper <drepper@redhat.com> * nss/nss_files/files-hosts.c: Implement multi handling. * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
2000-07-23Update.Ulrich Drepper
* nss/nss_files/files-parse.c: Don't pollute namespace by using strcasecmp.
2000-07-23Update.Ulrich Drepper
2000-07-22 Ulrich Drepper <drepper@redhat.com> * grp/Makefile: Change Makefiles and tests to run only when necessary. * malloc/Makefile: Likewise. * malloc/tst-mtrace.sh: Likewise. * posix/Makefile: Likewise. * posix/globtest.sh: Likewise. * posix/wordexp-tst.sh: Likewise. * string/Makefile: Likewise.
2000-07-23Update.Ulrich Drepper
2000-07-22 Mark Kettenis <kettenis@gnu.org> * locale/findlocale.c (locale_file_list): Use __LC_LAST as array size instead of LC_ALL to take into account the new locale categories.
2000-07-22Update.Ulrich Drepper
* intl/tst-translit.c (main): Update for now performed transliteration.
2000-07-22Update.Ulrich Drepper
* iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove remainders of hash table. * locale/categories.def: Remove remainders of transliteration hash table. * locale/langinfo.h: Likewise. * locale/programs/ld-ctype.c: Likewise. Fix code to write out transliteration tables. * locale/gen-translit.pl: New file. * locale/C-translit.h.in: New file. * locale/C-ctype.c: Include C-translit.h. Initialize transliteration data pointers with data from this file. * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h, and gen-translit.pl. Add rule to generate C-translit.h.
2000-07-22Update.Ulrich Drepper
* stdio-common/vfscanf.c: Handle input -- with format %f correctly (it's no input error). * stdio-common/tstscanf.c: Add test case for format %f with input --. * stdio-common/scanf12.c: Correct expected result for first scanf.
2000-07-22Update.Ulrich Drepper
2000-07-22 Ulrich Drepper <drepper@redhat.com> * stdio-common/vfprintf.c (process_string_arg): Correct handling of multibyte character strings in %s format with precision.
2000-07-22Update.Ulrich Drepper
symbols and elements be named in reorder-after instructions.
2000-07-22Update.Ulrich Drepper
* locale/programs/ld-collate.c (collate_read): Allow collating symbols be named in reorder-after instructions. Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2000-07-22Update.Ulrich Drepper
* locale/programs/ld-collate.c (handle_ellipsis): Test for duplication with generated name, not the name of the first character. Patch by Yong Li <yong.li@asu.edu>.
2000-07-22Update.Ulrich Drepper
2000-07-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification. Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2000-07-22Update.Ulrich Drepper
2000-07-21 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller allocations only if a non-main arena cannot be extended. * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from UNCHECK_BOUNDS.
2000-07-21Update.Ulrich Drepper
2000-07-21 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (_dl_map_object): Take loader==NULL into account in DF_1_NODEFLIB handling.
2000-07-21(_dl_map_object): Take loader==NULL into account in DF_1_NODEFLIB handling.Ulrich Drepper
2000-07-21Update.Andreas Jaeger
* elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its own rule.
2000-07-21Update.Andreas Jaeger
2000-07-21 Andreas Jaeger <aj@suse.de> * libio/fwide.c: Include <wchar.h> for prototype.
2000-07-21Include <wchar.h> for prototype.Andreas Jaeger
2000-07-21* malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset, Greg McGary
set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot): Define in terms of chunk_at_offset. (inuse, set_inuse, clear_inuse): Define in terms of next_chunk. (next_bin, prev_bin): offset by size of real array elements. (chunk_align): Make `m' a scalar, since that's how it's used. * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset, set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot): Define in terms of chunk_at_offset. (inuse, set_inuse, clear_inuse): Define in terms of next_chunk. (next_bin, prev_bin): offset by size of real array elements. (chunk_align): Make `m' a scalar, since that's how it's used. 2000-07-21 Greg McGary <greg@mcgary.org>
2000-07-21* sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from UNCHECK_BOUNDS. Greg McGary
* sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Wrap bounds around argv & envp and each of their string members. * sysdeps/powerpc/elf/start.S: Designate BP symbols. * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point symbol in BP_SYM (). Discard bounds of address arg. * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Discard bounds on address arg, add bounds to return value. 2000-07-21 Greg McGary <greg@mcgary.org> * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from UNCHECK_BOUNDS. * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Wrap bounds around argv & envp and each of their string members. * sysdeps/powerpc/elf/start.S: Designate BP symbols. * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point symbol in BP_SYM (). Discard bounds of address arg. * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Discard bounds on address arg, add bounds to return value.
2000-07-21Rewrite rules to generate filtmod1.so.Ulrich Drepper
2000-07-21Update.Ulrich Drepper
* elf/Makefile (tests): Add filter. Add rules to generate filter. * elf/filter.c: New file. * elf/filtmod1.c: New file. * elf/filtmod2.c: New file.
2000-07-21Update.Ulrich Drepper
* elf/rtld.c: Define _dl_bind_not variable. (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not. * elf/dl-support.c: Likewise. * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not. * elf/dl-runtime.c (fixup): Don't remember looked up value if _dl_bind_not. (profile_fixup): Likewise.
2000-07-21Update.Ulrich Drepper
* libio/Makefile (routines): Add fwide. * libio/iofwide.c (_IO_fwide): Remove locking. This is done in fwide now. Internal calls to _IO_fwide must do locking themselves or don't need locking. * libio/fwide.c: New file. * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
2000-07-21Update.Ulrich Drepper
* elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.