Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 74609:33743c478d44 2.7
Fix temporary debug output (so, time_t is 8 bytes on some Windows builds)
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Wed, 25 Jan 2012 14:57:56 +0100 |
| parents | ae37ae1cace8 |
| children | e8a525de2bac |
line wrap: on
line diff
--- a/Python/import.c Wed Jan 25 14:39:21 2012 +0100 +++ b/Python/import.c Wed Jan 25 14:57:56 2012 +0100 @@ -908,7 +908,7 @@ /* 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 */ }
