mirror of git://sourceware.org/git/glibc.git
* time/mktime.c (leapyear, ydms_tm_diff): Year is of type long int, not int, to avoid problems when tm_year == INT_MAX and tm_mon > 12. (__mktime_intenral): Compute year using long int arithmetic, not int arithmetic, to avoid problems on hosts where time_t and long are 64 bits but int is 32. |
||
|---|---|---|
| .. | ||
| sys | ||
| .cvsignore | ||
| Depend | ||
| Makefile | ||
| Versions | ||
| alt_digit.c | ||
| asctime.c | ||
| clocktest.c | ||
| ctime.c | ||
| ctime_r.c | ||
| datemsk | ||
| difftime.c | ||
| dysize.c | ||
| era.c | ||
| getdate.c | ||
| gmtime.c | ||
| lc-time-cleanup.c | ||
| localtime.c | ||
| mktime.c | ||
| offtime.c | ||
| strftime.c | ||
| strftime_l.c | ||
| strptime.c | ||
| strptime_l.c | ||
| test_time.c | ||
| time.h | ||
| timegm.c | ||
| tst-ftime_l.c | ||
| tst-getdate.c | ||
| tst-mktime.c | ||
| tst-posixtz.c | ||
| tst-strftime.c | ||
| tst-strptime.c | ||
| tst_wcsftime.c | ||
| tzfile.c | ||
| tzset.c | ||
| wcsftime.c | ||
| wcsftime_l.c | ||