[tz] defensive value for define on Solaris causes load of timerule to fail
Kees Dekker
Kees.Dekker at infor.com
Mon Jun 12 07:59:26 UTC 2017
Hi,
The FILENAME_MAX macro, as used in the local_storage union in localtime.c, has on Solaris the very low/defensive value of 14 (from stdio.h).
Please consider using PATH_MAX, from limits.h instead, as that value is (usually) 250 or beyond. Or anything else, that can hold reasonable lengths of file names.
Loading zonefiles now fails on Solaris if a filename exceeds the used macro.
Regards,
Kees
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20170612/5503007f/attachment.htm>
More information about the tz
mailing list