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]

Re: [PATCH] basename buffer gets spammed in `ld'



Have you tried replacing basename() with libiberty's new lbasename()?
lbasename() always returns a pointer to the string you give it, which
shouldn't be clobbered unless someone renames a bfd.

If that works, it would be a preferrable solution.


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