about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for use outside glibc.Ulrich Drepper2000-07-261-2/+3
|
* Update.Andreas Jaeger2000-07-268-29/+381
| | | | | | | | | | | | | | | | | 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.
* Initialize p_sem_avail.Andreas Jaeger2000-07-262-0/+6
| | | | | | 2000-07-26 Andreas Jaeger <aj@suse.de> * pthread.c: Initialize p_sem_avail.
* Update.Ulrich Drepper2000-07-264-13/+269
| | | | | | | | | | | 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-262-3/+92
| | | | | | | | | | 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-264-2/+101
| | | | | | | * 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-263-860/+468
| | | | | | | 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-261-1/+1
| | | | * internals.h (struct __pthread_descr_struct): Add p_sem_avail.
* Update.Ulrich Drepper2000-07-266-20/+74
| | | | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2000-07-262-6/+6
| | | | | | | | 2000-07-25 Ulrich Drepper <drepper@redhat.com> * signals.c (pthread_sighandler): Remove special code to restrore %gs on x86. (pthread_sighandler_t): Likewise.
* Update.Ulrich Drepper2000-07-253-1/+11
| | | | * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
* Update.Ulrich Drepper2000-07-257-26/+71
| | | | | | | | | | | | | | | | | | | | | 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-252-0/+24
| | | | | | 2000-07-25 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_builtin.h: Add WCHAR_T alias.
* Add WCHAR_T alias.Ulrich Drepper2000-07-251-0/+2
|
* * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the calling ↵Mark Kettenis2000-07-252-2/+15
| | | | | | | | | | 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-255-27/+2438
| | | | | | | | * 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.
* (_IO_wfile_underflow): Correct not entirely empty external buffer correctly.Ulrich Drepper2000-07-251-8/+6
|
* Update.Andreas Jaeger2000-07-253-8/+25
| | | | | | | | | | | | | | | | | | | 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.
* * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter Andreas Jaeger2000-07-253-7/+7
| | | | | | | | 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-252-3/+3
| | | | * libio/wfileops.c (_IO_wdo_write): Correct return value.
* Update.Ulrich Drepper2000-07-252-27/+41
| | | | | | | | | 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.
* Pretty print.Ulrich Drepper2000-07-251-2/+1
|
* 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-2526-344/+1769
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-254-3/+576
| | | | | | * Makefile: Add rules to build, run, and distribute tst-langinfo. * tst-langinfo.c: New file. * tst-langinfo.sh: New file.
* Update.Ulrich Drepper2000-07-252-1/+3
| | | | * locales/ja_JP (era_d_t_fmt): Fix typo.
* Update.Ulrich Drepper2000-07-257-9/+96
| | | | | | | 2000-07-24 Ulrich Drepper <drepper@redhat.com> * libio/iogetwline.c (_IO_getwline_info): Use wide character string functions.
* Update.Ulrich Drepper2000-07-242-1/+6
| | | | | | | 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>.
* Update.Ulrich Drepper2000-07-249-55/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.Ulrich Drepper2000-07-241-0/+6
| | | | | | | | * 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.
* (__pthread_initial_thread): Update initializer. (__pthread_manager_thread): ↵Ulrich Drepper2000-07-241-16/+25
| | | | Likewise. (pthread_initialize): Move setrlimit call to... (__pthread_initialize_manager): ...here. (__pthread_reset_main_thread): Reset also soft limit on stack size.
* (__mmap64): Really fix check for offset.Andreas Jaeger2000-07-241-7/+6
|
* (initgroups_dyn_function): Renamed from initgroups_function, adopted ↵Andreas Jaeger2000-07-241-4/+4
| | | | prototype for change from 2000-07-23. (initgroups): Follow type change.
* Update.Ulrich Drepper2000-07-241-0/+1
| | | | * internals.h (struct _pthread_descr_struct): Add p_condvar_avail.
* (struct _pthread_descr_struct): Add p_condvar_avail.Ulrich Drepper2000-07-241-0/+1
|
* Update.Andreas Jaeger2000-07-242-15/+19
| | | | | | | | * 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.
* ($(objpfx)tst-svc.out): Fix rule to read from input from stdin and setup ↵Andreas Jaeger2000-07-241-2/+3
| | | | environment.
* * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.Andreas Schwab2000-07-241-0/+4
|
* Remove mmap64 alias.Andreas Schwab2000-07-241-1/+0
|
* Update.Ulrich Drepper2000-07-242-22/+72
| | | | | | | | 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
* Update.Ulrich Drepper2000-07-2410-51/+110
| | | | | | | | | | | * 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-247-48/+93
| | | | | | | | | | | | | | | | | | * 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-246-74/+130
| | | | | | | | | | 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>.
* (yesexpr): Add U005E at the beginning. (noexpr): Likewise.Ulrich Drepper2000-07-241-2/+2
|
* * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the program's data ↵Mark Kettenis2000-07-232-2/+8
| | | | | | | | | | 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-232-1/+4
| | | | | * stdio-common/vfprintf.c (process_string_arg): For wide character version, handle precision also correctly.
* Update.Ulrich Drepper2000-07-232-0/+5
| | | | | * nss/nss_files/files-hosts.c: Correct problem with three or more entries with the same name.
* Update.Ulrich Drepper2000-07-233-13/+194
| | | | | | | 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.