about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* (_IO_vasprintf): Try to avoid memory fragmentation by allocating new memory ↵Ulrich Drepper2000-04-111-4/+21
| | | | at the end instead of reallocating.
* * sysdeps/powerpc/pt-machine.h (MEMORY_BARRIER): Don't be __volatile__. ↵Geoff Keating2000-04-112-12/+20
| | | | | | | | | | | (__compare_and_swap): Replace other 'sync' with MEMORY_BARRIER. Don't have the 'asm' __volatile__. 2000-04-11 Geoff Keating <geoffk@cygnus.com> * sysdeps/powerpc/pt-machine.h (MEMORY_BARRIER): Don't be __volatile__. (__compare_and_swap): Replace other 'sync' with MEMORY_BARRIER. Don't have the 'asm' __volatile__.
* Upadte.Ulrich Drepper2000-04-117-17/+61
| | | | | | | | | | | | | | | | | | | | | | 2000-04-11 Ulrich Drepper <drepper@redhat.com> * internals.h: Define MEMORY_BARRIER as empty if not defined already. * spinlock.c (__pthread_lock): Add memory barriers. (__pthread_unlock): Likewise. * sysdeps/alpha/pt-machine.h (MEMORY_BARRIER): Define using mb instruction. (RELEASE): Not needed anymore. (__compare_and_swap): Mark asm as modifying memory. * sysdeps/powerpc/pt-machine.h (sync): Remove. Replace with definition of MEMORY_BARRIER. (__compare_and_swap): Use MEMORY_BARRIER instead of sync. * sysdeps/sparc/sparc32/pt-machine.h (RELEASE): Not needed anymore. (MEMORY_BARRIER): Define using stbar. * sysdeps/sparc/sparc64/pt-machine.h (MEMORY_BARRIER): Define using stbar. (__compare_and_swap): Use MEMORY_BARRIER to ensure ordering. Patch by Xavier Leroy <Xavier.Leroy@inria.fr> based on comments by Mike Burrows <m3b@pa.dec.com>.
* Update.Ulrich Drepper2000-04-1113-21/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-11 Ulrich Drepper <drepper@redhat.com> * posix/globtest.sh: Fix last change. 2000-04-10 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP, IPV6_DROP_MEMBERSHIP. * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): Likewise. 2000-04-11 Ulrich Drepper <drepper@redhat.com> * elf/readlib (process_file): Close streams in case of an error. 2000-04-09 Andreas Jaeger <aj@suse.de> * elf/readlib.c (process_file): Check if file is big enough to contain aout and ELF headers. Reported by Reinhard Moosauer <RMoosauer@steinecker.com>. 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch> * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca(). 2000-04-11 Ulrich Drepper <drepper@redhat.com> * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout stream unbuffered. * rt/Makefile (tests): Add tst-clock. Add rules to build tst-clock. * rt/tst-clock.c: New file. * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide about initialization of nsec. * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide about initialization of freq. Set retval to zero if successful. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
* Update.Ulrich Drepper2000-04-112-1/+14
| | | | * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
* Update.Ulrich Drepper2000-04-1116-16/+502
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-10 Ulrich Drepper <drepper@redhat.com> * Versions.def (librt): Add GLIBC_2.2. * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid, clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverr, timer_gettime, and timer_settime. * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverrun, timer_gettime, and timer_settime. * sysdeps/generic/clock_getcpuclockid.c: New file. * sysdeps/generic/get_clockfreq.c: New file. * sysdeps/unix/i386/clock_getcpuclockid.c: New file. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file. * sysdeps/mach/hurd/i386/bits/time.h: New file. * sysdeps/unix/i386/i586/clock_getres.c: New file. * sysdeps/unix/i386/i586/clock_gettime.c: New file. * sysdeps/unix/i386/i686/Implies: New file. * sysdpes/unix/sysv/linux/i386/bits/time.h: New file. * time/Makefile (routines): Move clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverr, timer_gettime, and timer_settime to rt/Makefile. * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverrun, timer_gettime, and timer_settime. * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__ and not const as attribute name.
* Update.Ulrich Drepper2000-04-102-9/+18
| | | | | | 2000-04-10 Thorsten Kukuk <kukuk@suse.de> * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
* Update.Ulrich Drepper2000-04-102-5/+17
| | | | | | | 2000-04-10 Andreas Schwab <schwab@suse.de> * posix/globtest.sh: Skip tests that depend on unreadable directories if run as root.
* Update.Ulrich Drepper2000-04-102-0/+12
| | | | | | | 2000-04-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
* Update.Ulrich Drepper2000-04-104-0/+170
| | | | | | * sysdeps/unix/clock_gettime.c: New file. * sysdeps/unix/clock_settime.c: New file. * sysdeps/posix/clock_getres.c: New file.
* Update.Ulrich Drepper2000-04-102-0/+4
| | | | * conform/data/ftw.h-data: Add allow-header sys/stat.h.
* Update.Ulrich Drepper2000-04-103-4/+19
| | | | | | | * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial lseek call be passing in a buffer which never allow a successful first getdents syscall if not at leas the initial entry can be stored in the user buffer.
* Update.Ulrich Drepper2000-04-1020-47/+643
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-09 Ulrich Drepper <drepper@redhat.com> * localedata/Makefile: Add rules to clean up directories created by new strfmon tests. 2000-04-09 Geoff Clare <gwc@unisoft.com> * localedata/tst-fmon.data: Added new tests for strfmon() using test locales with all combinations of cs_precedes, sign_posn and sep_by_space. * localedata/tst-fmon.sh: Updated to support the new tests. * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing the localedef source for the new strfmon() test locale. * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise. * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise. * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise. * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise. * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise. * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise. * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise. * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise. * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise. * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise. * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise. * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise. * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise. * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise. * stdlib/strfmon.c: Correct problems with missing or extra spaces for unusual combinations of sign_posn and sep_by_space. Improved left-precision alignment code.
* Update.Ulrich Drepper2000-04-102-1/+5
| | | | | | 2000-04-07 Andreas Jaeger <aj@suse.de> * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
* (sigaction): Fix return value for the case SIG is one of the signals the ↵Ulrich Drepper2000-04-101-1/+4
| | | | implementation uses.
* Update.Andreas Jaeger2000-04-091-0/+4
| | | | | | 2000-04-10 Andreas Jaeger <aj@suse.de> * intl/Makefile: Don't run do-gettext-test when cross-compiling.
* 2000-04-10 Andreas Jaeger <aj@suse.de>Andreas Jaeger2000-04-091-0/+2
| | | | * intl/Makefile: Don't run do-gettext-test when cross-compiling.
* Update.Ulrich Drepper2000-04-0921-88/+487
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-09 Ulrich Drepper <drepper@redhat.com> Implement handling of restartable conversion functions according to ISO C. * iconv/gconv.h (__gconv_fct): Add additional parameter. * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise. * iconv/gconv.c: Pass additional parameter to conversion function. * iconv/gconv_simple.c (internal_ucs4_loop_single): New function. (internal_ucs4le_loop_single): New function. (__gconv_transform_ascii_internal): Define ONE_DIRECTION. (__gconv_transform_internal_ascii): Likewise. (__gconv_transform_internal_utf8): Likewise. (__gconv_transform_utf8_internal): Likewise. (__gconv_transform_ucs2_internal): Likewise. (__gconv_transform_internal_ucs2): Likewise. (__gconv_transform_ucs2reverse_internal): Likewise. (__gconv_transform_internal_ucs2reverse): Likewise. (internal_ucs4le_loop_unaligned): Before return __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form a valid character. Otherwise return __GCONV_ILLEGAL_INPUT. (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES. * iconv/loop.c: Fit in definition of function to convert one character for processing of left-over bytes from the state object. * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to inend to match names in loop functions. (RESET_INPUT_BUFFER): Change apprpriately. (gconv): If needed, call function to process bytes from the state object. Similar at the end: store left over bytes if input is incomplete. Take extra argument and add new argument to all calls of the conversion function. * iconvdata/iso-2022-cn.c: Adjust numeric values used to store information in the state object to not conflict with length count. * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise. * iconvdata/unicode.c: Adjust for change change in parameters of skeleton function. * iconvdata/utf-16.c: Likewise. * libio/iofwide.c: Add new parameter to all calls of conversion function. * wcsmbs/btowc.c: Likewise. * wcsmbs/mbrtowc.c: Likewise. * wcsmbs/mbsnrtowcs.c: Likewise. * wcsmbs/mbsrtowcs.c: Likewise. * wcsmbs/wcrtomb.c: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wctob.c: Likewise. * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and MAX_NEEDED_INPUT.
* Pass additional parameter to conversion function.Ulrich Drepper2000-04-091-3/+3
|
* Update.Andreas Jaeger2000-04-071-0/+5
| | | | | | | 2000-04-07 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for newer kernels.
* 2000-04-07 Andreas Jaeger <aj@suse.de>Andreas Jaeger2000-04-071-4/+10
| | | | | * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for newer kernels.
* Update.Ulrich Drepper2000-04-074-6/+6
| | | | * stdio-common/printf-parse.h: Likewise.
* Update.Ulrich Drepper2000-04-071-0/+2
| | | | | * wcsmbs/mbsinit.c: Likewise. * stdlib/mblen.c: Likewise.
* Update.Ulrich Drepper2000-04-075-15/+28
| | | | | | | | | | | 2000-04-07 Ulrich Drepper <drepper@redhat.com> * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value element a union to allow byte access. * iconvdata/iso-2022-cn.c: Adjust for change of element name in mbstate_t. * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise.
* Update.Ulrich Drepper2000-04-072-9/+20
| | | | | | | | | * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux kernel does not allow relative seeks on descriptors associated with directories. Go back to get the position in the directory every time we enter the function. Return -1 and set errno if one entry could be read from the kernel but does not fit into the buffer passed in by the user.
* Update.Ulrich Drepper2000-04-077-33/+1242
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-06 Ulrich Drepper <drepper@redhat.com> * locale/programs/charmap.c (charmap_new_char): Add parameter step. Support ..(2).. ellipsis. (parse_charmap): Recognize ..(2).. etc and pass step down. Correctly generate names for UCS4 characters. * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step. (ctype_finish): We know the wide character value for <SP>, don't search. (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis. (charclass_ucs4_ellipsis): Likewise. (read_translit_ignore_entry): Store ellipsis step. (ctype_read): Recognize ..(2).. etc and pass step down. * locale/programs/linereader.c (lr_token): When seeing comment character ignore only rest of line in sources but stop at escaped newline. Recognize ..(2).. and ....(2)..... * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2 and tok_ellipsis4_2.
* Update.Ulrich Drepper2000-04-068-7/+15
| | | | | | | | | | | | | | | | | 2000-04-06 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been removed, remove it here also. * sysdeps/unix/sysv/linux/arm/Dist: Likewise. * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. 2000-04-06 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't include bits/sigcontext.h. * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
* Update.Ulrich Drepper2000-04-062-11/+111
| | | | | | * locale/programs/ld-collate.c (collate_read): Handle ellipsis in collation symbol definition. Value in quivalence definition must be defined, don't check that it is not.
* Update.Ulrich Drepper2000-04-063-17/+44
| | | | | | | | | | 2000-04-06 Ulrich Drepper <drepper@redhat.com> * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx> values as character names. * locale/programs/ld-ctype.c (get_character): Handle missing repertoire map correctly.
* Update.Ulrich Drepper2000-04-0611-56/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-05 Cristian Gafton <gafton@redhat.com> * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__ because it is used in generic code. * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower. * wcsmbs/wcwidth.h: Declare __ctype32_b. * intl/gettext.c: Include <locale.h>. * intl/ngettext.c: Likewise. 2000-04-05 Jakub Jelinek <jakub@redhat.com> * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use socklen_t type for size. * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new init function interface. * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include sys/ucontext.h. (__jmp_buf): Declare the whole type structure here, don't use ucontext. * iconv/skeleton.c (put16u): Fix typo. Reported by Bruno Haible <haible@ilog.fr>.
* Update.Ulrich Drepper2000-04-069-350/+16
| | | | | | | | | | | | | | | | 2000-04-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore. * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise. * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise. * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid. * Makefile (distribute): Add abi-versions.awk and firstversions.awk. Patches by Torsten Duwe <duwe@caldera.de>.
* Update.Ulrich Drepper2000-04-051-0/+4
| | | | | | * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o. 2000-04-05 Andreas Schwab <schwab@suse.de>
* ($(objpfx)makedb): Move $(libdl) after db-open.o.Ulrich Drepper2000-04-051-1/+1
|
* * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_userAndreas Schwab2000-04-051-0/+5
| | | | entry point, used on Hurd.
* * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user Andreas Schwab2000-04-051-1/+6
| | | | entry point, used on Hurd.
* Update.Ulrich Drepper2000-04-052-0/+6
| | | | | | 2000-04-04 Andreas Jaeger <aj@suse.de> * intl/Makefile: Only run the gettext test with shared libraries.
* Update.Ulrich Drepper2000-04-051-0/+10
| | | | | | | | | | | | 2000-03-16 Mark Kettenis <kettenis@gnu.org> * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Typedef for elf_fpregset_t instead of `elf_fpregset_t *'. 2000-03-16 Mark Kettenis <kettenis@gnu.org> * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
* (prfpregset_t): Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.Ulrich Drepper2000-04-051-1/+1
|
* * Makeconfig: Undo last change.Roland McGrath2000-04-054-58/+59
| | | | | | | * configure.in: If --disable-shared was given, don't set VERSIONING, don't define DO_VERSIONING, and don't give scare warning for no versioning. * configure: Regenerated.
* * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.Roland McGrath2000-04-051-0/+4
|
* 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-04-051-0/+9
| | | | * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
* Update.Ulrich Drepper2000-04-052-2/+9
| | | | | | 2000-04-04 Andreas Jaeger <aj@suse.de> * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
* Update.Ulrich Drepper2000-04-043-6/+11
| | | | | | | * elf/dl-runtime.c (fixup): Correct handling of symbols marked STV_HIDDEN and STV_INTERNAL during lookup. (profile_fixup): Likewise. * elf/dl-reloc.c (RESOLVE): Likewise.
* Update.Ulrich Drepper2000-04-042-17/+28
| | | | | | | | 2000-04-04 Ulrich Drepper <drepper@redhat.com> * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of unaligned so that it compiles for system which need unaligned access handling.
* Update.Ulrich Drepper2000-04-042-1/+10
| | | | | | | | | | | * elf/cache.c (print_entry): Only look at the type field when printing the type. 2000-04-04 Andreas Schwab <schwab@suse.de> * iconvdata/big5.c (BODY): Fix typo. 2000-04-04 Andreas Schwab <schwab@suse.de>
* (BODY): Fix typo.Ulrich Drepper2000-04-041-1/+1
|
* * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new initAndreas Schwab2000-04-041-0/+5
| | | | function interface. Remove unused _dl_start_user entry point.
* * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init Andreas Schwab2000-04-041-44/+9
| | | | function interface. Remove unused _dl_start_user entry point.
* Update.Ulrich Drepper2000-04-043-0/+13
| | | | | | 2000-04-03 Andreas Jaeger <aj@suse.de> * include/arpa/inet.h (__inet_aton): Add protoype.
* Update.Ulrich Drepper2000-04-0419-49/+93
| | | | | | | | | | | | | | | | | | | | | | | | 2000-04-01 Andreas Jaeger <aj@suse.de> * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC. * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC. * sysdeps/mach/mips/thread_state.h: Likewise. * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros. * sysdeps/generic/fegetenv.c: Likewise. * sysdeps/generic/fesetenv.c: Likewise. * sysdeps/generic/feupdateenv.c: Likewise. * sysdeps/generic/fraiseexcpt.c: Likewise. * sysdeps/generic/fsetexcptflg.c: Likewise. * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. * sysdeps/unix/sysv/linux/errlist.c: Likewise. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. 2000-04-02 H.J. Lu <hjl@gnu.org> * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.