Changeset View
Changeset View
Standalone View
Standalone View
contrib/tzcode/stdtime/localtime.c
Show First 20 Lines • Show All 384 Lines • ▼ Show 20 Lines | if (sb.st_dev != old_sb.st_dev || | ||||
sb.st_mtime != old_sb.st_mtime) { | sb.st_mtime != old_sb.st_mtime) { | ||||
old_sb = sb; | old_sb = sb; | ||||
return 1; | return 1; | ||||
} | } | ||||
return 0; | return 0; | ||||
} | } | ||||
#else /* !DETECT_TZ_CHANGES */ | #else /* !DETECT_TZ_CHANGES */ | ||||
#define change_in_tz(X) 0 | #define change_in_tz(X) 1 | ||||
#endif /* !DETECT_TZ_CHANGES */ | #endif /* !DETECT_TZ_CHANGES */ | ||||
static int | static int | ||||
differ_by_repeat(const time_t t1, const time_t t0) | differ_by_repeat(const time_t t1, const time_t t0) | ||||
{ | { | ||||
int_fast64_t _t0 = t0; | int_fast64_t _t0 = t0; | ||||
int_fast64_t _t1 = t1; | int_fast64_t _t1 = t1; | ||||
▲ Show 20 Lines • Show All 1,916 Lines • Show Last 20 Lines |