#21290 [Com]: compile failes due to use of 'tempnam' instead of 'mkstemp'

From: Date: Mon, 05 May 2003 11:47:50 +0000
Subject: #21290 [Com]: compile failes due to use of 'tempnam' instead of 'mkstemp'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39068@lists.php.net to get a copy of this message
ID: 21290 Comment by: zsombor dot zsuffa at aliat dot ro Reported By: jullrich at euclidian dot com Status: Bogus Bug Type: Compile Failure Operating System: Linux 2.4.18 (Redhat 7.3) PHP Version: 4.3.0 New Comment: Same error occurs on RedHat 9, with the glibc updates from Redhat. I have glibc 2.3.2-27.9 Previous Comments: ------------------------------------------------------------------------ [2002-12-30 08:28:12] jullrich at euclidian dot com thanks! (didn't find the earlier submission .. I did check :-( ). ------------------------------------------------------------------------ [2002-12-30 07:57:50] derick@php.net 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. This is NOT and error and just a warning, it's simply the last line in the "make" stage so it _seems_ it aborts. Derick ------------------------------------------------------------------------ [2002-12-30 07:56:32] jullrich at euclidian dot com The compile is aborted with the following error message: ----- /usr/local/src/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of tempnam' is dangerous, better use mkstemp' ----- to reproduce: make clean './configure' \ '--sysconfdir=/etc/php' \ '--with-openssl' \ '--with-curl=../curl-7.10.2' \ '--with-mysql' \ '--with-gd--with-ttf=../freetype-1.3.1--enable-trans-sid' \ '--enable-sockets' \ '--enable-wddx' \ '--enable-memory-limit' \ '--with-jpeg-dir' \ '--with-xmlrpc' \ '--with-apxs=/usr/local/apache/bin/apxs' \ make ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21290&edit=1

« previous php.bugs (#39068) next »