Re: time_t definition is worng

2001-06-05 Thread Rodney W. Grimes
I know this thread is long and twisting, but the point made by this person is so often overlooked I though a reimphasis by another person who was around when we (programmers) first started thinking about Y2K as a bug... > > The fix for the epoch problem is to have time64() or similar. >

Re: time_t definition is worng

2001-06-03 Thread Valentin Nechayev
Fri, Jun 01, 2001 at 16:52:18, Antoine.Beaupre (Antoine Beaupre (LMC)) wrote about "Re: time_t definition is worng": > Why not make leave it a long on alpha (and IA64) and make it a 'long > long' on IA32 so that we get rid of the Y38 bug right now? ;) It will brea

Re: time_t definition is worng

2001-06-03 Thread Valentin Nechayev
Fri, Jun 01, 2001 at 16:18:08, david (David Wolfskill) wrote about "Re: time_t definition is worng": > >Historically people compared time stamps by subtracting one from > >another. > Which is a practice that the difftime() function was invented to > re

Re: time_t definition is worng

2001-06-02 Thread Yoshihiro Koya
Hello, From: "David O'Brien" <[EMAIL PROTECTED]> Subject: Re: time_t definition is worng Date: Sat, 2 Jun 2001 09:16:43 -0700 Message-ID: <[EMAIL PROTECTED]> > On Sun, Jun 03, 2001 at 01:05:18AM +0900, Yoshihiro Koya wrote: > > > Since on IA-32 int == lo

Re: time_t definition is worng

2001-06-02 Thread David O'Brien
On Sun, Jun 03, 2001 at 01:05:18AM +0900, Yoshihiro Koya wrote: > Hello, > > From: "David O'Brien" <[EMAIL PROTECTED]> > Subject: Re: time_t definition is worng > Date: Sat, 2 Jun 2001 08:52:37 -0700 > Message-ID: <[EMAIL PROTECTED]> > > &

Re: time_t definition is worng

2001-06-02 Thread Yoshihiro Koya
Hello, From: "David O'Brien" <[EMAIL PROTECTED]> Subject: Re: time_t definition is worng Date: Sat, 2 Jun 2001 08:52:37 -0700 Message-ID: <[EMAIL PROTECTED]> > Since on IA-32 int == long, the only issue is what ones uses in printf() > and scanf(). I have not

Re: time_t definition is worng

2001-06-02 Thread David O'Brien
On Sat, Jun 02, 2001 at 01:23:05AM -0700, Matt Dillon wrote: > Yes, I know all that. The problem isn't that you couldn't have an > unsigned time_t, the problem is that there are vast amounts of software > already out there that would "break mysteriously" if you did. So, > like th

Re: time_t definition is worng

2001-06-01 Thread Matt Dillon
:On Fri, Jun 01, 2001 at 02:39:33PM +0300, Amir Shalem wrote: :> it was always long int, :> whenever you want to print time_t :> in programs it was always :> printf("%ld", (time_t)time); : :That cast is wrong; if you want to print a long, cast it to long. :time_t is (was) only a long on the i386;