This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14876] Support for strprime with %Z is inconsistent between doc and code
- From: "allachan at au1 dot ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 26 Nov 2012 04:15:15 +0000
- Subject: [Bug libc/14876] Support for strprime with %Z is inconsistent between doc and code
- Auto-submitted: auto-generated
- References: <bug-14876-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14876
--- Comment #1 from paxdiablo <allachan at au1 dot ibm.com> 2012-11-26 04:15:15 UTC ---
Actually, there's one possibility for consuming the input I thought I'd
mention.
If we're certain the timezone won't have spaces in it, we could just consume
everything up to the next whitespace.
You still won't get a timezone indicator in your struct tm but at least it:
(1) would agree with the doco; and
(2) would successfully parse strings of the correct format without an error.
Now there may be some reason why that won't work, but I can't think of one off
the top of my head. No doubt someone more familiar with the codebase will let
me know if I'm indulging in verbal diarrhoea.
--
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.