about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.Ulrich Drepper2005-05-2119-159/+110
| | | | | | | | | | | | | | | | | | | * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo. (NEGZERO.0, POINTFIVE.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text. (TWO52.0, POINTFIVE.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text. (TWO23.0, POINTFIVE.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text. (TWO52.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text. (TWO23.0): Delete. * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
* [BZ #955]Ulrich Drepper2005-05-218-31/+50
| | | | | | | | | | | | | | | | | | | | | | | 2005-05-19 Richard Henderson <rth@redhat.com> * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around CLOCK_REALTIME. * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq, __arch_compare_and_exchange_bool_64_acq, __arch_compare_and_exchange_val_32_acq, __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add): Use __sync builtin without _si or _di suffix. 2005-05-19 Jakub Jelinek <jakub@redhat.com> [BZ #955] * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters <UFFFF> and above. 2005-05-17 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (clock_getcpuclockid): Always return a defined value.
* (clock_getcpuclockid): Always return a defined value.Ulrich Drepper2005-05-211-6/+6
|
* * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN] cvs/fedora-glibc-20050520T0919Roland McGrath2005-05-181-0/+6
| | | | | instead of [SALEN]. (gaih_inet): Likewise.
* 2005-05-17 Neal H. Walfield <neal@gnu.org>Roland McGrath2005-05-181-4/+4
| | | | | | * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN] instead of [SALEN]. (gaih_inet): Likewise.
* Correct comment.Ulrich Drepper2005-05-141-1/+1
|
* * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust forUlrich Drepper2005-05-113-6/+9
| | | | | removal of a_ptr element in ElfXX_auxv_t. * elf/dl-support.c (_dl_aux_init): Likewise.
* * elf/elf.h (Elf32_auxv_t): Make cross-compile safe.Ulrich Drepper2005-05-111-0/+5
| | | | (Elf64_auxv_t): Likewise.
* (Elf32_auxv_t): Make cross-compile safe. (Elf64_auxv_t): Likewise.Ulrich Drepper2005-05-111-8/+10
|
* * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.Roland McGrath2005-05-093-0/+7
| | | | * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
* * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): UseRoland McGrath2005-05-091-0/+5
| | | | .pushsection/.popsection in place of .section/.previous.
* 2005-05-09 Alan Modra <amodra@bigpond.net.au>Roland McGrath2005-05-091-8/+8
| | | | | * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use .pushsection/.popsection in place of .section/.previous.
* * MakeTAGS: Make xgettext not look into test cases.Ulrich Drepper2005-05-083-4/+6041
|
* * MakeTAGS: Remove - parameter to xgettext.Ulrich Drepper2005-05-083-5871/+4
|
* * MakeTAGS: Make sure translations in error calls are marked withUlrich Drepper2005-05-082-2/+7
| | | | c-format by xgettext.
* * intl/libintl.h: Always use __attribute_format_arg__ for gettextUlrich Drepper2005-05-072-4/+12
| | | | | functions since gcc sometimes forgets the attribute for the standard functions.
* [BZ #934]Ulrich Drepper2005-05-063-1/+24
| | | | | | | | | | 2005-05-06 Jakub Jelinek <jakub@redhat.com> [BZ #934] * posix/regex_internal.h: Include bits/libc-lock.h or define dummy __libc_lock_* macros if not _LIBC. (struct re_dfa_t): Add lock. * posix/regcomp.c (re_compile_internal): Add __libc_lock_init. * posix/regexec.c (regexec, re_search_stub): Add locking.
* Include bits/libc-lock.h or define dummy __libc_lock_* macros if not _LIBC. ↵Ulrich Drepper2005-05-061-0/+9
| | | | (struct re_dfa_t): Add lock.
* * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Remove explicitRoland McGrath2005-05-062-14/+28
| | | | .eh_frame section, use cfi_* directives.
* pasto in license textRoland McGrath2005-05-051-1/+1
|
* * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix) cvs/fedora-glibc-20050504T1818Ulrich Drepper2005-05-0478-252/+417
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as argument to the scripts. * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir. * intl/tst-gettext4.sh: Likewise. Use run_program_prefix argument. * intl/tst-gettext5.sh: Likewise. * intl/tst-translit.sh: Add mkdir -p. * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use .ifndef/.endif to allow use of this macro more than once per .S file. (LOAD_PIC_REG): New macro. * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame information. * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro. Add call frame information. * sysdeps/i386/fpu/e_log10f.S: Likewise. * sysdeps/i386/fpu/s_expm1.S: Likewise. * sysdeps/i386/fpu/e_acoshf.S: Likewise. * sysdeps/i386/fpu/e_log2l.S: Likewise. * sysdeps/i386/fpu/s_log1pf.S: Likewise. * sysdeps/i386/fpu/s_lrint.S: Likewise. * sysdeps/i386/fpu/s_llrint.S: Likewise. * sysdeps/i386/fpu/s_ilogbf.S: Likewise. * sysdeps/i386/fpu/s_cbrtl.S: Likewise. * sysdeps/i386/fpu/s_asinhf.S: Likewise. * sysdeps/i386/fpu/e_log.S: Likewise. * sysdeps/i386/fpu/e_atanhf.S: Likewise. * sysdeps/i386/fpu/s_lrintl.S: Likewise. * sysdeps/i386/fpu/e_atanhl.S: Likewise. * sysdeps/i386/fpu/e_scalb.S: Likewise. * sysdeps/i386/fpu/s_log1p.S: Likewise. * sysdeps/i386/fpu/s_nearbyintl.S: Likewise. * sysdeps/i386/fpu/s_frexpl.S: Likewise. * sysdeps/i386/fpu/s_log1pl.S: Likewise. * sysdeps/i386/fpu/s_nearbyintf.S: Likewise. * sysdeps/i386/fpu/s_cbrt.S: Likewise. * sysdeps/i386/fpu/s_expm1l.S: Likewise. * sysdeps/i386/fpu/s_lrintf.S: Likewise. * sysdeps/i386/fpu/e_acosh.S: Likewise. * sysdeps/i386/fpu/s_cexp.S: Likewise. * sysdeps/i386/fpu/s_ilogbl.S: Likewise. * sysdeps/i386/fpu/s_expm1f.S: Likewise. * sysdeps/i386/fpu/e_powl.S: Likewise. * sysdeps/i386/fpu/e_powf.S: Likewise. * sysdeps/i386/fpu/e_scalbf.S: Likewise. * sysdeps/i386/fpu/e_logl.S: Likewise. * sysdeps/i386/fpu/e_acoshl.S: Likewise. * sysdeps/i386/fpu/s_frexp.S: Likewise. * sysdeps/i386/fpu/e_pow.S: Likewise. * sysdeps/i386/fpu/e_logf.S: Likewise. * sysdeps/i386/fpu/e_log2.S: Likewise. * sysdeps/i386/fpu/s_frexpf.S: Likewise. * sysdeps/i386/fpu/s_cexpl.S: Likewise. * sysdeps/i386/fpu/s_llrintf.S: Likewise. * sysdeps/i386/fpu/s_ilogb.S: Likewise. * sysdeps/i386/fpu/e_scalbl.S: Likewise. * sysdeps/i386/fpu/e_atanh.S: Likewise. * sysdeps/i386/fpu/e_log10.S: Likewise. * sysdeps/i386/fpu/s_cbrtf.S: Likewise. * sysdeps/i386/fpu/s_cexpf.S: Likewise. * sysdeps/i386/fpu/s_llrintl.S: Likewise. * sysdeps/i386/fpu/e_log10l.S: Likewise. * sysdeps/i386/fpu/s_nearbyint.S: Likewise. * sysdeps/i386/fpu/s_asinhl.S: Likewise. * sysdeps/i386/fpu/e_log2f.S: Likewise. * sysdeps/i386/addmul_1.S: Various fixes to cfi handling. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/strtok.S: Likewise. * sysdeps/i386/sub_n.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/i586/addmul_1.S: Likewise. * sysdeps/i386/i586/memcpy.S: Likewise. * sysdeps/i386/i586/mul_1.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i586/submul_1.S: Likewise. * sysdeps/i386/i686/memcmp.S: Likewise. * sysdeps/i386/i686/memmove.S: Likewise. * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
* * sysdeps/i386/add_n.S: Add call frame information. cvs/fedora-glibc-20050504T0728Ulrich Drepper2005-05-0448-142/+990
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/i386/addmul_1.S: Likewise. * sysdeps/i386/bsd-setjmp.S: Likewise. * sysdeps/i386/lshift.S: Likewise. * sysdeps/i386/memchr.S: Likewise. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/rawmemchr.S: Likewise. * sysdeps/i386/rshift.S: Likewise. * sysdeps/i386/stpncpy.S: Likewise. * sysdeps/i386/strchr.S: Likewise. * sysdeps/i386/strchrnul.S: Likewise. * sysdeps/i386/strcspn.S: Likewise. * sysdeps/i386/strpbrk.S: Likewise. * sysdeps/i386/strrchr.S: Likewise. * sysdeps/i386/strspn.S: Likewise. * sysdeps/i386/strtok.S: Likewise. * sysdeps/i386/sub_n.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/elf/bsd-setjmp.S: Likewise. * sysdeps/i386/i486/strcat.S: Likewise. * sysdeps/i386/i586/add_n.S: Likewise. * sysdeps/i386/i586/addmul_1.S: Likewise. * sysdeps/i386/i586/lshift.S: Likewise. * sysdeps/i386/i586/memcpy.S: Likewise. * sysdeps/i386/i586/memset.S: Likewise. * sysdeps/i386/i586/mul_1.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/strchr.S: Likewise. * sysdeps/i386/i586/strcpy.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i586/submul_1.S: Likewise. * sysdeps/i386/i686/add_n.S: Likewise. * sysdeps/i386/i686/memcmp.S: Likewise. * sysdeps/i386/i686/memmove.S: Likewise. * sysdeps/i386/i686/mempcpy.S: Likewise. * sysdeps/i386/i686/memset.S: Likewise. * sysdeps/i386/i686/strtok.S: Likewise. * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise. * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
* * sysdeps/unix/sysv/linux/kernel-features.h: waitid is availableUlrich Drepper2005-05-034-265/+36
| | | | on ppc in 2.6.12.
* * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,Ulrich Drepper2005-05-031-0/+9
| | | | | | | | call ftruncate if offset is bigger than current size. Make sure the file is offset + len bytes long if that is more than current size. Don't overwrite previous content of the file. * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64): Likewise.
* (posix_fallocate): If len == 0, call ftruncate if offset is bigger than ↵Ulrich Drepper2005-05-032-20/+66
| | | | current size. Make sure the file is offset + len bytes long if that is more than current size. Don't overwrite previous content of the file.
* [BZ #924] cvs/fedora-glibc-20050503T0852Roland McGrath2005-05-022-2/+8
| | | | | | 2005-05-02 Roland McGrath <roland@redhat.com> [BZ #924] * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
* * timezone/africa: Update from tzdata2005i.Roland McGrath2005-04-305-38/+108
| | | | | | * timezone/asia: Likewise. * timezone/northamerica: Likewise. * timezone/yearistype: Likewise.
* * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.Roland McGrath2005-04-291-0/+4
|
* 2005-04-29 Roland McGrath <roland@redhat.com>Roland McGrath2005-04-291-1/+1
| | | | * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
* * nis/nis_table.c: Fix realloc handling.Ulrich Drepper2005-04-293-7/+17
| | | | * nis/nis_removemember.c: Likewise.
* [BZ #798]Ulrich Drepper2005-04-291-0/+5
| | | | | | 2005-04-28 Ulrich Drepper <drepper@redhat.com> [BZ #798] * nscd/Makefile: Help losers who use --with-headers.
* Help losers who use --with-headers.Ulrich Drepper2005-04-291-0/+8
|
* [BZ #781, BZ #796]Roland McGrath2005-04-287-70/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-28 Roland McGrath <roland@redhat.com> [BZ #796] * sysdeps/unix/sysv/linux/dl-sysdep.h: New file. Define NEED_DL_SYSINFO_DSO for all platforms. * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection. * sysdeps/alpha/dl-sysdep.h: Likewise. Use #include_next instead of duplicating generic file's contents. * sysdeps/ia64/dl-sysdep.h: Likewise. * sysdeps/sparc/dl-sysdep.h: Likewise. 2005-03-22 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local. 2005-03-07 Steven Munroe <sjmunroe@us.ibm.com> [BZ #781] * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1. (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1. (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting with 2.6.1. (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
* 2005-03-22 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath2005-04-281-4/+3
| | | | * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
* * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.Ulrich Drepper2005-04-285-15/+38
| | | | | | * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate cfi_startproc and cfi_endproc.
* * configure.in: Remove ultrasparc names.Ulrich Drepper2005-04-282-2/+4
|
* * sysdeps/i386/i686/memcmp.S: Move misplaced END.Ulrich Drepper2005-04-2811-12/+7296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-27 Bruno Haible <bruno@clisp.org> Make it possible for multiple threads to use gettext() in different locales. * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro. (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename field. (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields. (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in search and newp. * intl/tst-gettext4.c: New file. * intl/tst-gettext4.sh: New file. * intl/tst-gettext4-de.po: New file. * intl/tst-gettext4-fr.po: New file. * intl/tst-gettext5.c: New file. * intl/tst-gettext5.sh: New file. * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po, tst-gettext4-fr.po, tst-gettext5.sh. (multithread-test-srcs): New variable. (test-srcs): Add its contents. (tests): Depend on tst-gettext4.out, tst-gettext5.out. (tst-gettext4.out, tst-gettext5.out): New rules. (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables. Add rule for linking the multithread-test-srcs with the appropriate thread-library. 2005-04-28 Ulrich Drepper <drepper@redhat.com> * po/rw.po: New file. From translation team.
* * scripts/config.guess: Update from upstream.Ulrich Drepper2005-04-283-5/+17
| | | | * scripts/config.sub: Likewise.
* * SUPPORTED: Add UTF-8 locales where UTF-8 was not already supported.Ulrich Drepper2005-04-282-0/+22
|
* * nscd/connections.c (nscd_run): Use time() value in prune_cache cvs/fedora-glibc-20050428T0846Ulrich Drepper2005-04-282-2/+6
| | | | call, not timeout value, since the latter might be from another clock.
* * sysdeps/pthread/getcpuclockid.c: Include spinlock.h. cvs/fedora-glibc-20050427T1912Ulrich Drepper2005-04-273-5/+18
| | | | | | Fix a typo in kernel-posix-cpy-timers.h include name, use <> instead of "" includes. (pthread_getcpuclockid): Fix 2 typos.
* Use <> instead of "" includes.Ulrich Drepper2005-04-271-3/+3
|
* [BZ #877] cvs/fedora-glibc-2_3-20050704T1133 cvs/fedora-glibc-20050427T1043Roland McGrath2005-04-273-2/+7
| | | | * posix/unistd.h: Remove __nonnull from acct decl.
* [BZ #877]Roland McGrath2005-04-271-2/+2
| | | | | | 2005-04-27 Roland McGrath <roland@redhat.com> [BZ #877] * posix/unistd.h: Remove __nonnull from acct decl.
* * tst-cancel17.c (do_test): Add arbitrary factor to make sureUlrich Drepper2005-04-271-0/+5
| | | | aio_write blocks.
* (do_test): Add arbitrary factor to make sure aio_write blocks.Ulrich Drepper2005-04-271-2/+2
|
* * rt/tst-cpuclock1.c: New file.Roland McGrath2005-04-2712-5/+1174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rt/tst-cpuclock2.c: New file. * rt/tst-cputimer1.c: New file. * rt/tst-cputimer2.c: New file. * rt/tst-cputimer3.c: New file. * rt/Makefile (tests): Add them. * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file. * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file. * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c (HAS_CPUCLOCK): New macro. (clock_getcpuclockid): Function removed. #include the new linux file to define it instead. * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime): New function, broken out of ... (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it. (realtime_gettime): New function, broken out of ... (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it. (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case. * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro. (SYSDEP_GETTIME_CPUTIME): New macro. (SYSDEP_GETTIME): Use both. [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken out of ... (SYSDEP_GETTIME): ... here. Use it. [__NR_clock_gettime] (HANDLED_CPUTIME): Define it. (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying kernel support and falling back to hp-timing code. * sysdeps/posix/clock_getres.c [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ... (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it. (realtime_getres): New function, broken out of ... (clock_getres) [! HANDLED_REALTIME]: ... here. Call it. (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case. * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro. (SYSDEP_GETRES_CPUTIME): New macro. (SYSDEP_GETRES): Use both. [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken out of ... (SYSDEP_GETRES): ... here. Use it. [__NR_clock_getres] (HANDLED_CPUTIME): Define it. (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying kernel support and falling back to hp-timing code. * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially, translating to the kernel clockid_t for our own process/thread clock.
* 2005-04-27 Roland McGrath <roland@redhat.com>Roland McGrath2005-04-278-195/+549
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file. * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file. * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c (HAS_CPUCLOCK): New macro. (clock_getcpuclockid): Function removed. #include the new linux file to define it instead. * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime): New function, broken out of ... (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it. (realtime_gettime): New function, broken out of ... (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it. (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case. * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro. (SYSDEP_GETTIME_CPUTIME): New macro. (SYSDEP_GETTIME): Use both. [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken out of ... (SYSDEP_GETTIME): ... here. Use it. [__NR_clock_gettime] (HANDLED_CPUTIME): Define it. (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying kernel support and falling back to hp-timing code. * sysdeps/posix/clock_getres.c [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ... (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it. (realtime_getres): New function, broken out of ... (clock_getres) [! HANDLED_REALTIME]: ... here. Call it. (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case. * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro. (SYSDEP_GETRES_CPUTIME): New macro. (SYSDEP_GETRES): Use both. [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken out of ... (SYSDEP_GETRES): ... here. Use it. [__NR_clock_getres] (HANDLED_CPUTIME): Define it. (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying kernel support and falling back to hp-timing code. * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially, translating to the kernel clockid_t for our own process/thread clock.
* * stdlib/test-canon.c: Make doesExist a directory and add more testsUlrich Drepper2005-04-273-6/+31
| | | | | | | | | | | for the new error case. 2004-06-02 Dmitry V. Levin <ldv@altlinux.org> Ranjani Murthy <ranmur@gmail.com> * stdlib/canonicalize.c (__realpath): Change realpath(3) to return NULL and set errno to ENOTDIR for such pathnames like "/path/to/existing-non-directory/".
* * time/strptime_l.c (__strptime_internal): Handle 'z' to setUlrich Drepper2005-04-276-59/+264
| | | | | | tm_gmtoff. * time/Makefile (tests): Add tst-strptime2. * time/tst-strptime2.c: New file.