delorie.com/archives/browse.cgi | search |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Core dump calling strptime() |
Message-ID: | <OF5C2B9FB8.FFB724B1-ONC12570BD.0054F75A@icos.be> |
From: | "Erik Cumps" <erik DOT cumps AT icos DOT be> |
Date: | Fri, 18 Nov 2005 16:30:11 +0100 |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Corinna said: > 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 > dump. > (*) 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) ... 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. HTH, Erik PS: originally sent to newlib AT sources DOT redhat DOT com and cygwin AT cygwin DOT co, but obviously that mail never arrived here... ^^^ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |