src/archiver_hog.c
changeset 1115 bc7257f4f8da
parent 1113 2136d64bd1ad
child 1118 2e09fc635fdd
--- a/src/archiver_hog.c	Tue Aug 24 14:17:07 2010 -0400
+++ b/src/archiver_hog.c	Wed Aug 25 01:28:28 2010 -0400
@@ -55,7 +55,6 @@
 typedef struct
 {
     char *filename;
-    PHYSFS_sint64 last_mod_time;
     PHYSFS_uint32 entryCount;
     HOGentry *entries;
 } HOGinfo;
@@ -288,7 +287,6 @@
 
 static void *HOG_openArchive(const char *name, int forWriting)
 {
-    PHYSFS_sint64 modtime = __PHYSFS_platformGetLastModTime(name);
     HOGinfo *info = (HOGinfo *) allocator.Malloc(sizeof (HOGinfo));
 
     BAIL_IF_MACRO(info == NULL, ERR_OUT_OF_MEMORY, NULL);
@@ -300,7 +298,6 @@
         goto HOG_openArchive_failed;
 
     strcpy(info->filename, name);
-    info->last_mod_time = modtime;
 
     return info;
 
@@ -452,8 +449,8 @@
 
     stat->filesize = entry->size;
     stat->filetype = PHYSFS_FILETYPE_REGULAR;
-    stat->modtime = info->last_mod_time;
-    stat->createtime = info->last_mod_time;
+    stat->modtime = -1;
+    stat->createtime = -1;
     stat->accesstime = -1;
     stat->readonly = 1;