From b989861d843b5bac1b1c4a08c57ce045fd5f7a95 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Wed, 20 Jan 2010 01:36:55 +0000 Subject: [PATCH] Report application/x-rpt for Crystal Reports files; from http://filext.com/file-extension/RPC --- src/readcdf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/readcdf.c b/src/readcdf.c index 60915c96..312d7c32 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.20 2009/07/15 15:17:44 christos Exp $") +FILE_RCSID("@(#)$File: readcdf.c,v 1.21 2009/09/13 23:23:31 christos Exp $") #endif #include @@ -106,6 +106,9 @@ cdf_file_property_info(struct magic_set *ms, const cdf_property_info_t *info, str = "vnd.ms-excel"; else if (strstr(vbuf, "Powerpoint")) str = "vnd.ms-powerpoint"; + else if (strstr(vbuf, + "Crystal Reports")) + str = "x-rpt"; } } break; -- 2.50.0