|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-26 13:13 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 20:00:02 2026 UTC |
The file ext/standard/datetime.c contains wrong line-breaks starting at line 597 and ending on line 600: if (NULL == (ta = php_localtime_r(×tamp, &tmbuf))) {^M php_error(E_WARNING, "%s(): invalid local time",^M get_active_function_name(TSRMLS_C));^M RETURN_FALSE;^M On my Irix-system with SGI cc this leads to the following errors when compiling: >>>>>>>>>>>>>>>>>>>>> "datetime.c", line 600: error(1029): expected an expression RETURN_FALSE; ^ "datetime.c", line 601: error(1065): expected a ";" } ^ "datetime.c", line 768: warning(1110): statement is unreachable break; ^ 8 errors detected in the compilation of "datetime.c". *** Error code 2 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) <<<<<<<<<<<<<<<<<<<<< Simply removing the "^M" at the end of these four lines resolves the problem.