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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: aaron dot bailey at hp dot com
New email:
PHP Version: OS:

 

 [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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 21:01:35 2025 UTC