]> git.eshelyaron.com Git - emacs.git/commit
Improve port to NetBSD tzalloc
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Mar 2018 16:35:33 +0000 (09:35 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Mar 2018 16:36:28 +0000 (09:36 -0700)
commit64a1da4989b0551481600facb1781ac92089d182
tree20bdac9a212d1f42fa648ea69cdb846de4d2bde2
parent711b94c8bb2d25bb3cd13be8b1f88feb2edbd186
Improve port to NetBSD tzalloc

Problem reported by Valery Ushakov (Bug#30738#13).
* src/editfns.c (tzlookup) [__NetBSD_Version__ < 700000000]:
If tzalloc fails for any reason other than memory exhaustion,
assume it’s because NetBSD 6 does not support tzalloc on
POSIX-format TZ strings, and fall back on tzdb if possible.
src/editfns.c