From: "Gerhard Stegemann" <GStegemann@csi.com>
Subject: Re: date fix for OSF1 V 3.2
Date: 2000/01/03 [thread overview]
Message-ID: <84r8tr$rba$1@ssauraac-i-1.production.compuserve.com> (raw)
In-Reply-To: 6cln67nr5t.fsf@rational.com
"John Kohl" <jtk@rational.com> schrieb im Newsbeitrag
news:6cln67nr5t.fsf@rational.com...
> Scott Channon <sw.channon@ic.ac.uk> writes:
>
> >
> > I have an old dec 3000 running OSF1 V 3.2. Although this is not
> > y2k compliant, it has booted up fine although the date command
> > command only allows you to change the date from 1999 to 2036.
>
> I would guess you should be able to write your own C program to call the
> settimeofday() routine. Just calculate the seconds since
> 1970-01-01.00:00 UTC, then use that in the values passed to
> settimeofday().
Much simpler.
I have downloaded the GNU Shell Utilities (current version 2.0).
Configured and compiled them. Ran the date command out of this package,
and voila, I'm back in the current year.
However, I didn't install the package. It was sufficient to run the
the GNU date command from a local directory.
But you may place the date executable in a system directory to have
it right in place. And also the modified man pages.
--
Gerhard Stegemann
prev parent reply other threads:[~2000-01-03 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-03 5:00 date fix for OSF1 V 3.2 Scott Channon
2000-01-03 5:00 ` John Kohl
2000-01-03 5:00 ` Gerhard Stegemann [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox