File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- /* $NetBSD: hdr.h,v 1.4 1997/10/11 01:53:26 lukem Exp $ */
1
+ /* $NetBSD: hdr.h,v 1.5 1998/08/29 20:19:56 hubertf Exp $ */
2
2
3
3
/*-
4
4
* Copyright (c) 1991, 1993
55
55
56
56
/* hdr.h: included by c advent files */
57
57
58
+ #include <signal.h>
59
+
58
60
int datfd ; /* message file descriptor */
59
- int delhit ;
61
+ volatile sig_atomic_t delhit ;
60
62
int yea ;
61
63
extern char data_file []; /* Virtual data file */
62
64
Original file line number Diff line number Diff line change 1
- /* $NetBSD: init.c,v 1.9 1998/08/24 22:07:37 hubertf Exp $ */
1
+ /* $NetBSD: init.c,v 1.10 1998/08/29 20:19:56 hubertf Exp $ */
2
2
3
3
/*-
4
4
* Copyright (c) 1993
43
43
#if 0
44
44
static char sccsid [] = "@(#)init.c 8.1 (Berkeley) 6/2/93" ;
45
45
#else
46
- __RCSID ("$NetBSD: init.c,v 1.9 1998/08/24 22:07:37 hubertf Exp $" );
46
+ __RCSID ("$NetBSD: init.c,v 1.10 1998/08/29 20:19:56 hubertf Exp $" );
47
47
#endif
48
48
#endif /* not lint */
49
49
219
219
trapdel (n ) /* come here if he hits a del */
220
220
int n ;
221
221
{
222
- delhit ++ ; /* main checks, treats as QUIT */
222
+ delhit = 1 ; /* main checks, treats as QUIT */
223
223
signal (SIGINT , trapdel );/* catch subsequent DELs */
224
224
}
225
225
You can’t perform that action at this time.
0 commit comments