Re: AIX and 2038?

From: Bill Thompson (bill.thompson@GOODYEAR.COM)
Date: Mon Jan 05 2004 - 07:21:52 EST


Doesn't matter whether it's truly a 64 bit machine or not. The issue lies
within the C code. The variable that holds the time is declared as a 32 bit
variable. The fix is to change the variable to a 64 bit (or larger) and
re-compile, but this would also require changing all the programs that
access the time variable and recompiling them as well!

Think of all the programs that access the system time - not only Unix
commands such as ls, date, etc. but almost every application program as
well - SAP, Oracle, etc. All of these programs expect time to be a 32 bit
variable. If you were to suddenly change that the results could be
catastrophic!

Bill Thompson
Sr UNIX Systems Administrator
The Goodyear Tire & Rubber Co.

Contains Confidential and/or Proprietary Information
May Not Be Copied or Disseminated Without Express Consent of The Goodyear
Tire & Rubber Company.

AIX-L Archives: http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2

----- Original Message -----
From: "Green, Simon" <Simon.Green@EU.ALTRIA.COM>
Newsgroups: bit.listserv.aix-l
To: <aix-l@Princeton.EDU>
Sent: Monday, January 05, 2004 5:50 AM
Subject: Re: AIX and 2038?

> Not something I'm going to worry about a lot - I'm getting to be an old
> fart, so I'm not sure I'll even be _alive_ in '38 - but just out of
> interest, what sort of box did you run it on? Was it a truly 64-bit
> machine?
>
> > -----Original Message-----
> > From: Wesley Joyce [mailto:wjoyce@UVI.EDU]
> > Sent: 04 January 2004 03:37
> > To: aix-l@Princeton.EDU
> > Subject: AIX and 2038?
> >
> >
> > I know this issue is real far off, but I ran across some info on this
> > during the holiday break. I probably won't be retired in
> > 2038, so it will
> > directly affect me. :)
> >
> > http://maul.deepsky.com/%7Emerovech/2038.html
> >
> > Both my AIX 4.3.3 and 5.2 boxes stop incrementing time after
> > "Tue Jan 19
> > 03:14:07 2038" using the PERL script below.
> <SNIP>



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:26 EDT