]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Add a TODO comment to remind me to come back and
authorTim Kientzle <kientzle@gmail.com>
Thu, 24 Sep 2009 15:25:56 +0000 (11:25 -0400)
committerTim Kientzle <kientzle@gmail.com>
Thu, 24 Sep 2009 15:25:56 +0000 (11:25 -0400)
work on the remaining issues caused by Windows broken
stat().

SVN-Revision: 1470

libarchive/archive_read_disk_entry_from_file.c

index 6ebd67384d6e7ab0694f60906c5cd7c0a3dce9c9..a8337650eef35ff2d259e87d221f740bb56eb434 100644 (file)
@@ -114,6 +114,11 @@ archive_read_disk_entry_from_file(struct archive *_a,
 #endif
 
        if (st == NULL) {
+               /* TODO: On Windows, use GetFileInfoByHandle() here.
+                * Using Windows stat() call is badly broken, but
+                * even the stat() wrapper has problems because
+                * 'struct stat' is broken on Windows.
+                */
 #if HAVE_FSTAT
                if (fd >= 0) {
                        if (fstat(fd, &s) != 0)