summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-17 13:18:59 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-17 13:18:59 -0700
commitfffe2e140420f75d6ad06ab9356b337570572b9b (patch)
tree216a77941f22567cc86683c576a1c84caabab387 /src
parent09f6ff021c99c2b80f39e6d8a54ef556ea108a83 (diff)
downloademacs-fffe2e140420f75d6ad06ab9356b337570572b9b.tar.gz
Restore failure returns to unexaix.c, unexcoff.c, unexcw.c
Diffstat (limited to 'src')
-rw-r--r--src/unexaix.c1
-rw-r--r--src/unexcoff.c1
-rw-r--r--src/unexcw.c1
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);