Subject: should strptime(3) do calendar calculations?
To: None <tech-userlevel@netbsd.org>
From: Matthias Drochner <Matthias.Drochner@web.de>
List: tech-userlevel
Date: 09/24/2007 11:24:58
Hi -
some people (in particular "octave" authors) seem to assume
that strptime(3) fills in weekday etc even if it was not given
in the input and format strings.
The susv3 manpage doesn't state such a requirement. (There
are appearently no reserved values for "struct tm" meaning
"not specified" either.)
Does anybody know of an applicable standard requiring the
calendar calculations, or are the octave programmers to
be accused of unportable code?

best regards
Matthias


_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066