diff options
author | Nick Clifton <nickc@redhat.com> | 2004-04-22 10:43:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-04-22 10:43:34 +0000 |
commit | d2f7ecac2c3c1058a1d07d19dc095eac7170ff7f (patch) | |
tree | 47928506f0c4bb4c3d5a87485bb75314439a108c /bfd | |
parent | fd99574ba57795ede14cf8644ab4180facff4f17 (diff) | |
download | gdb-d2f7ecac2c3c1058a1d07d19dc095eac7170ff7f.zip gdb-d2f7ecac2c3c1058a1d07d19dc095eac7170ff7f.tar.gz gdb-d2f7ecac2c3c1058a1d07d19dc095eac7170ff7f.tar.bz2 |
Have bfd_archive_filename() return NULL on NULL input
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/bfd.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5c43097..00cc692 100644 --- 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. @@ -509,7 +509,7 @@ const char * bfd_archive_filename (bfd *abfd) { if (abfd == NULL) - return _("<unknown>"); + return NULL; if (abfd->my_archive) { |