projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
617f38b
)
add missing RETURN_STRINGL_CHECK
author
Anatol Belski
<ab@php.net>
Sun, 6 Nov 2016 16:51:25 +0000
(17:51 +0100)
committer
Anatol Belski
<ab@php.net>
Sun, 6 Nov 2016 16:51:25 +0000
(17:51 +0100)
As RETVAL_STRINGL_CHECK is already there, this one is needed for
completion. One place in ext/bz2 is missing that, so it will likely
be useful for other possible fixes.
Zend/zend_API.h
patch
|
blob
|
history
diff --git
a/Zend/zend_API.h
b/Zend/zend_API.h
index dadeaf58492e0a80510e0bf7f7ecaf5236503973..41aa65f25b0f7600ddd17baf1f5024f1685b0a64 100644
(file)
--- a/
Zend/zend_API.h
+++ b/
Zend/zend_API.h
@@
-667,6
+667,7
@@
END_EXTERN_C()
} \
RETVAL_STRINGL((s), (int)__len, (dup)); \
} while (0)
+#define RETURN_STRINGL_CHECK(s, len, dup) { RETVAL_STRINGL_CHECK(s, len, dup); return; }
#define SET_VAR_STRING(n, v) { \