about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2000-08-296-3/+301
| | | | | | | | | | | | | | | * libio/stdio.h: Add fmemopen prototype. 2000-08-25 Andreas Jaeger <aj@suse.de> * libio/Makefile (routines): Add fmemopen. (tests): Add test-fmemopen. * libio/Versions: Add fmemopen with version GLIBC_2.2. * libio/test-fmemopen.c: New file. * libio/fmemopen.c: New file. Patches by Hanno Mueller <kontakt@hanno.de>. 2000-08-28 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2000-08-292-0/+8
| | | | | * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
* Update.Ulrich Drepper2000-08-292-1/+6
| | | | | | | 2000-08-28 Ulrich Drepper <drepper@redhat.com> * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828 to avoid crashing statically linked applications.
* Update.Ulrich Drepper2000-08-2920-852/+1406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-27 Bruno Haible <haible@clisp.cons.org> * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>. If nrules == 0 and srclen < n, copy only srclen + 1 characters. * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>. If the result is fits in the buffer, copy only as many bytes as needed. * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the buffer after copying numbuf into it. * sysdeps/mach/_strerror.c (__strerror_r): Likewise. 2000-08-27 Bruno Haible <haible@clisp.cons.org> * posix/confstr.c (confstr): When string_len > len, NUL-terminate the result. When string_len < len, don't clear the rest of the buffer. 2000-08-27 Bruno Haible <haible@clisp.cons.org> Support for new LC_COLLATE format. * locale/coll-lookup.h: New file. * locale/weightwc.h (findidx): When size == 0, call collidx_table_lookup. * wcsmbs/wcscoll.c: Include coll-lookup.h. * wcsmbs/wcsxfrm.c: Likewise. * posix/fnmatch.c: Likewise. * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call collseq_table_lookup. * locale/programs/3level.h: New file. * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define by including "3level.h". * locale/programs/ld-collate.c (wchead_table, collidx_table, collseq_table): New types, defined by including "3level.h". (locale_collate_t): New wcheads_3level, wcseqorder_3level fields. (encoding_mask, encoding_byte): Remove. (utf8_encode): Use simple shifts instead. (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt to 0, and initialize and fill wcheads_3level and wcseqorder_3level. (collate_output): New local variable tablewc_3level. When !oldstyle_tables, set table_size to 0 and names to NULL and fill tablewc_3level instead of tablewc. Change format of TABLEWC and COLLSEQWC entries written to the file. * locale/C-collate.c (collseqwc): Change format. (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format of COLLSEQWC. * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h. 2000-08-27 Bruno Haible <haible@clisp.cons.org> * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro. (locale_ctype_t): New charnames_idx field. (ctype_startup): Initialize charnames_idx field. (find_idx): Speed up dramatically by using charnames_idx inverse table. 2000-08-27 Bruno Haible <haible@clisp.cons.org> * locale/C-ctype.c: Switch to new locale format. (_nl_C_LC_CTYPE_names): Remove array. (STRUCT_CTYPE_CLASS): New macro. (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): New three-level tables. (_nl_C_LC_CTYPE_width): Change from array to three-level table. (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add 12 class tables and 2 map tables at the end. * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration. (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): New declarations. (b): Remove trailing semicolon. (__ctype_names, __ctype_width): Don't initialize. (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize. 2000-08-27 Bruno Haible <haible@clisp.cons.org> * elf/dl-load.c (open_path): Add a argument telling whether *dirsp is guaranteed to be allocated with the same malloc() and may be passed to free(). (_dl_map_object): Update open_path calls. If rtld_search_dirs has been set to empty by an earlier open_path call, don't pass it again.
* Update.Ulrich Drepper2000-08-282-0/+4
| | | | | * include/libintl.h: Include <locale.h> since libintl.h doesn't if we are not optimizing.
* Update.Ulrich Drepper2000-08-282-1/+9
| | | | | * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double inclusion.
* Update.Ulrich Drepper2000-08-281-0/+6
| | | | | | | | 2000-08-28 Ulrich Drepper <drepper@redhat.com> * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to really match EOF. Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
* (ungetc): Cast c to signed char first to really match EOF.Ulrich Drepper2000-08-281-1/+1
|
* Update.Andreas Jaeger2000-08-281-0/+4
| | | | | | 2000-08-28 Andreas Jaeger <aj@suse.de> * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
* Tweaks for AMD Athlon.Andreas Jaeger2000-08-281-4/+6
|
* * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from getpeername. ↵Mark Kettenis2000-08-283-12/+20
| | | | | | | | | | | | | Use ISO C style function definition. (getpeername): Provide weak alias. * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from setrlimit. Use ISO C style function definition. (setrlimit): Provide weak alias. 2000-08-28 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from getpeername. Use ISO C style function definition. (getpeername): Provide weak alias. * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from setrlimit. Use ISO C style function definition. (setrlimit): Provide weak alias.
* Update.Andreas Jaeger2000-08-2820-0/+197
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com> * shlib-versions: Add a rule for S/390 to the libm version list. * sysdeps/s390/Versions: New file. * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c. * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64. * sysdeps/unix/sysv/linux/s390/Versions: New file. * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file. * sysdeps/unix/sysv/linux/s390/chown.c: New file. * sysdeps/unix/sysv/linux/s390/fxstat.c: New file. * sysdeps/unix/sysv/linux/s390/getdents64.c: New file. * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file. * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file. * sysdeps/unix/sysv/linux/s390/lxstat.c: New file. * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file. * sysdeps/unix/sysv/linux/s390/readdir64.c: New file. * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file. * sysdeps/unix/sysv/linux/s390/scandir64.c: New file. * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file. * sysdeps/unix/sysv/linux/s390/syscalls.list: New file. * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file. * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
* Add a rule for S/390 to the libm version list.Andreas Jaeger2000-08-281-0/+1
|
* Update.Ulrich Drepper2000-08-282-0/+7
| | | | | * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu] (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
* Update.Ulrich Drepper2000-08-284-2/+55
| | | | | | | | * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files. * elf/dl-close.c (_dl_close): Print debug message if object is not unloaded. * elf/dl-open.c (dl_open_worked): Print message about opencount before returning to caller.
* Update.Ulrich Drepper2000-08-282-0/+5530
| | | | | | | 2000-08-28 Ulrich Drepper <drepper@redhat.com> * po/zh.po: Renamed to... * po/zh_TW.po: ...this.
* Renamed to zh_TW.Ulrich Drepper2000-08-281-5525/+0
|
* * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.Geoff Keating2000-08-282-2/+4
| | | | * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
* * sysdeps/powerpc/fpu/fedisblxcpt.c: New file. Geoff Keating2000-08-285-0/+206
| | | | | | | | | | | | * sysdeps/powerpc/fpu/feenablxcpt.c: New file. * sysdeps/powerpc/fpu/fegetexcept.c: New file. * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file. 2000-08-27 Geoff Keating <geoffk@cygnus.com> * sysdeps/powerpc/fpu/fedisblxcpt.c: New file. * sysdeps/powerpc/fpu/feenablxcpt.c: New file. * sysdeps/powerpc/fpu/fegetexcept.c: New file. * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
* Mention broken LC_COLLATE specification.Ulrich Drepper2000-08-282-2064/+65
|
* Update.Ulrich Drepper2000-08-283-27/+53
| | | | | | | | | | * locale/programs/ld-collate.c (insert_weights): Also update backpointer of next element. (collate_read): Allow definition of new collation symbols in stage 2. Symbol after reorder-after can be UCS4 value. Allow reordering of collation symbols and elements. Do not only move reorder entry in new position. Instead call insert_weight to do this and read the weights.
* Update.Ulrich Drepper2000-08-273-4/+5
| | | | * locale/findlocale.c (free_mem): Add cast to avoid warning.
* Update.Ulrich Drepper2000-08-273-4/+6
| | | | | | * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code to determine invalid locale name. * locale/findlocale.c (_nl_find_locale): Likewise.
* Update.Ulrich Drepper2000-08-272-3/+6
| | | | * posix/annexc.c: Correct test for unavailable feature.
* Update.Ulrich Drepper2000-08-272-2/+7
| | | | | | | 2000-08-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE -> __inline.
* Update.Ulrich Drepper2000-08-274-0/+6
| | | | | * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64 syscall.
* Update.Ulrich Drepper2000-08-272-0/+7
| | | | | * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource] (sysdep_routines): Add oldgetrlimit64.
* Update.Ulrich Drepper2000-08-2620-157/+590
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-26 Ulrich Drepper <drepper@redhat.com> * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c, reldepmod2.c, reldepmod3.c, and reldepmod4.c. (tests): Add unload, reldep, reldep2, and reldep3. (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3, and reldepmod4. Add rules to build and run unload, reldep, reldep2, and reldep3. * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit. Don't create relocation dependency if it is nonzero. (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This can never happen here. (_dl_lookup_versioned_symbol): Add new parameter explicit. Don't create relocation dependency if it is nonzero. (_dl_lookup_versioned_symbol_skip): Remove relocation dependency stuff. This can never happen here. * sysdeps/generic/ldsodefs.h: Change prototypes. * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to _dl_lookup_up and _dl_lookup_versioned_symbol. (RESOLV): Likewise. * elf/dl-runtime.c (fixup): Likewise. (profile_fixup): Likewise. * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to _dl_lookup_symbol. * elf/dl-symbol.c (_dl_symbol_value): Likewise. * elf/rtld.c (dl_main): Likewise. * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute and pass down the caller map. (_dl_vsym): Likewise. * elf/reldep.c: New file. * elf/reldep2.c: New file. * elf/reldep3.c: New file. * elf/reldepmod1.c: New file. * elf/reldepmod2.c: New file. * elf/reldepmod3.c: New file. * elf/reldepmod4.c: New file. * elf/unload.c: New file. * elf/unloadmod.c: New file. * elf/do-lookup.h: Remove unused undef_name parameter. * elf/dl-lookup.c: Adjust callers.
* Update.Ulrich Drepper2000-08-253-0/+96
| | | | | | | | | | | | | | | | | | 2000-08-25 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of irreversible in recursive call of conversion function to signal that no error handling is wanted. * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too. (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL. * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is recursive error handling call, otherwise to &lirreversible. Use it for calls to conversion functions. * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when transliterating. (ucs4_internal_loop_unaligned): Likewise. (ucs4le_internal_loop): Likewise. (ucs4le_internal_loop_unaligned): Likewise.
* Update.Ulrich Drepper2000-08-255-13/+25
| | | | | | 2000-08-25 Ulrich Drepper <drepper@redhat.com> * locales/i18n (default_missing): Change back to only U003F.
* (ucs4_internal_loop): Don't handle errors when transliterating. ↵Ulrich Drepper2000-08-251-2/+17
| | | | (ucs4_internal_loop_unaligned): Likewise. (ucs4le_internal_loop): Likewise. (ucs4le_internal_loop_unaligned): Likewise.
* Update.Greg McGary2000-08-251-0/+8
| | | | | | | | | | 2000-08-25 Greg McGary <greg@mcgary.org> * sysdeps/i386/memchr.S: Check high bound against chars actually scanned. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/stpncpy.S: Adjust high-bound check to account for pointers that lie one beyond end-of-buffer.
* * sysdeps/i386/memchr.S: Check high bound against Greg McGary2000-08-253-6/+9
| | | | | | | chars actually scanned. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/stpncpy.S: Adjust high-bound check to account for pointers that lie one beyond end-of-buffer.
* Update.Ulrich Drepper2000-08-259-2/+114
| | | | | | | | | | | | 2000-08-25 Ulrich Drepper <drepper@redhat.com> * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic. * elf/nodelete.c (fini_ran): New global variable. (do_test): Before every dlclose call clear fini_ran and test afterwards that it is not set by the destructors. * elf/nodelmod1.c: Add destructor which sets fini_ran. * elf/nodelmod2.c: Likewise. * elf/nodelmod4.c: Likewise.
* Update.Ulrich Drepper2000-08-254-2/+14
| | | | | | | | | | | | 2000-08-21 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and getrlimit to the list. 2000-08-18 Jes Sorensen <jes@linuxcare.com> * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit long double format so use ldbl-96 instead of ldbl-128.
* Update.Ulrich Drepper2000-08-253-2/+6
| | | | | | * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL even if bits 10 a 11 are non-zero. * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
* Update.Ulrich Drepper2000-08-252-8/+15
| | | | | | * Makeconfig: Ensures the soversions.mk part of Makefile gets included before building gnu/lib-names.h Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
* Update.Ulrich Drepper2000-08-254-3/+10
| | | | | * elf/dl-close.c (_dl_close): Don't run destructors of objects marked DF_1_NODELETE.
* Update.Ulrich Drepper2000-08-253-3/+14
| | | | | | | 2000-08-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/system.c (__libc_system): We cannot use vfork here since we call sigaction in the child.
* (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Defined. ↵Ulrich Drepper2000-08-251-0/+4
| | | | (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: Defined.
* Update.Andreas Jaeger2000-08-252-0/+7
| | | | | | | * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on gconv-modules. 2000-08-25 Andreas Jaeger <aj@suse.de>
* Update.Andreas Jaeger2000-08-252-2/+8
| | | | | | | 2000-08-25 Andreas Jaeger <aj@suse.de> * manual/arith.texi (Control Functions): Clarify possible arguments. Closes PR libc/1856.
* Update.Andreas Jaeger2000-08-251-0/+5
| | | | | | | 2000-08-24 H.J. Lu <hjl@gnu.org> * stdio-common/Makefile (tests): Don't do it for cross compiling. * stdio-common/Makefile (tests): Likewise.
* (tests): Don't do it for cross compiling.Andreas Jaeger2000-08-252-0/+4
|
* Update.Ulrich Drepper2000-08-241-0/+4
| | | | | | 2000-08-24 Ulrich Drepper <drepper@redhat.com> * iconvdata/unicode.c (gconv_init): Correct test for direction.
* (gconv_init): Correct test for direction.Ulrich Drepper2000-08-241-1/+1
|
* Update.Andreas Jaeger2000-08-242-1/+3
| | | | | * Examples/ex13.c: Include <string.h> for strerror prototype and <stdlib.h> for abort prototype.
* Update.Andreas Jaeger2000-08-242-1/+7
| | | | | | | 2000-08-24 Andreas Jaeger <aj@suse.de> * malloc/Makefile (extra-objs): Fix last patch, build memusagestat only if LIBGD is available.
* Update.Andreas Jaeger2000-08-242-0/+8
| | | | * sysdeps/unix/sysv/syscalls.list: Likewise.
* Use __setrlimit as strong name.Andreas Jaeger2000-08-241-1/+1
|