Refine debug printfs.
diff --git a/developer-xcode/libzip.xcodeproj/project.pbxproj b/developer-xcode/libzip.xcodeproj/project.pbxproj
index f58cd06..02f145f 100644
--- a/developer-xcode/libzip.xcodeproj/project.pbxproj
+++ b/developer-xcode/libzip.xcodeproj/project.pbxproj
@@ -877,7 +877,7 @@
 		4BDC721C15B1B25E00236D3C /* zip_memdup.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zip_memdup.c; path = ../lib/zip_memdup.c; sourceTree = "<group>"; };
 		4BDC721D15B1B25E00236D3C /* zip_name_locate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zip_name_locate.c; path = ../lib/zip_name_locate.c; sourceTree = "<group>"; };
 		4BDC721E15B1B25E00236D3C /* zip_new.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zip_new.c; path = ../lib/zip_new.c; sourceTree = "<group>"; };
-		4BDC721F15B1B25E00236D3C /* zip_open.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zip_open.c; path = ../lib/zip_open.c; sourceTree = "<group>"; usesTabs = 1; };
+		4BDC721F15B1B25E00236D3C /* zip_open.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zip_open.c; path = ../lib/zip_open.c; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
 		4BDC722015B1B25E00236D3C /* zip_rename.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zip_rename.c; path = ../lib/zip_rename.c; sourceTree = "<group>"; };
 		4BDC722115B1B25E00236D3C /* zip_replace.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zip_replace.c; path = ../lib/zip_replace.c; sourceTree = "<group>"; };
 		4BDC722215B1B25E00236D3C /* zip_set_archive_comment.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zip_set_archive_comment.c; path = ../lib/zip_set_archive_comment.c; sourceTree = "<group>"; };
diff --git a/lib/zip_open.c b/lib/zip_open.c
index ba3788b..e886987 100644
--- a/lib/zip_open.c
+++ b/lib/zip_open.c
@@ -384,7 +384,7 @@
     if (i != cd->nentry || left > 0) {
 	zip_error_set(error, ZIP_ER_INCONS, 0);
 #ifdef _WIN32
-	printf("open inconsistency 5\n");
+	printf("open inconsistency 5: i = %llu, nentry = %llu, left = %llu\n, size = %llu", i, cd->nentry, left, cd->size);
 #endif
 	_zip_buffer_free(cd_buffer);
 	_zip_cdir_free(cd);
diff --git a/lib/zip_source_file_win32.c b/lib/zip_source_file_win32.c
index b1f3905..a21d7d1 100644
--- a/lib/zip_source_file_win32.c
+++ b/lib/zip_source_file_win32.c
@@ -151,10 +151,12 @@
     
     zero.QuadPart = 0;
     if (!SetFilePointerEx((HANDLE)ctx->f, zero, &new_offset, FILE_CURRENT)) {
+        printf("SetFilePointerEx failed\n");
         zip_error_set(&ctx->error, ZIP_ER_SEEK, _zip_win32_error_to_errno(GetLastError()));
         return -1;
     }
     
+    printf("SetFilePointerEx returned %llu\n", new_offset.QuadPart);
     return (zip_int64_t)new_offset.QuadPart;
 }
 
diff --git a/lib/zip_source_file_win32_write.c b/lib/zip_source_file_win32_write.c
index 13e8d1f..371cc08 100644
--- a/lib/zip_source_file_win32_write.c
+++ b/lib/zip_source_file_win32_write.c
@@ -219,6 +219,7 @@
 
     /* TODO: fill in ctx->attributes */
 
+    wprintf(L"stat(%s) = { size = %llu }\n", (wchar_t *)ctx->fname, st->size);
     return true;
 }