This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Core dump calling strptime()
Corinna Vinschen wrote:
On Nov 18 13:59, Erik Cumps wrote:
GNU EXTENSIONS
For reasons of symmetry, glibc tries to support for strptime the
same
format characters as for strftime. (In most cases the
corresponding
fields are parsed, but no field in tm is changed.) This leads to
...
%Z The timezone name.
Oh yes, I failed to read further in the man page.
Thx,
Corinna
A fix has been applied to strptime. %c is treated as "%a %b %e %H:%M:%S
%Y" so it works the opposite of strftime. %Z is ignored (unsupported)
like it is in glibc.
-- Jeff J.