Restore failure returns to unexaix.c, unexcoff.c, unexcw.c
This commit is contained in:
parent
09f6ff021c
commit
fffe2e1404
3 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -545,6 +545,7 @@ unexec (const char *new_name, const char *a_name)
|
|||
)
|
||||
{
|
||||
close (new);
|
||||
return;
|
||||
}
|
||||
|
||||
close (new);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue