From: orchard at engr dot wisc dot edu
Operating system: Solaris 9
PHP version: 5.2.6
PHP Bug Type: Compile Failure
Bug description: ext/date/php_date has comments starting with //
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 bug report at http://bugs.php.net/?id=44975&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=44975&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=44975&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=44975&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44975&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=44975&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44975&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44975&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44975&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44975&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44975&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=44975&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=44975&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44975&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44975&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44975&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44975&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44975&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44975&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44975&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44975&r=mysqlcfg