mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2003-03-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Even if timer_delete syscall fails, but not with ENOSYS, set __no_posix_timers. * sysdeps/unix/sysv/linux/timer_settime.c [!__ASSUME_POSIX_TIMERS] (timer_settime): Fix typo.
This commit is contained in:
@ -72,10 +72,13 @@ timer_delete (timerid)
|
||||
Return the error. */
|
||||
# ifndef __ASSUME_POSIX_TIMERS
|
||||
if (errno != ENOSYS)
|
||||
{
|
||||
__no_posix_timers = 1;
|
||||
# endif
|
||||
return -1;
|
||||
|
||||
return -1;
|
||||
# ifndef __ASSUME_POSIX_TIMERS
|
||||
}
|
||||
|
||||
__no_posix_timers = -1;
|
||||
# endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user