On 1 July 2015 at 18:02, Ei-ji Nakama wrote: | sorry, i didnt watch src/main/datetime.c ...
Thanks again -- I also made that update for a Debian build 3.2.1-4. Dirk | Index: leap_second/src/main/datetime.c | =================================================================== | --- leap_second/src/main/datetime.c (リビジョン 68608) | +++ leap_second/src/main/datetime.c (作業コピー) | @@ -303,14 +303,15 @@ | } | | #ifndef HAVE_POSIX_LEAPSECONDS | -/* There have been 25 leapseconds: see .leap.seconds in R | +/* There have been many leapseconds: see .leap.seconds in R | + * (as.Date(.leap.seconds)-as.Date("1970-01-01"))*86400 | */ | -static int n_leapseconds = 25; | static const time_t leapseconds[] = | { 78796800, 94694400,126230400,157766400,189302400,220924800,252460800, | 283996800,315532800,362793600,394329600,425865600,489024000,567993600, | 631152000,662688000,709948800,741484800,773020800,820454400,867715200, | - 915148800,1136073600,1230768000,1341100800}; | + 915148800,1136073600,1230768000,1341100800,1435708800}; | +static int n_leapseconds = sizeof(leapseconds)/sizeof(time_t); | #endif | | static double guess_offset (stm *tm) | -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel