#20992 [Opn->Bgs]: the use of `tempnam' is dangerous, better use `mkstemp'
| From: | derick@php.net | Date: | Fri, 13 Dec 2002 17:56:32 +0000 |
| Subject: | #20992 [Opn->Bgs]: the use of `tempnam' is dangerous, better use `mkstemp' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27635@lists.php.net to get a copy of this message | ||
ID: 20992
Updated by: derick@php.net
Reported By: darnold@eeinternet.com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Gentoo Linux
PHP Version: 4.3.0RC3
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-12-13 11:53:52] darnold@eeinternet.com
[Processor: Intel PII 450Mhz]
Php4.3.0RC3 configured just fine with the following config string:
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-gd
--with-png-dir=/usr/local --with-zlib-dir=/usr/local --with-mysql
When I did 'make', however, It exited out with the following text:
-lcrypt -lresolv -lm -ldl -lnsl -lcrypt -o sapi/cli/php
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/local/src/php-4.3.0RC3/ext/mysql/libmysql/my_tempnam.c:103: the
use of
tempnam' is dangerous, better use mkstemp'
The version of mysql I am using is mysql-3.23.49.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20992&edit=1