April 2, 2022
3:32 a.m.
On 4/1/22 10:27, Paul Eggert wrote:
does not suffer a trailing TAB character, behind the +0430 I'm not seeing the problem.
Although I'm still not seeing a problem with a trailing TAB, after staring at the code a bit I do see problems if the input contains a NUL byte, along with misleading diagnostics if the input ends in a non-newline and/or has a very long input line. Also, POSIX raised its line length limit from 512 to 2048 bytes, and zic's memory allocation can be simplified a bit. I installed the attached proposed patches to fix the issues I found. However, I don't think these changes will affect the problem you mentioned.