"Fix" strip test failure
Andreas Jaeger
aj@suse.de
Mon Apr 30 22:33:00 GMT 2001
amodra@one.net.au writes:
> On Mon, Apr 30, 2001 at 10:46:18PM +0200, Andreas Jaeger wrote:
> >
> > bucomm.o: In function `make_tempname':
> > /cvs/binutils-gdb-ln/binutils/bucomm.c:246: the use of `mktemp' is dangerous, better use `mkstemp'
>
> Why don't we just heed the glibc warning, and use mkstemp if it's available?
That's the solution I tried first but I noticed that I don't know
enough about bfd to do it cleanly.
mkstemp opens the file also - and in bucomm we don't want an open
file. If we would use mkstemp, we would need to change libbfd.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Binutils
mailing list