Skip to content

Commit b644dcf

Browse files
committed
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: removed dead code
2 parents 244fc1e + 919abf0 commit b644dcf

File tree

5 files changed

+2
-1544
lines changed

5 files changed

+2
-1544
lines changed

ext/fileinfo/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if test "$PHP_FILEINFO" != "no"; then
1111
libmagic/cdf.c libmagic/cdf_time.c libmagic/compress.c \
1212
libmagic/encoding.c libmagic/fsmagic.c libmagic/funcs.c \
1313
libmagic/is_tar.c libmagic/magic.c libmagic/print.c \
14-
libmagic/readcdf.c libmagic/readelf.c libmagic/softmagic.c"
14+
libmagic/readcdf.c libmagic/softmagic.c"
1515

1616
PHP_NEW_EXTENSION(fileinfo, fileinfo.c $libmagic_sources, $ext_shared,,-I@ext_srcdir@/libmagic)
1717
PHP_ADD_BUILD_DIR($ext_builddir/libmagic)

ext/fileinfo/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (PHP_FILEINFO != 'no') {
88
cdf.c cdf_time.c compress.c \
99
encoding.c fsmagic.c funcs.c \
1010
is_tar.c magic.c print.c \
11-
readcdf.c readelf.c softmagic.c";
11+
readcdf.c softmagic.c";
1212

1313
if (VCVERS < 1500) {
1414
ADD_FLAG('CFLAGS', '/Zm1000');

ext/fileinfo/libmagic/file.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,6 @@ protected int file_pipe2file(struct magic_set *, int, const void *, size_t);
420420
protected int file_replace(struct magic_set *, const char *, const char *);
421421
protected int file_printf(struct magic_set *, const char *, ...);
422422
protected int file_reset(struct magic_set *);
423-
protected int file_tryelf(struct magic_set *, int, const unsigned char *,
424-
size_t);
425423
protected int file_trycdf(struct magic_set *, int, const unsigned char *,
426424
size_t);
427425
#ifdef PHP_FILEINFO_UNCOMPRESS

0 commit comments

Comments
 (0)