1 diff -urNp php-5.4.17.orig/ext/fileinfo/libmagic/print.c php-5.4.17/ext/fileinfo/libmagic/print.c
2 --- php-5.4.17.orig/ext/fileinfo/libmagic/print.c 2013-07-03 06:10:53.000000000 +0000
3 +++ php-5.4.17/ext/fileinfo/libmagic/print.c 2013-07-18 14:37:33.000000000 +0000
6 * print.c - debugging printout routines
12 diff -urNp php-5.4.17.orig/ext/fileinfo/libmagic/softmagic.c php-5.4.17/ext/fileinfo/libmagic/softmagic.c
13 --- php-5.4.17.orig/ext/fileinfo/libmagic/softmagic.c 2013-07-03 06:10:53.000000000 +0000
14 +++ php-5.4.17/ext/fileinfo/libmagic/softmagic.c 2013-07-18 14:37:33.000000000 +0000
15 @@ -1630,7 +1630,7 @@ mget(struct magic_set *ms, const unsigne
16 /* Verify we have enough data to match magic type */
19 - if (nbytes < (offset + 1)) /* should alway be true */
20 + if (nbytes < (offset + 1)) /* should always be true */
24 diff -urNp php-5.4.17.orig/ext/fileinfo/php_fileinfo.h php-5.4.17/ext/fileinfo/php_fileinfo.h
25 --- php-5.4.17.orig/ext/fileinfo/php_fileinfo.h 2013-07-03 06:10:53.000000000 +0000
26 +++ php-5.4.17/ext/fileinfo/php_fileinfo.h 2013-07-18 14:37:33.000000000 +0000
28 extern zend_module_entry fileinfo_module_entry;
29 #define phpext_fileinfo_ptr &fileinfo_module_entry
31 -#define PHP_FILEINFO_VERSION "1.0.5"
32 +#define PHP_FILEINFO_VERSION "1.0.5-dev"
35 #define PHP_FILEINFO_API __declspec(dllexport)
36 diff -urNp php-5.4.17.orig/ext/fileinfo/tests/magic php-5.4.17/ext/fileinfo/tests/magic
37 --- php-5.4.17.orig/ext/fileinfo/tests/magic 2013-07-03 06:10:53.000000000 +0000
38 +++ php-5.4.17/ext/fileinfo/tests/magic 2013-07-18 14:37:33.000000000 +0000
40 >>>0x44 string =GLOB \b.
41 >>>>0x60 beshort x \b%.4d
43 -# Scripts that run in the embeded Python interpreter
44 +# Scripts that run in the embedded Python interpreter
45 0 string #!BPY Blender3D BPython script
47 #------------------------------------------------------------------------------