Skip to content

Commit c06f665

Browse files
committed
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: removed dead code Conflicts: ext/fileinfo/libmagic/readelf.c ext/fileinfo/libmagic/readelf.h
2 parents fe46966 + b644dcf commit c06f665

File tree

5 files changed

+2
-1645
lines changed

5 files changed

+2
-1645
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
AC_MSG_CHECKING([for strcasestr])
1717
AC_TRY_RUN([

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)