* opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion.
This commit is contained in:
parent
c3ad16c0cd
commit
c309eac207
|
@ -1,3 +1,7 @@
|
||||||
|
2007-08-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion.
|
||||||
|
|
||||||
2007-08-07 Nick Clifton <nickc@redhat.com>
|
2007-08-07 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* po/bfd.pot: Updated template.
|
* po/bfd.pot: Updated template.
|
||||||
|
|
|
@ -545,7 +545,8 @@ bfd_openr_iovec (const char *filename, const char *target,
|
||||||
nbfd->filename = filename;
|
nbfd->filename = filename;
|
||||||
nbfd->direction = read_direction;
|
nbfd->direction = read_direction;
|
||||||
|
|
||||||
stream = open (nbfd, open_closure);
|
/* `open (...)' would get expanded by an the open(2) syscall macro. */
|
||||||
|
stream = (*open) (nbfd, open_closure);
|
||||||
if (stream == NULL)
|
if (stream == NULL)
|
||||||
{
|
{
|
||||||
_bfd_delete_bfd (nbfd);
|
_bfd_delete_bfd (nbfd);
|
||||||
|
|
Loading…
Reference in New Issue