BSD 4_3_Tahoe release
[unix-history] / usr / src / bin / csh / sh.hist.c
index e27d9d1..929e269 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char *sccsid = "@(#)sh.hist.c   5.2 (Berkeley) 6/6/85";
+static char *sccsid = "@(#)sh.hist.c   5.3 (Berkeley) 6/25/87";
 #endif
 
 #include "sh.h"
 #endif
 
 #include "sh.h"
@@ -82,7 +82,7 @@ dohist(vp)
        if (getn(value("history")) == 0)
                return;
        if (setintr)
        if (getn(value("history")) == 0)
                return;
        if (setintr)
-               (void) sigsetmask(sigblock(0) & ~sigmask(SIGINT));
+               (void) sigsetmask(sigblock(0L) & ~sigmask(SIGINT));
        while (*++vp && **vp == '-') {
                char *vp2 = *vp;
  
        while (*++vp && **vp == '-') {
                char *vp2 = *vp;