php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21175 Compile error with my_tempnam.c
Submitted: 2002-12-24 22:32 UTC Modified: 2002-12-25 00:56 UTC
From: toml at intercave dot net dot au Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.0RC4 OS: Debian linux 3.0 / linux 2.4.19
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: toml at intercave dot net dot au
New email:
PHP Version: OS:

 

 [2002-12-24 22:32 UTC] toml at intercave dot net dot au
Compiling php 4.3.0rc4 on my linux box failed with:

ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/src/php-4.3.0RC4/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'

the configure line was ./configure --with-apxs=/usr/local/apache2/bin/apxs

Thanks
Tom Lanyon

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-25 00:46 UTC] rasmus@php.net
That's not a compile error.  That's just a warning.
 [2002-12-25 00:48 UTC] toml at intercave dot net dot au
Ah, can I tell it to continue and ignore the error? because it stops at that line.
 [2002-12-25 00:56 UTC] rasmus@php.net
Most likely because it is done at that point.
 [2002-12-28 16:18 UTC] robert at example dot org
But I get this error too, and while it says it is a warning, it does actually cause 'make' to quit at that point, unfinished.

Why is this always marked bogus? Can't somebody at least mention a fix or investigate further instead of just unhelpful comments, since so many people have been reporting it?
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Sep 01 21:00:02 2025 UTC