Re: AIX and 2038?
From: Wesley Joyce (wjoyce_at_UVI.EDU)
Date: Mon, 5 Jan 2004 10:02:54 -0400 To: aix-l@Princeton.EDU
Sounds like the easiest fix would be to change UNIXs internal DOB.
At 08:21 AM 1/5/2004, you wrote:
>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
>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>
>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>
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004