diff options
author | Christos Zoulas <christos@zoulas.com> | 2015-04-09 20:01:40 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2015-04-09 20:01:40 +0000 |
commit | 9190a18d09f25fb0ca6abe1fcbdba780f5077e45 (patch) | |
tree | 6d3bd2c37b2388470b0795f8d620e4f57ba257ba /src/readcdf.c | |
parent | de4eb3d2f0f5bb135e45120075ab5e97b3d011ff (diff) | |
download | file-git-9190a18d09f25fb0ca6abe1fcbdba780f5077e45.tar.gz |
Add --extension
Diffstat (limited to 'src/readcdf.c')
-rw-r--r-- | src/readcdf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/readcdf.c b/src/readcdf.c index 77351b8c..fc8ff926 100644 --- a/src/readcdf.c +++ b/src/readcdf.c @@ -26,7 +26,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: readcdf.c,v 1.51 2015/01/11 16:58:25 christos Exp $") +FILE_RCSID("@(#)$File: readcdf.c,v 1.52 2015/02/27 21:16:38 christos Exp $") #endif #include <assert.h> @@ -454,7 +454,7 @@ file_trycdf(struct magic_set *ms, int fd, const unsigned char *buf, info.i_fd = fd; info.i_buf = buf; info.i_len = nbytes; - if (ms->flags & MAGIC_APPLE) + if (ms->flags & (MAGIC_APPLE|MAGIC_EXTENSION)) return 0; if (cdf_read_header(&info, &h) == -1) return 0; |