|  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 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.
Bug Type:
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...


Add a Patch

Pull Requests

Add a Pull Request


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

and see if it works right.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 01 20:04:13 2023 UTC