[tz] tabs vs spaces

Guy Harris guy at alum.mit.edu
Thu May 2 00:52:20 UTC 2013


On May 1, 2013, at 4:51 PM, James Cloos <cloos at jhcloos.com> wrote:

>>>>>> "GH" == Guy Harris <guy at alum.mit.edu> writes:
> 
> GH> If you mean "not all white space characters are valid separators", I
> GH> suspect that none of Vertical Tab, Carriage Return, or Line Feed/New
> GH> Line would be considered valid separators,
> 
> zic.c uses isascii(3) and isspace(3), so it is libc and locale dependent,
> although in practice the use of isascii(3) should minimize that dependence.
> Maybe even eliminate it.

Perhaps it should use "c == ' ' || c == '\t'" instead, i.e. only horizontal white space.




More information about the tz mailing list