From:             [EMAIL PROTECTED]
Operating system: Gentoo Linux
PHP version:      4.3.0RC3
PHP Bug Type:     Compile Failure
Bug description:  the use of `tempnam' is dangerous, better use `mkstemp'

[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 bug report at http://bugs.php.net/?id=20992&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20992&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20992&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20992&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20992&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20992&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20992&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20992&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20992&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20992&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20992&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20992&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20992&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20992&r=isapi

Reply via email to