read builtin timeouts no longer use SIGALRM

This commit is contained in:
Chet Ramey
2021-03-10 17:15:44 -05:00
parent 11bf534f36
commit 128c5d41b0
16 changed files with 159 additions and 183 deletions
+2 -2
View File
@@ -72,8 +72,8 @@ extern int gettimeofday PARAMS((struct timeval *, void *));
#endif
/* These are non-standard. */
#if !defined (timerunset)
# define timerunset(tvp) ((tvp)->tv_sec == 0 && (tvp)->tv_usec == 0)
#if !defined (timerisunset)
# define timerisunset(tvp) ((tvp)->tv_sec == 0 && (tvp)->tv_usec == 0)
#endif
#if !defined (timerset)
# define timerset(tvp, s, u) do { tvp->tv_sec = s; tvp->tv_usec = u; } while (0)