Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: carrier@chabot.ced.berkeley.edu (Stephen Carrier)
Subject: Re: [Q] - BUG in strptime() DEC UNIX
Date: 1996/03/19	[thread overview]
Message-ID: <4inh2e$jqu@agate.berkeley.edu> (raw)
In-Reply-To: 827141482snz@spclmway.demon.co.uk

Gareth Owen (geo@spclmway.demon.co.uk) wrote:
: The strftime() function in DEC UNIX 3.0 (347) appears to behave strangely
: when confronted by the 29th february.

: When i try and convert the 29th feb (with or without a leap year as the 
: date) the function returns NULL (indicating error) but still correctly
: fills the struct tm.  If I pass in a date like 35th feb it correctly returns
: NULL and doesn't fill the struct tm.

: Is this a bug and is there a fix?

: cheers

: Gareth Owen

There is a publicly available patch to what I think is the same problem:

ftp://ftp.service.digital.com/public/osf/v2.0/clock_dunix1032d.tar

	spc



  reply	other threads:[~1996-03-19  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-18  5:00 [Q] - BUG in strptime() DEC UNIX Gareth Owen
1996-03-19  5:00 ` Stephen Carrier [this message]
1996-03-19  5:00   ` Jeff Finkelstein
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