utc-mktime.c revision cca4ba2a504d70a9fe9fee37f8433997359de52c
#include "lib.h"
#include "utc-mktime.h"
{
int diff;
return diff;
return diff;
return diff;
return diff;
return diff;
}
{
time_t t;
/* we'll do a binary search across the entire valid time_t range.
when gmtime()'s output matches the tm parameter, we've found the
correct time_t value. this also means that if tm contains invalid
values, -1 is returned. */
#ifdef TIME_T_SIGNED
t = 0;
#else
#endif
if (dir == 0)
return t;
if (bits < 0)
break;
if (dir < 0)
else
}
return (time_t)-1;
}