src/archiver_dir.c
changeset 1053 a277a93ac1aa
parent 1052 f87b0b7cca8e
child 1054 57f4af811ffb
--- a/src/archiver_dir.c	Sun Feb 14 23:07:19 2010 -0500
+++ b/src/archiver_dir.c	Mon Feb 15 09:19:38 2010 -0500
@@ -169,20 +169,6 @@
 } /* DIR_getLastModTime */
 
 
-static int DIR_stat(dvoid *opaque, const char *name, PHYSFS_Stat *st)
-{
-    char *d = __PHYSFS_platformCvtToDependent((char *)opaque, name, NULL);
-    int retval = -1;
-
-    BAIL_IF_MACRO(d == NULL, NULL, -1);
-
-    retval = __PHYSFS_platformStat(d, st);
-
-    allocator.Free(d);
-    return(retval);
-} /* DIR_stat */
-
-
 static fvoid *doOpen(dvoid *opaque, const char *name,
                      void *(*openFunc)(const char *filename),
                      int *fileExists)
@@ -275,7 +261,6 @@
     DIR_openArchive,        /* openArchive() method    */
     DIR_enumerateFiles,     /* enumerateFiles() method */
     DIR_exists,             /* exists() method         */
-    DIR_stat,               /* stat() method           */
     DIR_isDirectory,        /* isDirectory() method    */
     DIR_isSymLink,          /* isSymLink() method      */
     DIR_getLastModTime,     /* getLastModTime() method */