#23176 [Opn->Bgs]: the use of `tmpnam' is dangerous, better use `mkstemp'

From: Date: Sat, 12 Apr 2003 18:17:36 +0000
Subject: #23176 [Opn->Bgs]: the use of `tmpnam' is dangerous, better use `mkstemp'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37602@lists.php.net to get a copy of this message
ID: 23176 Updated by: sniper@php.net Reported By: oli dot brouckaert at i-services dot be -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Linux Red Hat 7.2 PHP Version: 4.3.1 New Comment: Not PHP bug. Previous Comments: ------------------------------------------------------------------------ [2003-04-12 07:19:25] oli dot brouckaert at i-services dot be Hello, when I try to compile php 4.3.0 and 4.3.1 I get this message error : ldl -lnsl -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -o sapi/cli/php /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/build/41512-i386/BUILD/imap-2000c/c-client/auth_ssl.c:153: the use of tmpnam' is dangerous, better use mkstemp' my configuration line is the following : './configure' '--with-apache=../apache_1.3.27' '--with-dbase' '--with-filepro' '--with-xml' '--enable-ftp' '--with-db' '--enable-bcmath' '--enable-calendar' '--with-jpeg-dir' '--with-png-dir' '--with-gd' '--enable-gd-native-ttf' '--with-freetype-dir' '--with-gettext' '--with-pgsql=/usr' '--with-mysql=/usr' '--with-zlib-dir' '--enable-trans-sid' '--with-imap' '--with-kerberos' '--with-imap-ssl' '--with-openssl' '--enable-sysvsem' '--enable-sysvshm' I saw this error has already been reported but the warning stops the compilation, even if I use "make -i" or "make -k". I tried to do "make install" to see if that works, but that doesn't :( Nothing is installed. Notice : I don't have this bug with php 4.2.3 so if you can tell me how to install php4.3.1 ... thanks Olivier ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23176&edit=1

« previous php.bugs (#37602) next »