diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-17 13:18:59 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-17 13:18:59 -0700 |
commit | fffe2e140420f75d6ad06ab9356b337570572b9b (patch) | |
tree | 216a77941f22567cc86683c576a1c84caabab387 | |
parent | 09f6ff021c99c2b80f39e6d8a54ef556ea108a83 (diff) | |
download | emacs-fffe2e140420f75d6ad06ab9356b337570572b9b.tar.gz |
Restore failure returns to unexaix.c, unexcoff.c, unexcw.c
-rw-r--r-- | src/unexaix.c | 1 | ||||
-rw-r--r-- | src/unexcoff.c | 1 | ||||
-rw-r--r-- | src/unexcw.c | 1 |
3 files changed, 3 insertions, 0 deletions
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); |