php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #291 problem compiling snprintf.c
Submitted: 1998-04-21 10:34 UTC Modified: 1998-05-01 10:01 UTC
From: auke at snt dot utwente dot nl Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0 Release Candidate 4 OS: HPUX10
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: auke at snt dot utwente dot nl
New email:
PHP Version: OS:

 

 [1998-04-21 10:34 UTC] auke at snt dot utwente dot nl
HPUX10 doesn't have a vsnprintf, so it would be nice if snprintf.c
actually compiled. But the HPUX C compiler complains that 
snprintf.c is an "empty source file". After deleting the line
#if (!APACHE)
the file compiled fine, and so did PHP...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-01 10:01 UTC] zeev
Should be fixed now.
Try changing the line
#if (!APACHE)
to
#if !defined(APACHE) || (!APACHE)

and see if it works right.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 09:01:28 2025 UTC