Re: [PATCH 1/1] Fix date checking in case if time was not initialized.
From: Mike Gorchak <hidden> Date: 2016-06-15 22:56:16
The test does _not_ fail. That if condition does return -1 on Linux
and BSD, and making tm_to_time_t() return a failure, but the caller
goes on, ending up with the right values in year/month/date in the
tm struct, which is the primary thing the function is used for.
I said it wrong, test itself is not failed, but numerous is_date()
checks are failed due to incomplete time.