From 6c9f1e88ada406b65f6b10098b8c9e60c973e614 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 13 Sep 2009 00:35:49 +0200 Subject: posixtm: don't reject a time with "60" as the number of seconds * lib/posixtm.c (posixtime): The code to reject invalid dates would also reject a time specified with the .60 suffix, whereas POSIX allows that, in order to accommodate leap seconds. Don't reject that. (main): Adjust tests accordingly. * modules/posixtm (Depends-on): Add stpcpy. --- modules/posixtm | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/posixtm') diff --git a/modules/posixtm b/modules/posixtm index 06af4c8385..425c175ec6 100644 --- a/modules/posixtm +++ b/modules/posixtm @@ -9,6 +9,7 @@ m4/posixtm.m4 Depends-on: mktime stdbool +stpcpy configure.ac: gl_POSIXTM -- cgit v1.2.1