php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #56486 time_t "bug" with SDO
Submitted: 2005-08-10 14:43 UTC Modified: 2006-10-30 06:23 UTC
From: arnar at 8 dot is Assigned: cem (profile)
Status: Closed Package: SCA_SDO (PECL)
PHP Version: 5_1 CVS-2005-08-10 (dev) OS: FreeBSD, Mac OSX
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:
29 + 1 = ?
Subscribe to this entry?

 
 [2005-08-10 14:43 UTC] arnar at 8 dot is
Description:
------------
In SDO_List.cpp your typecasting a time_t as a long to the append function in DataObjectList, witch takes in long int. The problem is that time_t is not defined as long on all platforms, and long int DOES not have to be 32bit int like time_t is. long int can be 64bit.

DataObjectList should have a insert and append function that takes in time_t to allow better portability to platforms other then Linux and windows.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-11 05:47 UTC] cem@php.net
Sure, that was just a workaround. The real fix is coming.
 [2005-08-11 16:21 UTC] cem@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 19:01:33 2024 UTC