artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f18483f
)
Exit strip(1) with an error, if an objfile could not be read.
author
mpf
<mpf@openbsd.org>
Fri, 16 Jul 2010 21:44:06 +0000
(21:44 +0000)
committer
mpf
<mpf@openbsd.org>
Fri, 16 Jul 2010 21:44:06 +0000
(21:44 +0000)
Input and OK millert@
gnu/usr.bin/binutils/binutils/objcopy.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/binutils/binutils/objcopy.c
b/gnu/usr.bin/binutils/binutils/objcopy.c
index
181f144
..
0f7ce85
100644
(file)
--- a/
gnu/usr.bin/binutils/binutils/objcopy.c
+++ b/
gnu/usr.bin/binutils/binutils/objcopy.c
@@
-2367,7
+2367,10
@@
strip_main (int argc, char *argv[])
char *tmpname;
if (get_file_size (argv[i]) < 1)
- continue;
+ {
+ status = 1;
+ continue;
+ }
if (preserve_dates)
/* No need to check the return value of stat().