projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
different approach, try signal compatibility package
[unix-history]
/
usr
/
src
/
bin
/
csh
/
hist.c
diff --git
a/usr/src/bin/csh/hist.c
b/usr/src/bin/csh/hist.c
index
774e1cc
..
64ed6ae
100644
(file)
--- a/
usr/src/bin/csh/hist.c
+++ b/
usr/src/bin/csh/hist.c
@@
-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")) {