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
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:
20 - 8 = ?
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...

Patches

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC