php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31232 zend_strtod.c, unsigned 32 int def fails
Submitted: 2004-12-21 18:25 UTC Modified: 2005-02-17 05:49 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: aaron dot bailey at hp dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.0.3 OS: hp-ux 11.11
Private report: No CVE-ID: None
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:
17 - 3 = ?
Subscribe to this entry?

 
 [2004-12-21 18:25 UTC] aaron dot bailey at hp dot com
Description:
------------
zend_strtod.c fails compile due to:

#define ULong  u_int32_t

sys/types.h on hp-ux defines as uint32_t

Easy Fix (Line 130):

#if defined(__sparc__) || defined (__ppc__) || defined (__hppa__)
#define u_int32_t uint32_t
#endif 

Expected result:
----------------
#if defined(__sparc__) || defined (__ppc__) || defined (__hppa__)
#define u_int32_t uint32_t
#endif 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-17 05:49 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC