Displaying 1 result from an estimated 1 matches for "fsecs".
Did you mean:
fsect
2009 Feb 27
0
POSIXlt, POSIXct, strptime, GMT and 1969-12-31 23:59:59
...ay == NA_INTEGER ||
697 tm.tm_mon == NA_INTEGER || tm.tm_year == NA_INTEGER)
698 REAL(ans)[i] = NA_REAL;
699 else {
700 errno = 0;
701 tmp = mktime0(&tm, 1 - isgmt);
702 #ifdef MKTIME_SETS_ERRNO
703 REAL(ans)[i] = errno ? NA_REAL : tmp + (secs - fsecs);
704 #else
705 REAL(ans)[i] = (tmp == (double)(-1)) ?
706 NA_REAL : tmp + (secs - fsecs);
707 #endif
708 }
I haven't been able to look further into this logic, but the test for
-1 strikes me as where this is happening.
Thank you for any insight you can provide.
Jeff...