Re: 4.3 RC1 - mysql compile warning
| From: | Derick Rethans | Date: | Thu, 21 Nov 2002 06:31:17 +0000 |
| Subject: | Re: 4.3 RC1 - mysql compile warning | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-6926@lists.php.net to get a copy of this message | ||
On Wed, 20 Nov 2002, Brad Bulger wrote:
> compile warning:
>
> ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
> /usr/local/src/php-4.3.0RC1/ext/mysql/libmysql/my_tempnam.c(.text+0x5e): warning
> : tempnam() possibly used unsafely; consider using mkstemp()
>
> this has been reported a bunch of times, with the usual useful responses:
> marking the bug as BOGUS (such a lovely term, btw, really encourages
> people to take the trouble to make bug reports in the future...),
> saying "it's just a warning! ignore it!", etc.
>
> is there a particular reason for ignoring this warning and using tempnam()?
The MySQL guys implemented it in a safe way, so it's really not a
problem. Just ignore it :)
Derick
--
---------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-