-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
date module, replacing abs call with the llabs's like one due to bigg…
…er type
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c189845
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reverted this, as it broke ext/date/tests/bug66985.phpt on 32-bit platforms.
c189845
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@derickr So what did this break?
Why are we defining certain things like this?
Why don't we do this since
int64_t
is already defined byphp_stdint.h
?:I suspect all this re-detection of sizes of things is part of the issue. As far as I can tell the
utc_offset
is supposed to be anint64_t
andphp_date_llabs
is designed to work with those. This change should have been more correct. So what broke?c189845
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From c189845
c189845
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.