summaryrefslogtreecommitdiff
path: root/modules/posixtm
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-09-13 00:35:49 +0200
committerJim Meyering <meyering@redhat.com>2009-09-14 13:20:59 +0200
commit6c9f1e88ada406b65f6b10098b8c9e60c973e614 (patch)
treec7321afc4cfe1a351ccb1cb795755fea0a021989 /modules/posixtm
parent5e04fd8dbc859fa3dcb2de9cd3279df80bd3418b (diff)
downloadgnulib-6c9f1e88ada406b65f6b10098b8c9e60c973e614.tar.gz
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.
Diffstat (limited to 'modules/posixtm')
-rw-r--r--modules/posixtm1
1 files changed, 1 insertions, 0 deletions
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