Re: Happy new year 2038 !

2005-01-06 Thread Nadav Har'El
On Thu, Jan 06, 2005, Moish wrote about "Re: Happy new year 2038 !": > P.S. "negative" date is always the same date (at least with MDK10.1 > libraries ): > 10, Sun Sep 9 01:46:40 2001 > 2147483647, Tue Jan 19 03:14:07 2038 > -2147483648, Fri Dec 13 20:4

Re: Happy new year 2038 !

2005-01-06 Thread Moish
Nadav Har'El wrote: On Thu, Jan 06, 2005, Dan Aloni wrote about "Re: Happy new year 2038 !": time_t t; t = (time_t) 10; printf ("%d, %s", (int) t, asctime (gmtime (&t))); t = (time_t) (0x7FFF); printf ("%d, %s", (int) t, asctime (gm

Re: Happy new year 2038 !

2005-01-06 Thread Nadav Har'El
On Thu, Jan 06, 2005, Dan Aloni wrote about "Re: Happy new year 2038 !": > > time_t t; > > t = (time_t) 10; > > printf ("%d, %s", (int) t, asctime (gmtime (&t))); > > t = (time_t) (0x7FFF); > > printf

Re: Happy new year 2038 !

2005-01-05 Thread Ira Abramov
Quoting Dan Aloni, from the post of Thu, 06 Jan: > will perish until 2038. Nowadays, AMD64 slowly becomes > commodoty hardware, so I'm optimistic. try "has become". and 128 bit GPUs are already pretty much standard as well. -- Going with his guy Ira Abramov http://ira.abramov.org/email/ ==

Re: Happy new year 2038 !

2005-01-05 Thread Dan Aloni
On Wed, Jan 05, 2005 at 09:32:16PM +0200, Moish wrote: > Quoting the ever-optimistic www.2038bug.com: > > #include > #include > #include > > int main (int argc, char **argv) > { > time_t t; > t = (time_t) 10; > printf ("%d, %s", (int) t, asctime (gmtime (&t))); > t = (t

Happy new year 2038 !

2005-01-05 Thread Moish
Quoting the ever-optimistic www.2038bug.com: #include #include #include int main (int argc, char **argv) { time_t t; t = (time_t) 10; printf ("%d, %s", (int) t, asctime (gmtime (&t))); t = (time_t) (0x7FFF); printf ("%d, %s", (int) t, asctime (gmtime (&t))); t