#21290 [Opn->Bgs]: compile failes due to use of 'tempnam' instead of 'mkstemp'

From: Date: Mon, 30 Dec 2002 13:57:51 +0000
Subject: #21290 [Opn->Bgs]: compile failes due to use of 'tempnam' instead of 'mkstemp'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28750@lists.php.net to get a copy of this message
ID: 21290 Updated by: derick@php.net Reported By: jullrich@euclidian.com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Linux 2.4.18 (Redhat 7.3) PHP Version: 4.3.0 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. 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 Previous Comments: ------------------------------------------------------------------------ [2002-12-30 07:56:32] jullrich@euclidian.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 (#28750) next »