Re: Make OpenCVS compile again

2013-12-14 Thread Jérémie Courrèges-Anglas
Vadim Zhukov writes: > 2013/12/13 Jérémie Courrèges-Anglas : >> Vadim Zhukov writes: >> Vadim Zhukov writes: > This patch addresses two problems: > > 1) Usage of getdirentries() - seriously. > 2) 64-bit-time_t fix. time_t should be printed with %ll? plus

Re: Make OpenCVS compile again

2013-12-13 Thread Vadim Zhukov
2013/12/13 Jérémie Courrèges-Anglas : > Vadim Zhukov writes: > >>> Vadim Zhukov writes: >>> >>> > This patch addresses two problems: >>> > >>> > 1) Usage of getdirentries() - seriously. >>> > 2) 64-bit-time_t fix. >>> >>> time_t should be printed with %ll? plus a (long long) cast. Now, >>> I don

Re: Make OpenCVS compile again

2013-12-13 Thread Jérémie Courrèges-Anglas
Vadim Zhukov writes: >> Vadim Zhukov writes: >> >> > This patch addresses two problems: >> > >> > 1) Usage of getdirentries() - seriously. >> > 2) 64-bit-time_t fix. >> >> time_t should be printed with %ll? plus a (long long) cast. Now, >> I don't see any (long long) cast in the whole OpenCVS

Re: Make OpenCVS compile again

2013-12-13 Thread Vadim Zhukov
> Vadim Zhukov writes: > > > This patch addresses two problems: > > > > 1) Usage of getdirentries() - seriously. > > 2) 64-bit-time_t fix. > > time_t should be printed with %ll? plus a (long long) cast. Now, > I don't see any (long long) cast in the whole OpenCVS code, and GNU > cvs uses %08lx

Re: Make OpenCVS compile again

2013-12-13 Thread Jérémie Courrèges-Anglas
Vadim Zhukov writes: > This patch addresses two problems: > > 1) Usage of getdirentries() - seriously. > 2) 64-bit-time_t fix. time_t should be printed with %ll? plus a (long long) cast. Now, I don't see any (long long) cast in the whole OpenCVS code, and GNU cvs uses %08lx and (long) to print

Make OpenCVS compile again

2013-12-13 Thread Vadim Zhukov
This patch addresses two problems: 1) Usage of getdirentries() - seriously. 2) 64-bit-time_t fix. Of course, this could be zapped as well, but I plan to dig this code at some point after getting KDE 4.12 working... -- zhuk@ Index: file.c =