This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] use mkstemp instead of mktemp.
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Muthukumar Ratty <muthu at iqmail dot net>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 1 Jul 2003 22:17:19 -0400 (EDT)
- Subject: Re: [patch] use mkstemp instead of mktemp.
On Tue, 1 Jul 2003, Muthukumar Ratty wrote:
> /backup/bleed/BINUTILS/src/binutils/bucomm.c:441: the use of `mktemp' is
> dangerous, better use `mkstemp'
>
> Let me know if the following is ok...
No it isn't:
<URL:http://sources.redhat.com/ml/binutils/2003-03/msg00219.html>.
This is turning into a FAQ, though infrequent enough that I
believe people may forget why. Perhaps adding an obvious
comment at the mktemp call site would help.
brgds, H-P