1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
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:
Ulrich Drepper
2003-03-27 19:10:51 +00:00
parent 0d5420ec80
commit c75d02f056
4 changed files with 21 additions and 9 deletions

View File

@ -115,6 +115,12 @@ timer_create (clock_id, evp, timerid)
}
free (newp);
# ifndef __ASSUME_POSIX_TIMERS
/* When we come here the syscall does not exist. Make sure we
do not try to use it again. */
__no_posix_timers = -1;
# endif
}
else
{
@ -224,12 +230,6 @@ timer_create (clock_id, evp, timerid)
return -1;
}
}
# ifndef __ASSUME_POSIX_TIMERS
/* When we come here the syscall does not exist. Make sure we
do not try to use it again. */
__no_posix_timers = -1;
# endif
}
# ifndef __ASSUME_POSIX_TIMERS