* libbfd.c (bfd_read): Check result of read against desired result
authorIan Lance Taylor <ian@airs.com>
Tue, 9 Nov 1999 19:13:21 +0000 (19:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 9 Nov 1999 19:13:21 +0000 (19:13 +0000)
commit0bff3f4bb6e2ad90568897c3a233919f9b6bf51a
treecc100b3a1447fed264646eb697d1ffc4a0f3b936
parenta8c5faf7f683b74bcca09a8efd7bff654677fb13
* libbfd.c (bfd_read): Check result of read against desired result
using !=, not <.
(_bfd_generic_get_section_contents): Set bfd_error if the seek is
invalid compared to the section size.
bfd/ChangeLog
bfd/libbfd.c