From ad1e8ec3d33e9d41ab05fdc17f5074d3afa30e27 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sat, 2 Feb 2013 12:54:55 -0600 Subject: [PATCH] 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. --- uip/mhlist.c | 1 - uip/mhn.c | 1 - uip/mhshow.c | 1 - uip/mhstore.c | 1 - 4 files changed, 4 deletions(-) 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); -- 2.56.0