]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix temporary debug output (so, time_t is 8 bytes on some Windows builds)
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 25 Jan 2012 13:57:56 +0000 (14:57 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 25 Jan 2012 13:57:56 +0000 (14:57 +0100)
Python/import.c

index 79cd70827ae6ba9844bf660b354899d1457e3720..f9f3cdbbfbd0ac1cbf3aba539838a639ad155690 100644 (file)
@@ -908,7 +908,7 @@ write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat)
     /* Now write the true mtime */
     fseek(fp, 4L, 0);
     if (mtime >= LONG_MAX) {
-        fprintf(stderr, "** mtime=%ld > %ld (%ld, %ld)\n", mtime, LONG_MAX, sizeof(time_t), sizeof(srcstat->st_mtime));
+        fprintf(stderr, "** sizes=(%ld, %ld), mtime=%I64d >= %ld\n", sizeof(time_t), sizeof(srcstat->st_mtime), mtime, LONG_MAX);
         assert(0);
         /* can't get here */
     }