[PATCH] basename buffer gets spammed in `ld'
DJ Delorie
dj@delorie.com
Thu Jul 12 11:49:00 GMT 2001
> 2001-07-11 David O'Brien <obrien@FreeBSD.org>
>
> * emultempl/elf32.em: Make all basename calls safe by using
> lbasename() with non-changing buffers.
Make sure the branch has lbasename in libiberty, else OK (unless Phil
B disagrees, of course ;).
> - filename = xstrdup (basename (entry->filename));
> + filename = lbasename (entry->filename);
Are you sure the xstrdup is no longer needed with lbasename?
More information about the Binutils
mailing list