Re: time_t size and year 2038 wrap

2003-08-14 Thread Gordon Messmer
Andy Jackman wrote: Hi, I'm using redhat 7.4 and in bits/types.h time_t is defined as long int. This causes a wrap in 2038 (as I'm sure you all know). That's only true if your long int is 32 bits. On a 64 bit platform, which you're quite likely to be using in less than 35 years, a long int is

RE: time_t size and year 2038 wrap

2003-08-10 Thread Kenneth Goodwin
Hi, I'm using redhat 7.4 and in bits/types.h time_t is defined as long int. This causes a wrap in 2038 (as I'm sure you all know). I searched the redhat site for date 2038 and found very little current stuff. The attached post from 1998 seems to say 'all will be well' but I'm having