From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12171 invoked by alias); 28 Nov 2012 07:21:02 -0000 Received: (qmail 12131 invoked by uid 48); 28 Nov 2012 07:20:48 -0000 From: "allachan at au1 dot ibm.com" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/14876] Support for strptime with %Z is inconsistent between doc and code Date: Wed, 28 Nov 2012 07:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: allachan at au1 dot ibm.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-11/txt/msg00243.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14876 --- Comment #3 from paxdiablo 2012-11-28 07:20:47 UTC --- FWIW, the following code may do the job: case 'Z': while (ISSPACE(*rp)) rp++; while (!ISSPACE(*rp) && (*rp != '\0')) rp++; break; -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.