From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7a50bbc6a7af82f2,start X-Google-Attributes: gidfee84,public From: marek.pola@mailbox.swipnet.se (Marek Pola) Subject: Re: strptime doesn't like Feb 29? Date: 1996/02/29 Message-ID: <4h5487$aua@mn5.swip.net>#1/1 X-Deja-AN: 141648885 references: organization: - nntp-posting-user: ef6973175ca49332904493b4eec7540a newsgroups: comp.unix.osf.osf1 In article , 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.