php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20563 GCC 2.96 warning
Submitted: 2002-11-22 01:30 UTC Modified: 2002-12-23 08:47 UTC
From: alkaros at hotpop dot com Assigned:
Status: Not a bug Package: Compile Warning
PHP Version: 4.3.0RC1 OS: Linux RH7.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alkaros at hotpop dot com
New email:
PHP Version: OS:

 

 [2002-11-22 01:30 UTC] alkaros at hotpop dot com
/usr/src/build/90147-i386/BUILD/imap-2001a/c-client/osdep.c:286: the use of `tmpnam' is dangerous, better use `mkstemp'
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/local/src/php-4.3.0pre1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-22 01:34 UTC] tal@php.net
This is well known and doesn't cause any problem, so we aren't going to fix this, for the meanwhile.

tal
 [2002-12-23 08:43 UTC] info at giuseppetanzilli dot it
unfortunatelly, on RedHat Linux 8 it do not compile.
make stop with this error:

ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/local/src/php-4.3.0RC4/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
 [2002-12-23 08:47 UTC] derick@php.net
No, it's just a warning at the very end of the process during linking. You will see that PHP has been compiled just fine.

Derick
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jan 19 09:01:23 2021 UTC