Restore failure returns to unexaix.c, unexcoff.c, unexcw.c

This commit is contained in:
Paul Eggert 2011-03-17 13:18:59 -07:00
parent 09f6ff021c
commit fffe2e1404
3 changed files with 3 additions and 0 deletions

View file

@ -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);

View file

@ -545,6 +545,7 @@ unexec (const char *new_name, const char *a_name)
)
{
close (new);
return;
}
close (new);

View file

@ -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);