OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcccd94
)
Issue an error message when attmepting to copy an empty input file.
author
nickc
<nickc>
Fri, 15 Apr 2005 16:28:51 +0000
(16:28 +0000)
committer
nickc
<nickc>
Fri, 15 Apr 2005 16:28:51 +0000
(16:28 +0000)
binutils/ChangeLog
patch
|
blob
|
history
binutils/objcopy.c
patch
|
blob
|
history
diff --git
a/binutils/ChangeLog
b/binutils/ChangeLog
index
899a117
..
a9596ad
100644
(file)
--- a/
binutils/ChangeLog
+++ b/
binutils/ChangeLog
@@
-1,3
+1,8
@@
+2005-04-15 Nick Clifton <nickc@redhat.com>
+
+ * objcopy.c (copy_file): Issue an error message when attmepting to
+ copy an empty input file.
+
2005-04-14 Alan Modra <amodra@bigpond.net.au>
* Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
diff --git
a/binutils/objcopy.c
b/binutils/objcopy.c
index
2d25b13
..
856b348
100644
(file)
--- a/
binutils/objcopy.c
+++ b/
binutils/objcopy.c
@@
-1701,6
+1701,7
@@
copy_file (const char *input_filename, const char *output_filename,
if (get_file_size (input_filename) < 1)
{
+ non_fatal (_("error: the input file '%s' is empty"), input_filename);
status = 1;
return;
}