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]
Other format: [Raw text]

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


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