summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-15 07:11:13 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-15 07:11:13 +0000
commitcf46a5142084f7381836cf99533d5245a334be43 (patch)
treef584d6d8a8a8601be55448657a50bef7e6d1c2f0 /win32
parent987e8a8c791872145007e4ebb11644303b4dc833 (diff)
downloadruby-cf46a5142084f7381836cf99533d5245a334be43.tar.gz
ruby-cf46a5142084f7381836cf99533d5245a334be43.tar.xz
ruby-cf46a5142084f7381836cf99533d5245a334be43.zip
eban
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/win32/win32.c b/win32/win32.c
index e07d0086d..c024ca04c 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -2488,14 +2488,14 @@ mytimes(struct tms *tmbuf)
if (GetProcessTimes(GetCurrentProcess(),&create, &exit, &kernel, &user)) {
tmbuf->tms_utime = filetime_to_clock(&user);
tmbuf->tms_stime = filetime_to_clock(&kernel);
- tmbuf->cutime = 0;
- tmbuf->cstime = 0;
+ tmbuf->tms_cutime = 0;
+ tmbuf->tms_cstime = 0;
}
else {
- tmbuf->utime = clock();
- tmbuf->stime = 0;
- tmbuf->cutime = 0;
- tmbuf->cstime = 0;
+ tmbuf->tms_utime = clock();
+ tmbuf->tms_stime = 0;
+ tmbuf->tms_cutime = 0;
+ tmbuf->tms_cstime = 0;
}
return 0;
}