]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC of r207830
authoredwin <edwin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Oct 2010 21:04:45 +0000 (21:04 +0000)
committeredwin <edwin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Oct 2010 21:04:45 +0000 (21:04 +0000)
commit560c22d4a3237a6977299bf33f8ce426da9459d2
treef32770a68cf45c093d0b934f6392d02f351e8463
parent6456e54ad040c9c989f1238834ec58ce5937f8bc
MFC of r207830

strptime(3) confused July with June with the fr_FR locale.

When parsing the month "juillet" (abbr "jul"), %B recognized it as
"juin" (abbr "jui") because the full name of the month names is
checked at the same time as the abbrevation.

The new behaviour checks the full names first before checking the
abbrevation names.

PR:             kern/141939
Submitted by:   Denis Chatelain <denis@tikuts.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@214079 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/stdtime/strptime.c