From: Paul Eggert Date: Thu, 17 Mar 2011 20:18:59 +0000 (-0700) Subject: Restore failure returns to unexaix.c, unexcoff.c, unexcw.c X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~551 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fffe2e140420f75d6ad06ab9356b337570572b9b;p=emacs.git Restore failure returns to unexaix.c, unexcoff.c, unexcw.c --- diff --git a/src/unexaix.c b/src/unexaix.c index e6aad2db775..df4c5b8905c 100644 --- a/src/unexaix.c +++ b/src/unexaix.c @@ -142,6 +142,7 @@ unexec (const char *new_name, const char *a_name) || unrelocate_symbols (new, a_out, a_name, new_name) < 0) { close (new); + return; } close (new); diff --git a/src/unexcoff.c b/src/unexcoff.c index 03b0015e6b9..ef86a400239 100644 --- a/src/unexcoff.c +++ b/src/unexcoff.c @@ -545,6 +545,7 @@ unexec (const char *new_name, const char *a_name) ) { close (new); + return; } close (new); diff --git a/src/unexcw.c b/src/unexcw.c index 1202e046024..f643c196de0 100644 --- a/src/unexcw.c +++ b/src/unexcw.c @@ -263,6 +263,7 @@ unexec (const char *outfile, const char *infile) { /* can only dump once */ printf ("You can only dump Emacs once on this platform.\n"); + return; } report_sheap_usage (1);