]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r272562,r272678,r272679
authorache <ache@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 25 Sep 2016 23:05:44 +0000 (23:05 +0000)
committerache <ache@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 25 Sep 2016 23:05:44 +0000 (23:05 +0000)
commitf54ef4a544693d6d696d992e5c7c95534226415d
tree9fe3e46d85fff00027945c74320a15b255f1245d
parent9773c8486be94203d88aea6247e6dd24493a0262
MFC r272562,r272678,r272679

1) Fix the case we have less arguments for format string than we expected.
2) Return error on unsupported format specs.
(both according to POSIX)
3) For %Z format, understand "UTC" name too.

PR:     93197 (only r272679)

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