bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binutils: [source build] warning: the use of `mktemp' is dangerous,


From: Jari Aalto
Subject: Re: binutils: [source build] warning: the use of `mktemp' is dangerous, better use `mkstemp'
Date: Fri, 07 Jul 2006 18:56:32 +0300

reopen 288001
thanks

| tag 288001 upstream wontfix
| thanks
| 
| On Fri, Dec 31, 2004, Jari wrote:
| > Compiling from source gives following warnings that could be corrected.
| >
| > bucomm.o(.text+0xa99): In function `make_tempname':
| > /tmp/bucomm.c:425: warning: the use of `mktemp' is dangerous, better us| e 
`mkstemp'
| 
| This won't be fixed, please see the reason in
| ,
| .
| 
| Tagging wontfix as "This is turning into a FAQ"...

Thank you for the links, 

If mkstemp wasn't the right suggestion, the code would
better use proper function for directories:

   mkdtemp

See

   http://sourceware.org/ml/binutils/2003-07/msg00014.html

Jari




reply via email to

[Prev in Thread] Current Thread [Next in Thread]