sys_time: allow too-wide tv_sec
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Jul 2012 02:28:29 +0000 (02:28 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Jul 2012 02:28:29 +0000 (02:28 +0000)
commite07d7c40f3ca5ec410cf5aa6fa03cfe51e712039
treec1118ee880a4240dcb7c0d138870864c84d5e123
parent5e2cd5c49abf9b3eb5d75bb9a7724c7656b9760e
sys_time: allow too-wide tv_sec

* m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_BODY): Allow struct
timeval even if tv_sec is wider than time_t.  This allows
OpenBSD 5.1 amd64 and fixes an Emacs porting glitch with utimens.c,
as without this patch gnulib replaces struct timeval
and OpenBSD futimes therefore has a type mismatch.
* doc/posix-headers/sys_time.texi: Mention this.
ChangeLog
doc/posix-headers/sys_time.texi
m4/sys_time_h.m4