Kaydet (Commit) b744cef6 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix temporary debug output (so, time_t is 8 bytes on some Windows builds)

üst 11cc480e
......@@ -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 */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment