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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 - 5 = ?
Subscribe to this entry?

 
 [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: Tue Mar 19 05:01:29 2024 UTC