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
 [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 May 10 23:01:30 2024 UTC