projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9508ca7
)
should use sigmask
author
Jim Bloom
<bloom@ucbvax.Berkeley.EDU>
Fri, 7 Jun 1985 13:19:49 +0000
(
05:19
-0800)
committer
Jim Bloom
<bloom@ucbvax.Berkeley.EDU>
Fri, 7 Jun 1985 13:19:49 +0000
(
05:19
-0800)
SCCS-vsn: libexec/comsat/comsat.c 5.2
usr/src/libexec/comsat/comsat.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/libexec/comsat/comsat.c
b/usr/src/libexec/comsat/comsat.c
index
c9184c1
..
92cbf18
100644
(file)
--- a/
usr/src/libexec/comsat/comsat.c
+++ b/
usr/src/libexec/comsat/comsat.c
@@
-11,7
+11,7
@@
char copyright[] =
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)comsat.c 5.
1
(Berkeley) %G%";
+static char sccsid[] = "@(#)comsat.c 5.
2
(Berkeley) %G%";
#endif not lint
#include <sys/types.h>
#endif not lint
#include <sys/types.h>
@@
-91,7
+91,7
@@
main(argc, argv)
errno = 0;
continue;
}
errno = 0;
continue;
}
- sigblock(
1<<SIGALRM
);
+ sigblock(
sigmask(SIGALRM)
);
msgbuf[cc] = 0;
lastmsgtime = time(0);
mailfor(msgbuf);
msgbuf[cc] = 0;
lastmsgtime = time(0);
mailfor(msgbuf);