Oops, found a rogue "struct stat64" which hadn't been parametrised.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 15 Nov 2008 07:59:39 +0000 (07:59 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 15 Nov 2008 07:59:39 +0000 (07:59 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/agedu@8296 cda61777-01e9-0310-a592-d414129be87e

TODO
du.h

diff --git a/TODO b/TODO
index c11cd11..f8c723d 100644 (file)
--- a/TODO
+++ b/TODO
@@ -54,6 +54,11 @@ TODO list for agedu
       Unclear what the right UI would be on Windows, too;
       command-line exactly as now might be considered just a
       _little_ unfriendly. Or perhaps not.
+       * Disk scan procedure: the FindFirstFile / FindNextFile
+        functions to scan a directory automatically return the file
+        times along with the filenames, so there's no need to stat
+        them later. Would want to fiddle the shape of the
+        abstraction layer to reflect this.
     + Alternatively, a much easier approach would be to write a
       Windows version of just the --scan-dump mode, which does a
       filesystem scan via the Windows API and generates a valid
diff --git a/du.h b/du.h
index 670c572..f3e36ea 100644 (file)
--- a/du.h
+++ b/du.h
@@ -15,7 +15,7 @@
  */
 typedef int (*gotdata_fn_t)(void *ctx,
                            const char *pathname,
-                           const struct stat64 *st);
+                           const STRUCT_STAT *st);
 
 /*
  * Function called to report an error during scanning. The ctx is