aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvsnt/files/patch-lockservice-LockParse.cpp
blob: f24f80f0a862a544a3ad9401d01d6cff5e7a9bda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- lockservice/LockParse.cpp.orig  Sun Feb 20 17:42:22 2005
+++ lockservice/LockParse.cpp   Sun Feb 20 17:42:40 2005
@@ -155,7 +155,8 @@
 #ifdef _WIN32
    this_clock = GetTickCount();
 #else
-   this_clock = times(NULL);
+   struct tms tms_buf;
+   this_clock = times(&tms_buf);
 #endif
 
    if(this_clock<last_clock.clock)