On Sat, 19 Jun 2021 17:15:43 +0200, Alexander Bluhm wrote: > In regress is some code > if ((int)alarm(10) == -1) > or > if (alarm(30) == (unsigned int)-1) > > The man page alarm(3) says "If an error occurs, the value -1 is > returned". Such things could be written. > > Should we avoid to return UINT_MAX in cases if there was no error? > Can that happen now? > > Or should we just remove the error handling in regress?
You should remove the error handling in regress. - todd