]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only test the return value in mktime_negyear
authorEnji Cooper <ngie@FreeBSD.org>
Mon, 13 Oct 2014 02:44:35 +0000 (02:44 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Mon, 13 Oct 2014 02:44:35 +0000 (02:44 +0000)
commit13727fa5e8e10e51188cd4bcdfc963e46c143ee2
tree72d1e53f599c9f79302faf5e0142f7cf177c5019
parent8a05dd85957b4c63be0344eddfbbfe7c9712b8f4
Only test the return value in mktime_negyear

Testing for the errno is an optional requirement according to POSIX, and
FreeBSD doesn't document that errno would be set on failure with mktime

Submitted by: pho
Sponsored by: EMC / Isilon Storage Division
contrib/netbsd-tests/lib/libc/time/t_mktime.c