|  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
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:
Solve the problem:
45 + 24 = ?
Subscribe to this entry?

 [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