* scmsigs.c (scm_init_scmsigs): if HAVE_SIGINTERRUPT is not
authorGary Houston <ghouston@arglist.com>
Wed, 14 Jun 2000 00:09:31 +0000 (00:09 +0000)
committerGary Houston <ghouston@arglist.com>
Wed, 14 Jun 2000 00:09:31 +0000 (00:09 +0000)
defined, add SA_RESTART to the sigaction flags correctly
(thanks to Dale P. Smith).

libguile/scmsigs.c

index 1759f71..2146ac0 100644 (file)
@@ -523,7 +523,7 @@ scm_init_scmsigs ()
        sigaction (i, NULL, &action);
        if (!(action.sa_flags & SA_RESTART))
          {
-           action.sa_flags &= SA_RESTART;
+           action.sa_flags |= SA_RESTART;
            sigaction (i, &action, NULL);
          }
       }