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
we've only got one tty discipline now.
[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
f323f3e
..
1eb195d
100644
(file)
--- a/
usr/src/bin/csh/hist.c
+++ b/
usr/src/bin/csh/hist.c
@@
-1,5
+1,11
@@
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley Software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
#ifndef lint
#ifndef lint
-static char *sccsid = "@(#)hist.c
4.10
(Berkeley) %G%";
+static char *sccsid = "@(#)hist.c
5.3
(Berkeley) %G%";
#endif
#include "sh.h"
#endif
#include "sh.h"
@@
-76,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(0
L
) & ~sigmask(SIGINT));
while (*++vp && **vp == '-') {
char *vp2 = *vp;
while (*++vp && **vp == '-') {
char *vp2 = *vp;