mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
Update.
2004-02-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Set retval to -1 on error.
This commit is contained in:
parent
d3a4681c8d
commit
f15e552893
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-26 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Set
|
||||||
|
retval to -1 on error.
|
||||||
|
|
||||||
2004-02-26 Ulrich Drepper <drepper@redhat.com>
|
2004-02-26 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* stdlib/canonicalize.c (__realpath): Simplify.
|
* stdlib/canonicalize.c (__realpath): Simplify.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003 Free Software Foundation, Inc.
|
/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -60,7 +60,10 @@ extern int __libc_missing_posix_timers attribute_hidden;
|
|||||||
if (e == EINVAL && clock_id == CLOCK_REALTIME) \
|
if (e == EINVAL && clock_id == CLOCK_REALTIME) \
|
||||||
HANDLE_REALTIME; \
|
HANDLE_REALTIME; \
|
||||||
else \
|
else \
|
||||||
__set_errno (e); \
|
{ \
|
||||||
|
__set_errno (e); \
|
||||||
|
retval = -1; \
|
||||||
|
} \
|
||||||
} \
|
} \
|
||||||
break
|
break
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user