Mercurial > hg > octave-lyh
changeset 1617:14d95b8282d7
[project @ 1995-11-03 16:44:45 by jwe]
author | jwe |
---|---|
date | Fri, 03 Nov 1995 16:44:45 +0000 |
parents | ac7e10016ca0 |
children | 9c1fca4bd859 |
files | libcruft/misc/dostop.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libcruft/misc/dostop.c +++ b/libcruft/misc/dostop.c @@ -25,10 +25,6 @@ #include "config.h" #endif -#include <sys/types.h> -#ifdef HAVE_UNISTD_H -#include <unistd.h> -#endif #include <signal.h> #include <stdlib.h> @@ -52,7 +48,7 @@ dostop (void) #endif { - kill (getpid (), SIGINT); + raise (SIGINT); abort (); }