forked from Imagelibrary/binutils-gdb
Run all error handling through an Errors object. Delete output file
on error.
This commit is contained in:
@@ -215,7 +215,7 @@ help(int, char**, char*, gold::Command_line*)
|
||||
std::puts(options[i].doc);
|
||||
}
|
||||
|
||||
gold::gold_exit(true);
|
||||
::exit(true);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -226,7 +226,7 @@ int
|
||||
version(int, char**, char* opt, gold::Command_line*)
|
||||
{
|
||||
gold::print_version(opt[0] == 'v' && opt[1] == '\0');
|
||||
gold::gold_exit(true);
|
||||
::exit(true);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -767,7 +767,7 @@ Command_line::usage()
|
||||
fprintf(stderr,
|
||||
_("%s: use the --help option for usage information\n"),
|
||||
program_name);
|
||||
gold_exit(false);
|
||||
::exit(false);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user