This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 belopolsky
收信人 belopolsky, georg.brandl, mark.dickinson, pitrou, rhettinger, rnk, tim.golden, tim.peters
日期 2010-07-16.20:42:51
SpamBayes Score 0.0056641726
Marked as misclassified
Message-id <1279312973.43.0.533249216347.issue9079@psf.upfronthosting.co.za>
In-reply-to
内容
It looks like my reluctance to add gettimeofday to core without using it there was well founded.  Simply adding a dummy call to _PyTime_gettimeofday in main() fixed the build problem.  This is a hack, of course, so I am still looking for suggestions on how to make this work.


===================================================================
--- Modules/python.c	(revision 82921)
+++ Modules/python.c	(working copy)
@@ -34,6 +34,8 @@
     m = fpgetmask();
     fpsetmask(m & ~FP_X_OFL);
 #endif
+    struct timeval tv;
+    _PyTime_gettimeofday(&tv);
     if (!argv_copy || !argv_copy2) {
         fprintf(stderr, "out of memory\n");
         return 1;
历史
日期 用户 动作 参数
2010-07-16 20:42:53belopolsky修改recipients: + belopolsky, tim.peters, georg.brandl, rhettinger, mark.dickinson, pitrou, tim.golden, rnk
2010-07-16 20:42:53belopolsky修改messageid: <1279312973.43.0.533249216347.issue9079@psf.upfronthosting.co.za>
2010-07-16 20:42:52belopolsky链接issue9079 messages
2010-07-16 20:42:51belopolsky创建