From: David Levine Date: Sat, 2 Feb 2013 18:54:55 +0000 (-0600) Subject: Removed unlink of "core" from signal handler of mhlist, mhn, X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/ad1e8ec3d33e9d41ab05fdc17f5074d3afa30e27 Removed unlink of "core" from signal handler of mhlist, mhn, mhshow, and mhstore. Those programs shouldn't remove a file that has nothing to do with them. --- diff --git a/uip/mhlist.c b/uip/mhlist.c index 1363081c..161b6c1c 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -358,7 +358,6 @@ static void pipeser (int i) { if (i == SIGQUIT) { - unlink ("core"); fflush (stdout); fprintf (stderr, "\n"); fflush (stderr); diff --git a/uip/mhn.c b/uip/mhn.c index 5ce76222..21737399 100644 --- a/uip/mhn.c +++ b/uip/mhn.c @@ -622,7 +622,6 @@ static void pipeser (int i) { if (i == SIGQUIT) { - unlink ("core"); fflush (stdout); fprintf (stderr, "\n"); fflush (stderr); diff --git a/uip/mhshow.c b/uip/mhshow.c index 8e1a9003..4cbe411a 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -430,7 +430,6 @@ static void pipeser (int i) { if (i == SIGQUIT) { - unlink ("core"); fflush (stdout); fprintf (stderr, "\n"); fflush (stderr); diff --git a/uip/mhstore.c b/uip/mhstore.c index 61a54e63..69c066d1 100644 --- a/uip/mhstore.c +++ b/uip/mhstore.c @@ -384,7 +384,6 @@ static void pipeser (int i) { if (i == SIGQUIT) { - unlink ("core"); fflush (stdout); fprintf (stderr, "\n"); fflush (stderr);