[Python-checkins] cpython (2.7): Fix temporary debug output (so, time_t is 8 bytes on some Windows builds)
antoine.pitrou
python-checkins at python.org
Wed Jan 25 15:00:08 CET 2012
http://hg.python.org/cpython/rev/33743c478d44
changeset: 74609:33743c478d44
branch: 2.7
user: Antoine Pitrou <solipsis at pitrou.net>
date: Wed Jan 25 14:57:56 2012 +0100
summary:
Fix temporary debug output (so, time_t is 8 bytes on some Windows builds)
files:
Python/import.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/import.c b/Python/import.c
--- a/Python/import.c
+++ b/Python/import.c
@@ -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 */
}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list