[tz] Troll throws zic for a loop

Marc Lehmann schmorp at schmorp.de
Fri Mar 21 11:23:11 UTC 2014

On Thu, Mar 20, 2014 at 08:12:15PM -0700, Paul Eggert <eggert at cs.ucla.edu> wrote:
> I'm reluctant to have localtime.c invoke malloc, since that'd be a
> new way for localtime to fail; it's purposely designed to not malloc
> unless the builder #defines ALL_STATE.  If mad scientists in

If the number of transitions in the table is ultimately bounded (which
seems to be the case here), then not using malloc is safer, faster,
simpler, more memory efficient, and cleaner for zic.

                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

More information about the tz mailing list