projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd99574
)
Have bfd_archive_filename() return NULL on NULL input
author
Nick Clifton
<nickc@redhat.com>
Thu, 22 Apr 2004 10:43:34 +0000
(10:43 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Thu, 22 Apr 2004 10:43:34 +0000
(10:43 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/bfd.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 5c43097545ba81a5bd95aefa940d68cf97a0f54b..00cc69237c3f41b4b453b6c16ba8213a8f2b14d1 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,7
@@
+2004-04-22 Nick Clifton <nickc@redhat.com>
+
+ * bfd.c (bfd_archive_filename): Return NULL on NULL input.
+
2004-04-22 Peter Barada <peter@the-baradas.com>
* archures.c: Add bfd_mach_mcfv4e to bfd_architecture.
diff --git
a/bfd/bfd.c
b/bfd/bfd.c
index 524e7d2af33054ecf5e17a965da64fe6839ab365..f8ed3407637802812f1d5f60926fdaaad803e95d 100644
(file)
--- a/
bfd/bfd.c
+++ b/
bfd/bfd.c
@@
-509,7
+509,7
@@
const char *
bfd_archive_filename (bfd *abfd)
{
if (abfd == NULL)
- return
_("<unknown>")
;
+ return
NULL
;
if (abfd->my_archive)
{