From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1b4c8833403a1047 X-Google-Attributes: gidfee84,public From: carrier@chabot.ced.berkeley.edu (Stephen Carrier) Subject: Re: [Q] - BUG in strptime() DEC UNIX Date: 1996/03/19 Message-ID: <4inh2e$jqu@agate.berkeley.edu>#1/1 X-Deja-AN: 143300619 references: <827141482snz@spclmway.demon.co.uk> organization: College of Environmental Design, UC Berkeley newsgroups: comp.unix.osf.osf1 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