Re: Compile 4.3.2 Errors.
| From: | Philip Olson | Date: | Sat, 31 May 2003 14:22:06 +0000 |
| Subject: | Re: Compile 4.3.2 Errors. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149654@lists.php.net to get a copy of this message | ||
On Sat, 31 May 2003, Alberto Ferrer wrote:
> Im compiling the last vercion of PHP 4.3.2 and says this after finish of
> compile.
> The system is a Redhat 7.3, Apache 1.3.27.
>
> ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
> /root/php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam' is
> dangerous, better use `mkstemp'
And about two lines down from that warning you'll see this:
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
As this build note was added in PHP 4.3.2 because too many bogus
bug reports and support questions were coming up about this
warning. There is also a faq about this warning:
http://www.php.net/manual/en/faq.build.php#faq.build.mysql.tempnam
Regards,
Philip