projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
asintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the Solaris
[binutils-gdb.git]
/
gdb
/
solib.c
diff --git
a/gdb/solib.c
b/gdb/solib.c
index dd885a92ed43c9928f621180eaa5cce648ba9689..19e7ff7e561d983197a176e372c3092c1836e465 100644
(file)
--- a/
gdb/solib.c
+++ b/
gdb/solib.c
@@
-277,7
+277,7
@@
solib_map_sections (void *arg)
}
/* Leave scratch_pathname allocated. abfd->name will point to it. */
- abfd = bfd_f
dopenr (scratch_pathname, gnutarget
, scratch_chan);
+ abfd = bfd_f
open (scratch_pathname, gnutarget, FOPEN_RB
, scratch_chan);
if (!abfd)
{
close (scratch_chan);