John E. Malmberg wrote: > The TIME_T_IS_SIGNED macro not defined if time_t is unsigned. > > This causes the test for working mtime to fail to compile on such > systems such as OpenVMS.
Given that the bug was introduced on 2016-05-01, and that a web search for "checking whether time_t is signed... no" reveals hardly any results, it looks like OpenVMS is the only platform with an unsigned time_t type. This leads to a testing problem: When we make changes to time_t related code, how to verify that it works with an unsigned time_t type? Maybe just use a hacked glibc system: Edit /usr/include/x86_64-linux-gnu/bits/typesizes.h changing the line #define __TIME_T_TYPE __SYSCALL_SLONG_TYPE to #define __TIME_T_TYPE __SYSCALL_ULONG_TYPE ? Bruno