Albert ARIBAUD (3ADEV) wrote: > + if (result == -1) > + { > + __set_errno(EOVERFLOW); > + } This patch is not correct since -1 is a valid time_t value, and a result of -1 does not necessarily indicate time_t overflow.