This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4772] strptime() doesn't support strftime()'s flags
- From: "inkerman42 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 10 Jul 2007 21:46:36 -0000
- Subject: [Bug libc/4772] strptime() doesn't support strftime()'s flags
- References: <20070710204601.4772.inkerman42@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From inkerman42 at gmail dot com 2007-07-10 21:46 -------
> There is no requirement at all that strptime understands the same formats as
> strftime. In fact, this will never be the case.
The strptime(3) manual page says:
"For reasons of symmetry, glibc tries to support for strptime() the same format
characters as for strftime()."
I find it quite reasonable. The patch is trivial and solves a real-world problem.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
http://sourceware.org/bugzilla/show_bug.cgi?id=4772
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.