[cvsnt] history error? [ Vírusmentes]

Zoltan.Szathmary at generali.hu Zoltan.Szathmary at generali.hu
Wed Jun 1 09:35:02 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Thank you Capaverde!

Aha! As I wrote it on 5. May...?
Hope, Tony read this, too!
I can't complie CVSNT, so I just can hope, that Tony will fix this bug, as
soon as possible!
Zoltán

Capaverde wrote this:
> You are right. It seems that it was designed to correct the
> "year 2038 bug". Under VC6 time_t is a 32 bit data type but
> when you compile in VC7, it is defined as 64 bit! It's causing the
> mistake in history file.
> To fix my CVSNT 2.5.01.1927, I patched the file history.cpp,
> line 860, to looks like:
>
>     sprintf (line, "%c%08lx|%s|%s|%s|%s|%s\n",
>          type, (long)global_session_time_t,
>          username, workdir, repos, revs, name);
>
> As it's the number of seconds since 1970, it should works for the
> next 30 years.







More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook