1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Do not call times(NULL).

- Bump PORTREVISION.
This commit is contained in:
Max Khon 2005-02-20 11:54:25 +00:00
parent be7443e26e
commit 6d9a786c2d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129358
2 changed files with 13 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= cvsnt
PORTVERSION= 2.0.58d
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://www.cvsnt.org/archive/

View File

@ -0,0 +1,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)