mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
* sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
* sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined, use sysdeps/unix/time.c implementation.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2005-12-20 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined,
|
||||||
|
use sysdeps/unix/time.c implementation.
|
||||||
|
|
||||||
2005-12-19 Ulrich Drepper <drepper@redhat.com>
|
2005-12-19 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
[BZ #1955]
|
[BZ #1955]
|
||||||
|
@ -21,9 +21,11 @@
|
|||||||
|
|
||||||
#include <sysdep.h>
|
#include <sysdep.h>
|
||||||
|
|
||||||
|
#ifdef __NR_time
|
||||||
|
|
||||||
time_t
|
time_t
|
||||||
time (time_t *t)
|
time (t)
|
||||||
|
time_t *t;
|
||||||
{
|
{
|
||||||
INTERNAL_SYSCALL_DECL (err);
|
INTERNAL_SYSCALL_DECL (err);
|
||||||
time_t res = INTERNAL_SYSCALL (time, err, 1, NULL);
|
time_t res = INTERNAL_SYSCALL (time, err, 1, NULL);
|
||||||
@ -33,3 +35,9 @@ time (time_t *t)
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
libc_hidden_def (time)
|
libc_hidden_def (time)
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
# include <sysdeps/unix/time.c>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user