summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-02-13 07:20:22 (GMT)
committerGeorg Brandl <georg@python.org>2008-02-13 07:20:22 (GMT)
commit0a40ffb1b30a904eef00bb0c7ce4e18e7ca3dc75 (patch)
tree477479bf7012d7f849248f10262031ccbc0809fb /Modules
parent5f8bd3729ee36296ba5ae71d128f6879022818d2 (diff)
downloadcpython-0a40ffb1b30a904eef00bb0c7ce4e18e7ca3dc75.zip
cpython-0a40ffb1b30a904eef00bb0c7ce4e18e7ca3dc75.tar.gz
cpython-0a40ffb1b30a904eef00bb0c7ce4e18e7ca3dc75.tar.bz2
#2063: correct order of utime and stime in os.times()
result on Windows.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 7c2cb12..fab44d6 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -5987,10 +5987,10 @@ posix_times(PyObject *self, PyObject *noargs)
*/
return Py_BuildValue(
"ddddd",
- (double)(kernel.dwHighDateTime*429.4967296 +
- kernel.dwLowDateTime*1e-7),
(double)(user.dwHighDateTime*429.4967296 +
user.dwLowDateTime*1e-7),
+ (double)(kernel.dwHighDateTime*429.4967296 +
+ kernel.dwLowDateTime*1e-7),
(double)0,
(double)0,
(double)0);