diff options
| author | Paul Eggert | 2011-03-17 13:18:59 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-17 13:18:59 -0700 |
| commit | fffe2e140420f75d6ad06ab9356b337570572b9b (patch) | |
| tree | 216a77941f22567cc86683c576a1c84caabab387 /src | |
| parent | 09f6ff021c99c2b80f39e6d8a54ef556ea108a83 (diff) | |
| download | emacs-fffe2e140420f75d6ad06ab9356b337570572b9b.tar.gz emacs-fffe2e140420f75d6ad06ab9356b337570572b9b.zip | |
Restore failure returns to unexaix.c, unexcoff.c, unexcw.c
Diffstat (limited to 'src')
| -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) | |||
| 142 | || unrelocate_symbols (new, a_out, a_name, new_name) < 0) | 142 | || unrelocate_symbols (new, a_out, a_name, new_name) < 0) |
| 143 | { | 143 | { |
| 144 | close (new); | 144 | close (new); |
| 145 | return; | ||
| 145 | } | 146 | } |
| 146 | 147 | ||
| 147 | close (new); | 148 | 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) | |||
| 545 | ) | 545 | ) |
| 546 | { | 546 | { |
| 547 | close (new); | 547 | close (new); |
| 548 | return; | ||
| 548 | } | 549 | } |
| 549 | 550 | ||
| 550 | close (new); | 551 | 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) | |||
| 263 | { | 263 | { |
| 264 | /* can only dump once */ | 264 | /* can only dump once */ |
| 265 | printf ("You can only dump Emacs once on this platform.\n"); | 265 | printf ("You can only dump Emacs once on this platform.\n"); |
| 266 | return; | ||
| 266 | } | 267 | } |
| 267 | 268 | ||
| 268 | report_sheap_usage (1); | 269 | report_sheap_usage (1); |