src/archiver_dir.c
changeset 1324 d12c1c033a7d
parent 1322 5476917b8ddf
child 1326 ac0fac4fe6d6
--- a/src/archiver_dir.c	Thu Nov 29 11:45:01 2012 -0500
+++ b/src/archiver_dir.c	Thu Nov 29 11:47:16 2012 -0500
@@ -67,7 +67,7 @@
 
 
 static void DIR_enumerateFiles(void *opaque, const char *dname,
-                               int omitSymLinks, PHYSFS_EnumFilesCallback cb,
+                               PHYSFS_EnumFilesCallback cb,
                                const char *origdir, void *callbackdata)
 {
     char *d;
@@ -75,8 +75,7 @@
     CVT_TO_DEPENDENT(d, opaque, dname);
     if (d != NULL)
     {
-        __PHYSFS_platformEnumerateFiles(d, omitSymLinks, cb,
-                                        origdir, callbackdata);
+        __PHYSFS_platformEnumerateFiles(d, cb, origdir, callbackdata);
         __PHYSFS_smallFree(d);
     } /* if */
 } /* DIR_enumerateFiles */
@@ -187,6 +186,7 @@
         "Ryan C. Gordon <icculus@icculus.org>",
         "http://icculus.org/physfs/",
     },
+    1,  /* supportsSymlinks */
     DIR_openArchive,        /* openArchive() method    */
     DIR_enumerateFiles,     /* enumerateFiles() method */
     DIR_openRead,           /* openRead() method       */