From: Mike Gorchak Date: Tue, 26 Feb 2013 18:58:20 GMT Subject: Re: [PATCH 1/1] Fix date checking in case if time was not initialized. Message-ID: In-Reply-To: <7v4nh0oxnv.fsf@alter.siamese.dyndns.org> > 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.