Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 198329 Details for
Bug 278064
php-5.2.10: date('Y') generates 0000 on big endian architectures
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The official patch from php.net
php_date_5.2.10.diff (text/plain), 656 bytes, created by
J.O. Aho
on 2009-07-17 16:08:52 UTC
(
hide
)
Description:
The official patch from php.net
Filename:
MIME Type:
Creator:
J.O. Aho
Created:
2009-07-17 16:08:52 UTC
Size:
656 bytes
patch
obsolete
>--- php/php-src/branches/PHP_5_2/ext/date/php_date.c 2009/06/05 22:34:30 281735 >+++ php/php-src/branches/PHP_5_2/ext/date/php_date.c 2009/06/21 22:19:19 282540 >@@ -798,7 +798,7 @@ > /* year */ > case 'L': length = slprintf(buffer, 32, "%d", timelib_is_leap((int) t->y)); break; > case 'y': length = slprintf(buffer, 32, "%02d", (int) t->y % 100); break; >- case 'Y': length = slprintf(buffer, 32, "%s%04ld", t->y < 0 ? "-" : "", llabs(t->y)); break; >+ case 'Y': length = slprintf(buffer, 32, "%s%04lld", t->y < 0 ? "-" : "", llabs(t->y)); break; > > /* time */ > case 'a': length = slprintf(buffer, 32, "%s", t->h >= 12 ? "pm" : "am"); break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278064
:
198194
| 198329