svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/date/php_date.c branches/PHP_5_3/NEWS branches/PHP_5_3/ext/date/php_date.c
trunk/ext/date/php_date.c
| From: | Sriram Natarajan | Date: | Tue, 08 Jun 2010 21:23:48 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/date/php_date.c branches/PHP_5_3/NEWS branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-62849@lists.php.net to get a copy of this message | ||
srinatar Tue, 08 Jun 2010 21:23:48 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300294
Log:
- Fixed Bug #51168 (fails to compile with Sun Studio)
# C99 standard supports inline keyword and supported by
# by major compilers like GCC, HP C, IBM C and Sun C
Bug: http://bugs.php.net/51168 (Bogus) Userland Cyclic
Reference with Nested DateTime are not garbage collected
Changed paths:
U php/php-src/branches/PHP_5_2/NEWS
U php/php-src/branches/PHP_5_2/ext/date/php_date.c
U php/php-src/branches/PHP_5_3/NEWS
U php/php-src/branches/PHP_5_3/ext/date/php_date.c
U php/php-src/trunk/ext/date/php_date.c
Modified: php/php-src/branches/PHP_5_2/NEWS
===================================================================
--- php/php-src/branches/PHP_5_2/NEWS 2010-06-08 21:03:34 UTC (rev 300293)
+++ php/php-src/branches/PHP_5_2/NEWS 2010-06-08 21:23:48 UTC (rev 300294)
@@ -58,6 +58,8 @@
includes '-'). (Adam, solar at azrael dot ws).
- Fixed bug #51190 (ftp_put() returns false when transfer was successful).
(Ilia)
+- Fixed bug #51183 (ext/date/php_date.c fails to compile with Sun Studio).
+ (Sriram Natarajan)
- Fixed bug #51171 (curl_setopt() doesn't output any errors or warnings when
an invalid option is provided). (Ilia)
- Fixed bug #51128 (imagefill() doesn't work with large images). (Pierre)
Modified: php/php-src/branches/PHP_5_2/ext/date/php_date.c
===================================================================
--- php/php-src/branches/PHP_5_2/ext/date/php_date.c 2010-06-08 21:03:34 UTC (rev 300293)
+++ php/php-src/branches/PHP_5_2/ext/date/php_date.c 2010-06-08 21:23:48 UTC (rev 300294)
@@ -35,7 +35,7 @@
#elif defined(__GNUC__) && __GNUC__ < 3
static __inline __int64_t php_date_llabs( __int64_t i ) { return i >= 0 ? i : -i; }
#else
-static __inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
+static inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
#endif
/* {{{ arginfo */
Modified: php/php-src/branches/PHP_5_3/NEWS
===================================================================
--- php/php-src/branches/PHP_5_3/NEWS 2010-06-08 21:03:34 UTC (rev 300293)
+++ php/php-src/branches/PHP_5_3/NEWS 2010-06-08 21:23:48 UTC (rev 300294)
@@ -144,6 +144,8 @@
alexr at oplot dot com)
- Fixed bug #51190 (ftp_put() returns false when transfer was successful).
(Ilia)
+- Fixed bug #51183 (ext/date/php_date.c fails to compile with Sun Studio).
+ (Sriram Natarajan)
- Fixed bug #51176 (Static calling in non-static method behaves like $this->).
(Felipe)
- Fixed bug #51171 (curl_setopt() doesn't output any errors or warnings when
Modified: php/php-src/branches/PHP_5_3/ext/date/php_date.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/date/php_date.c 2010-06-08 21:03:34 UTC (rev 300293)
+++ php/php-src/branches/PHP_5_3/ext/date/php_date.c 2010-06-08 21:23:48 UTC (rev 300294)
@@ -36,7 +36,7 @@
#elif defined(__GNUC__) && __GNUC__ < 3
static __inline __int64_t php_date_llabs( __int64_t i ) { return i >= 0 ? i : -i; }
#else
-static __inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
+static inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
#endif
/* {{{ arginfo */
Modified: php/php-src/trunk/ext/date/php_date.c
===================================================================
--- php/php-src/trunk/ext/date/php_date.c 2010-06-08 21:03:34 UTC (rev 300293)
+++ php/php-src/trunk/ext/date/php_date.c 2010-06-08 21:23:48 UTC (rev 300294)
@@ -36,7 +36,7 @@
#elif defined(__GNUC__) && __GNUC__ < 3
static __inline __int64_t php_date_llabs( __int64_t i ) { return i >= 0 ? i : -i; }
#else
-static __inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
+static inline long long php_date_llabs( long long i ) { return i >= 0 ? i : -i; }
#endif
/* {{{ arginfo */