about summary refs log tree commit diff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2000-07-291-0/+5
| | | | | | | 2000-07-26 Philip Blundell <philb@gnu.org> * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function. (elf_machine_rel): Use it for out-of-range PC24 relocs.
* Update.Ulrich Drepper2000-07-291-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-28 Philip Blundell <philb@gnu.org> * math/test-fpucw.c: Ignore reserved bits in control word. 2000-07-28 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro. (ret): Redefine to PSEUDO_RET. (PSEUDO): Remove jump to syscall_error. 2000-07-29 Mark Kettenis <kettenis@gnu.org> * resolv/README: Add some information about using the resolver in multi-threaded code and with C++. Spelling fixes. 2000-07-29 Mark Kettenis <kettenis@gnu.org> * resolv/resolv.h (struct __sockaddr_in): Remove. (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in. * sysdeps/powerpc/backtrace.c (struct layout): Make pointers __unbounded.
* Update.Greg McGary2000-07-291-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-29 Greg McGary <greg@mcgary.org> * Rules (test-bp-inputs, make-test-out): New variables. ($(objpfx)%-bp.out): New rule. ($(objpfx)%.out): Rewrite in terms of new variables. * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to internal function that uses vtable. * libio/vsnprintf.c (_IO_vsnprintf): Likewise. * libio/vswprintf.c (_IO_vswprintf): Likewise. * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset. (malloc_extend_top): Convert brk to chunk using chunk_at_offset. (chunk_align): Likewise. * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression in a way that conforms to decl, and avoids spurious bounds violation. * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded. * sysdeps/generic/frame.h: Likewise. * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds around return value. (__backtrace): Qualify frame-pointer chain and return address pointers as __unbounded. Wrap bounds around variable `current'. * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds around return value. (catch_segfault): Qualify frame-pointer chain and return address pointers as __unbounded. Wrap bounds around variable `current'. * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded. (ADVANCE_STACK_FRAME): Wrap bounds around return value. * sysdeps/powerpc/backtrace.c (struct layout): Make pointers __unbounded. (__backtrace): Qualify frame-pointer chain and return address pointers as __unbounded. Wrap bounds around variable `current'. * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/i586/addmul_1.S: Likewise. * sysdeps/i386/i586/mul_1.S: Add bounds checks. * sysdeps/i386/i586/submul_1.S: Likewise.
* Update.Andreas Jaeger2000-07-291-0/+5
| | | | | | | 2000-07-27 Andreas Jaeger <aj@suse.de> * libio/Depend: New file, libio needs localedata for tests. * posix/Depend: Likewise.
* Update.Ulrich Drepper2000-07-291-0/+2
| | | | | * stdio-common/Makefile (routines): Remove _i18n_itoa and _i18n_itowa.
* Update.Ulrich Drepper2000-07-291-0/+21
| | | | | | | | | | | | | | | | | | | | | | | 2000-07-28 Ulrich Drepper <drepper@redhat.com> * stdio-common/_i18n_itoa.c: Removed. * stdio-common/_i18n_itoa.h: Removed. * stdio-common/_i18n_itowa.c: Removed. * stdio-common/_i18n_itowa.h: Removed. * stdio-common/_i18n_number.h: New file. * stdio-common/Depend: New file. * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize. * stdio-common/vfprintf.c: Rewrite buffer handling for integer printing. Change printing of numbers with locale specific digits to use new code in _i18n_number.h. * stdio-common/bug13.c: Improve messages. * locale/programs/ld-ctype.c (ctype_read): Improve error message. (set_class_defaults): Always search also for Uxxxx names. Detect insufficient number of outdigits. * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
* Update.Ulrich Drepper2000-07-281-0/+15
| | | | | | | | | | | | | | | | | 2000-07-27 Bruno Haible <haible@clisp.cons.org> * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in _NL_CTYPE_MAP_NAMES. * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values. * wctype/wcfuncs.c (towlower, towupper): Use them. * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise. * wctype/wctrans.c (wctrans): Likewise. * wctype/wctrans_l.c (__wctrans_l): Likewise. 2000-07-27 Bruno Haible <haible@clisp.cons.org> * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun. Use the optimized version of this function outside glibc as well.
* Update.Ulrich Drepper2000-07-281-1/+15
| | | | | | | | | | | | | | | | | | 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>.
* Update.Andreas Jaeger2000-07-281-0/+5
| | | | | | | 2000-07-25 Bruno Haible <haible@clisp.cons.org> * locale/Versions: Enumerate __*_l functions individually. __wctrans_l starts at GLIBC_2.2.
* Update.Andreas Jaeger2000-07-281-1/+13
| | | | | | | | | | | | | | 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.
* Update.Andreas Jaeger2000-07-281-0/+12
| | | | | | | | | | | | | | | 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>.
* Update.Ulrich Drepper2000-07-271-0/+5
| | | | | | | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and ftruncate(64) calls. 2000-07-27 Jes Sorensen <jes@linuxcare.com>
* Update.Ulrich Drepper2000-07-271-0/+5
| | | | | | | * intl/tst-translit.c: Include string.h to get prototype for strcmp(). 2000-07-27 Jes Sorensen <jes@linuxcare.com>
* Update.Ulrich Drepper2000-07-271-0/+20
| | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Andreas Jaeger2000-07-271-0/+5
| | | | | | | * 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>.
* Update.Andreas Jaeger2000-07-271-0/+6
| | | | | | | | 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.
* Update.Ulrich Drepper2000-07-271-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*. Greg McGary2000-07-271-0/+7
| | | | | | | | | | | | * 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.
* * sysdeps/gnu/bits/msq.h: Qualify kernel's Greg McGary2000-07-271-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2000-07-261-0/+7
| | | | | | | | | 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.
* updateGreg McGary2000-07-261-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2000-07-261-2/+8
| | | | | | | | | | | 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.
* Update.Ulrich Drepper2000-07-261-0/+5
| | | | | | | 2000-07-26 Ulrich Drepper <drepper@redhat.com> * posix/fnmatch_loop.c: Fixes for use outside glibc. Patch by MacGyver <macgyver@tos.net>.
* Update.Andreas Jaeger2000-07-261-0/+15
| | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2000-07-261-0/+9
| | | | | | | | | | | 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>.
* Update.Ulrich Drepper2000-07-261-0/+8
| | | | | | | | | | 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.
* Update.Ulrich Drepper2000-07-261-0/+5
| | | | | | | * 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.
* Update.Ulrich Drepper2000-07-261-0/+5
| | | | | | | 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>.
* Update.Ulrich Drepper2000-07-251-1/+1
| | | | * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
* Update.Ulrich Drepper2000-07-251-0/+19
| | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2000-07-251-0/+4
| | | | | | 2000-07-25 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_builtin.h: Add WCHAR_T alias.
* * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the calling ↵Mark Kettenis2000-07-251-0/+6
| | | | | | | | | | 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.
* Update.Ulrich Drepper2000-07-251-0/+6
| | | | | | | | * 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.
* Update.Ulrich Drepper2000-07-251-0/+5
| | | | | | | 2000-07-25 Ulrich Drepper <drepper@redhat.com> * libio/wfileops.c (_IO_wfile_underflow): Correct not entirely empty external buffer correctly.
* Update.Andreas Jaeger2000-07-251-0/+17
| | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2000-07-251-0/+2
| | | | * libio/wfileops.c (_IO_wdo_write): Correct return value.
* Update.Ulrich Drepper2000-07-251-0/+7
| | | | | | | | | 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.
* UpdateAndreas Jaeger2000-07-251-0/+7
| | | | | | | | | * 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.
* Update.Ulrich Drepper2000-07-251-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2000-07-251-0/+5
| | | | | | | 2000-07-24 Ulrich Drepper <drepper@redhat.com> * libio/iogetwline.c (_IO_getwline_info): Use wide character string functions.
* Update.Ulrich Drepper2000-07-241-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Andreas Jaeger2000-07-241-2/+5
| | | | | | | | * 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.
* Update.Andreas Jaeger2000-07-241-0/+5
| | | | | | | 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.
* * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.Andreas Schwab2000-07-241-0/+4
|
* Update.Ulrich Drepper2000-07-241-0/+9
| | | | | | | | | | | * 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].
* Update.Ulrich Drepper2000-07-241-0/+16
| | | | | | | | | | | | | | | | | | * 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>
* Update.Ulrich Drepper2000-07-241-0/+8
| | | | | | | | | | 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>.
* * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the program's data ↵Mark Kettenis2000-07-231-0/+6
| | | | | | | | | | 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.
* Update.Ulrich Drepper2000-07-231-0/+3
| | | | | * stdio-common/vfprintf.c (process_string_arg): For wide character version, handle precision also correctly.
* Update.Ulrich Drepper2000-07-231-0/+3
| | | | | * nss/nss_files/files-hosts.c: Correct problem with three or more entries with the same name.