This is the mail archive of the
mailing list for the Cygwin project.
Re: Core dump calling strptime()
- From: "Erik Cumps" <erik dot cumps at icos dot be>
- To: cygwin at cygwin dot com
- Date: Fri, 18 Nov 2005 16:30:11 +0100
- Subject: Re: Core dump calling strptime()
- Reply-to: cygwin at cygwin dot com
> Newlib's strptime function doesn't implement the 'c' and the 'Z'(*)
> format specifiers. If it encounters one of the non-implemented format
> specifiers it calls the abort() function which then results in the core
> (*) Z? I don't see this format specifier defined on Linux, nor in the
> SUSv3 man pages. What's its job?
>From 'man strptime' on a Mandrake 9.2 system:
STRPTIME(3) Linux Programmer's Manual STRPTIME(3)
For reasons of symmetry, glibc tries to support for strptime the
format characters as for strftime. (In most cases the
fields are parsed, but no field in tm is changed.) This leads to
%Z The timezone name.
PS: originally sent to firstname.lastname@example.org and email@example.com,
but obviously that mail never arrived here... ^^^
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html