summaryrefslogtreecommitdiff
path: root/mcon/U/abortsig.U
diff options
context:
space:
mode:
Diffstat (limited to 'mcon/U/abortsig.U')
-rw-r--r--mcon/U/abortsig.U9
1 files changed, 5 insertions, 4 deletions
diff --git a/mcon/U/abortsig.U b/mcon/U/abortsig.U
index d51ba3e..392e28e 100644
--- a/mcon/U/abortsig.U
+++ b/mcon/U/abortsig.U
@@ -1,11 +1,11 @@
-?RCS: $Id: abortsig.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS: $Id: abortsig.U 167 2013-05-08 17:58:00Z rmanfredi $
?RCS:
?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?RCS:
-?RCS: You may redistribute only under the terms of the Artistic Licence,
+?RCS: You may redistribute only under the terms of the Artistic License,
?RCS: as specified in the README file that comes with the distribution.
?RCS: You may reuse parts of this distribution only within the terms of
-?RCS: that same Artistic Licence; a copy of which may be found at the root
+?RCS: that same Artistic License; a copy of which may be found at the root
?RCS: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: abortsig.U,v $
@@ -38,8 +38,9 @@ case "$abortsig" in
for signal in SIGIOT SIGILL SIGABRT; do
case "$abortsig" in
'') $cat >abort.c <<EOP
+/* FIXME: Missing #include <stdlib.h>*/
#include <signal.h>
-caught() { exit(0); }
+caught() { exit(0); } /* FIXME: Use _exit() or _Exit() in signal handler */
int main()
{
#ifdef $signal