|
@@ -74,17 +74,13 @@ unsigned int sleep (unsigned int seconds)
|
|
|
|
|
|
sigaction (SIGCHLD, NULL, &oact);
|
|
|
if (oact.sa_handler == SIG_IGN) {
|
|
|
-
|
|
|
-
|
|
|
|
|
|
result = nanosleep (&ts, &ts);
|
|
|
|
|
|
|
|
|
|
|
|
and therefore we don't need to save/restore it. */
|
|
|
-
|
|
|
sigprocmask (SIG_SETMASK, &set, NULL);
|
|
|
-
|
|
|
} else {
|
|
|
|
|
|
sigprocmask (SIG_SETMASK, &set, NULL);
|