Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 184484 | Differences between
and this patch

Collapse All | Expand All

(-)gnupg-2.0.5.org/common/gettime.c (-2 / +5 lines)
Lines 208-215 isotime2epoch (const char *string) Link Here
208
  tmbuf.tm_mday = day;
208
  tmbuf.tm_mday = day;
209
  tmbuf.tm_mon  = month-1;
209
  tmbuf.tm_mon  = month-1;
210
  tmbuf.tm_year = year - 1900;
210
  tmbuf.tm_year = year - 1900;
211
  tmbuf.tm_isdst = -1;
211
  tmbuf.tm_isdst = 0;
212
  return timegm (&tmbuf);
212
{
213
  time_t x = mktime (&tmbuf);
214
  return x + mktime (localtime (&x)) - mktime (gmtime (&x));
215
}
213
}
216
}
214
217
215
218

Return to bug 184484