This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with bfd_fdopenr and BFD_SEND_FMT combo?


Hi,
I was trying to use bfd_fdopenr on an fd opened with RDWR. it goes ok till
it reaches bfd_close:BFD_SEND_FMT where it fails( error message printed
is Invalid operation, if I use bfd_openw things are fine but I want to
use fdopenr). I tried to enable the DEBUG_SEND_BFD (adding it to CFLAGS
in Makefile), compilation fails for archive.c. I verified that fdopenr
does work correctly (finds that the file is opened for RDWR and sets the
direction properly). Any idea what might be the problem?
thanks,
Muthu.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]