Files
php/php-5.6-libmagic.patch

11 lines
323 B
Diff

--- ext/fileinfo/libmagic/funcs.c.bak 2019-01-09 10:54:13.000000000 +0100
+++ ext/fileinfo/libmagic/funcs.c 2026-03-03 18:05:18.222386324 +0100
@@ -437,6 +437,7 @@
return ms->o.buf == NULL ? 0 : strlen(ms->o.buf);
}
+protected int
file_replace(struct magic_set *ms, const char *pat, const char *rep)
{
zval *patt;