ID: 44975
Updated by: [EMAIL PROTECTED]
Reported By: orchard at engr dot wisc dot edu
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: Solaris 9
PHP Version: 5.2.6
-Assigned To:
+Assigned To: derick
New Comment:
Already noticed it, but hadn't patched it.
Previous Comments:
------------------------------------------------------------------------
[2008-05-12 20:39:51] orchard at engr dot wisc dot edu
Description:
------------
ext/date/php_date.c has comments starting with // rather than enclosed
in /* and */ The Sun WS6 compiler does no accept such comments.
[tiger] 149% diff -c php_date.c.orig php_date.c
*** php_date.c.orig Wed Apr 16 12:21:46 2008
--- php_date.c Mon May 12 15:08:17 2008
***************
*** 269,277 ****
int initialized;
int type;
union {
! timelib_tzinfo *tz; // TIMELIB_ZONETYPE_ID;
! timelib_sll utc_offset; // TIMELIB_ZONETYPE_OFFSET
! struct // TIMELIB_ZONETYPE_ABBR
{
timelib_sll utc_offset;
char *abbr;
--- 269,277 ----
int initialized;
int type;
union {
! timelib_tzinfo *tz; /* TIMELIB_ZONETYPE_ID; */
! timelib_sll utc_offset; /* TIMELIB_ZONETYPE_OFFSET
*/
! struct /* TIMELIB_ZONETYPE_ABBR
*/
{
timelib_sll utc_offset;
char *abbr;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44975&edit=1