From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5085 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: strptime problems Date: Thu, 8 May 2014 00:32:14 -0400 Message-ID: <20140508043214.GA6149@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1399523553 3072 80.91.229.3 (8 May 2014 04:32:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 May 2014 04:32:33 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5091-gllmg-musl=m.gmane.org@lists.openwall.com Thu May 08 06:32:27 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WiG0R-0007pd-3c for gllmg-musl@plane.gmane.org; Thu, 08 May 2014 06:32:27 +0200 Original-Received: (qmail 3099 invoked by uid 550); 8 May 2014 04:32:26 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 3091 invoked from network); 8 May 2014 04:32:26 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:5085 Archived-At: It was raised somewhere (on IRC, I think) that strptime still has some failure paths where functionality is unimplemented. These should have been caught and fixed a long time ago, but they weren't, so I'd like to get it done now. However I'm not clear on what the behavior of strptime should be when reading "derived" fields that don't actually correspond to anything in the "struct tm". Should it just parse and ignore them, or should it somehow convert back? The week-based-year stuff is probably the biggest question but there are others too. Rich