Fix some minor time-related bugs with POSIX time arguments.
authorJim Meyering <jim@meyering.net>
Mon, 2 Jun 2003 08:22:29 +0000 (08:22 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 2 Jun 2003 08:22:29 +0000 (08:22 +0000)
commit74ab88c51f712b0b7e87c3226b571cab7c894c6c
treea68351cd2cbe01107d0be9fc918ec9097c615fbe
parentb20a6a6e55940a5219dfe54a84f8a5abed5fa1b6
Fix some minor time-related bugs with POSIX time arguments.
Some valid time stamps were being rejected (notably -1, and
time stamps before 1900 on 64-bit hosts).  And some invalid
time stamps were being accepted, e.g. September 31.

* posixtm.h (posixtime): Return bool instead of time_t, so
that we can return (time_t) -1 successfully.
lib/posixtm.h