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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC