1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 15:38:49 +02:00

fix ZTS build

This commit is contained in:
Antony Dovgal
2008-08-29 10:10:56 +00:00
parent f6b3447c34
commit 2fbc38c67e
+2
View File
@@ -288,6 +288,7 @@ check_fmt(struct magic_set *ms, struct magic *m)
pcre *pce;
int re_options;
pcre_extra *re_extra;
TSRMLS_FETCH();
if (strchr(MAGIC_DESC, '%') == NULL) {
return 0;
@@ -1704,6 +1705,7 @@ magiccheck(struct magic_set *ms, struct magic *m)
zval *pattern;
int options = 0;
pcre_cache_entry *pce;
TSRMLS_FETCH();
MAKE_STD_ZVAL(pattern);
Z_STRVAL_P(pattern) = (char *)m->value.s;