different approach, try signal compatibility package
[unix-history] / usr / src / bin / csh / hist.c
index 774e1cc..64ed6ae 100644 (file)
@@ -1,4 +1,4 @@
-static char *sccsid = "@(#)hist.c 4.5 %G%";
+static char *sccsid = "@(#)hist.c 4.6 %G%";
 
 #include "sh.h"
 
 
 #include "sh.h"
 
@@ -73,7 +73,7 @@ dohist(vp)
        if (getn(value("history")) == 0)
                return;
        if (setintr)
        if (getn(value("history")) == 0)
                return;
        if (setintr)
-               (void) sigrelse(mask(SIGINT));
+               sigrelse(SIGINT);
        vp++;
        while (*vp && *vp[0] == '-') {
                if (*vp && eq(*vp, "-h")) {
        vp++;
        while (*vp && *vp[0] == '-') {
                if (*vp && eq(*vp, "-h")) {