summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2006-11-07 15:19:11 +0000
committerJohannes Schlüter <johannes@php.net>2006-11-07 15:19:11 +0000
commitc65a1f10cb5c3ea982e6b70ed7416b383ce906ed (patch)
treebbaa76847d73896d31313b5062853344d76edc3a
parent69dbaaacac1712b927975c62df86e4dcf7467c0e (diff)
downloadphp-git-c65a1f10cb5c3ea982e6b70ed7416b383ce906ed.tar.gz
- MFH: No C++ comments (fix #39414)
-rw-r--r--NEWS2
-rwxr-xr-xext/spl/spl_iterators.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4e76b86428..d2ad4f9f9e 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,8 @@ PHP NEWS
php_filter.h).
- Fixed wrong signature initialization in imagepng (Takeshi Abe)
- Added optimization for imageline with horizontal and vertial lines (Pierre)
+- Fixed bug #39414 (Syntax error while compiling with Sun Workshop Complier).
+ (Johannes)
- Fixed bug #39366 (imagerotate does not use alpha with angle > 45°) (Pierre)
- Fixed bug #39362 (Added an option to imap_open/imap_reopen to control the
number of connection retries). (Ilia)
diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c
index e497a9d3d9..97e59d3c74 100755
--- a/ext/spl/spl_iterators.c
+++ b/ext/spl/spl_iterators.c
@@ -1487,7 +1487,7 @@ SPL_METHOD(RegexIterator, setMode)
if (mode < 0 || mode >= REGIT_MODE_MAX) {
zend_throw_exception_ex(spl_ce_InvalidArgumentException, 0 TSRMLS_CC, "Illegal mode %ld", mode);
- return;// NULL
+ return;/* NULL */
}
intern->u.regex.mode = mode;