[tz] [PROPOSED 2/3] Simplify zic writezone slightly
Paul Eggert
eggert at cs.ucla.edu
Fri Oct 15 09:01:24 UTC 2021
* zic.c (writezone): Simplify range32 calculation, since it is
used only if wantbloat() anyway.
---
zic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zic.c b/zic.c
index 0101351..1f64058 100644
--- a/zic.c
+++ b/zic.c
@@ -2120,7 +2120,7 @@ writezone(const char *const name, const char *const string, char version,
rangeall.pretrans = rangeall.leapexpiry = false;
range64 = limitrange(rangeall, min_time < lo_time,
lo_time, hi_time, ats, types);
- range32 = limitrange(range64, INT32_MIN < lo_time || want_bloat(),
+ range32 = limitrange(range64, true,
INT32_MIN, INT32_MAX, ats, types);
/* TZif version 4 is needed if a no-op transition is appended to
--
2.30.2
More information about the tz
mailing list