From: marek.pola@mailbox.swipnet.se (Marek Pola)
Subject: Re: strptime doesn't like Feb 29?
Date: 1996/02/29 [thread overview]
Message-ID: <4h5487$aua@mn5.swip.net> (raw)
In-Reply-To: uglolmj9de.fsf@piston.cs.arizona.edu
In article <uglolmj9de.fsf@piston.cs.arizona.edu>,
davidm@cs.arizona.edu (David Mosberger-Tang) wrote:
>Does the following piece of code generate an error message on all DEC
>Unix systems? It does so at least for v3.0 and v3.2. The code comes
>from small program that has been working fine in the past few months.
>Also, things do work correctly under Linux/Alpha and SunOS 4.1.x.
>Interestingly, strptime() returns the correct values in the "tm"
>variable, but it returns a NULL pointer indicating a conversion error.
>Maybe strptime() just doesn't like leap-days?
The problem you are describing is a now-famous Digital Unix Bug. We got at
call from our Digital representative on 3pm 27th of february that there will
be problems on the 29th, so fixing our 250 or so workstations caused a hectic
activity. Eventually we only upgraded our servers and let the client machines
get the time from these servers at boot up.
I don't have any objections of operating systems having bugs (is there such a
thing as bugfree software), but a quicker responce from Digital would be
appreciated. The bugfix was dated 9th of February. Working to midnight to fix
a wellknown bug is not fun.
Marek Pola
Tetra Pak
Lund, Sweden
------------------------------------------------
"Jim, his brains's gone!" - Dr McCoy, Star Trek.
parent reply other threads:[~1996-02-29 5:00 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <uglolmj9de.fsf@piston.cs.arizona.edu>]
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