]> granicus.if.org Git - file/commitdiff
Report application/x-rpt for Crystal Reports files; from
authorChristos Zoulas <christos@zoulas.com>
Wed, 20 Jan 2010 01:36:55 +0000 (01:36 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 20 Jan 2010 01:36:55 +0000 (01:36 +0000)
http://filext.com/file-extension/RPC

src/readcdf.c

index 60915c9646ee1424aa9a40b3c886c709168a0cfd..312d7c3239794f2a29220cc85a09709e3f7e8707 100644 (file)
@@ -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 <stdlib.h>
@@ -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;