diff options
author | Reeze Xia <reeze@php.net> | 2015-02-10 20:48:58 +0800 |
---|---|---|
committer | Reeze Xia <reeze@php.net> | 2015-02-10 20:48:58 +0800 |
commit | 2b396a8092868df3d0258ade84ab5cfd9cfa6915 (patch) | |
tree | 210b06802872e17c14daebb5c7a7a781f64046a0 | |
parent | 1eb4352143e42784a59b55e0e531a8faecc0033d (diff) | |
download | php-git-2b396a8092868df3d0258ade84ab5cfd9cfa6915.tar.gz |
Update libmagic.patch to reflect changes made
-rw-r--r-- | ext/fileinfo/libmagic.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fileinfo/libmagic.patch b/ext/fileinfo/libmagic.patch index e1f2aa52fb..ac407e5dce 100644 --- a/ext/fileinfo/libmagic.patch +++ b/ext/fileinfo/libmagic.patch @@ -2192,7 +2192,7 @@ diff -u libmagic.orig/funcs.c libmagic/funcs.c + zval_ptr_dtor(&patt); + + ZVAL_STRING(&repl, rep); -+ res = php_pcre_replace_impl(pce, ms->o.buf, strlen(ms->o.buf), &repl, 0, -1, &rep_cnt); ++ res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), &repl, 0, -1, &rep_cnt); + + zval_ptr_dtor(&repl); + if (NULL == res) { |