Re: 4.3 RC1 - mysql compile warning

From: Date: Wed, 20 Nov 2002 23:29:49 +0000
Subject: Re: 4.3 RC1 - mysql compile warning
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-6922@lists.php.net to get a copy of this message
On November 20, 2002 05:37 pm, 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()? A number of reasons: 1) It is an advisory warning and not an error/warning that prevent successful compilation/operation of MySQL extension. 2) The warning is located inside the bundled mysql library, so this is not something for us to fix. When the MySQL folks decide to address this issue in their next MySQL release then we can resync our libraries and solve the problem. So, you really should be complaining to them and not us. Ilia

« previous php.qa (#6922) next »