Revision: 68
http://extractor-gtk.svn.sourceforge.net/extractor-gtk/?rev=68&view=rev
Author: someone-guy
Date: 2008-03-05 12:28:46 -0800 (Wed, 05 Mar 2008)
Log Message:
-----------
Detect MSI files (no length detection yet, no idea how this could be done).
Modified Paths:
--------------
trunk/extractor/generic.c
Modified: trunk/extractor/generic.c
===================================================================
--- trunk/extractor/generic.c 2008-03-05 20:28:38 UTC (rev 67)
+++ trunk/extractor/generic.c 2008-03-05 20:28:46 UTC (rev 68)
@@ -51,6 +51,11 @@
int i;
t = t << 8 | fgetc(in);
switch (t) {
+ case HUGETAG(0xd0, 0xcf, 0x11, 0xe0, 0xa1, 0xb1, 0x1a, 0xe1):
+ add_entry(&list, cnt, "msi");
+ list[cnt].start = ftell(in) - 8;
+ cnt++;
+ break;
case HUGETAG(0x89, 'P', 'N', 'G', 0x0d, 0x0a, 0x1a, 0x0a):
if (pngidx >= 0 && list[pngidx].len == 0)
list[pngidx].len = ftell(in) - list[pngidx].start - 8;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|