[tz] Anyone else having snprintf issues with 2017c?

Jon Skeet skeet at pobox.com
Tue Oct 24 06:25:36 UTC 2017


Applying a patch isn't terribly simple in my environment, but HEAD of
https://github.com/eggert/tz builds for me, yes - so assuming they're the
same thing, that fixes it. Thanks!

On 24 October 2017 at 02:19, Paul Eggert <eggert at cs.ucla.edu> wrote:

> On 10/23/2017 12:33 PM, Tom Lane wrote:
>
>> Apparently the expectation is that people using such platforms will
>> manually fix things by defining HAVE_SNPRINTF=1.
>>
>
> I hadn't thought about this particular case. I thought most people were
> using C99-or-later platforms by now and that HAVE_SPRINTF was mostly a
> historical curiosity. Perhaps I'm too accustomed to life in the fast lane.
> But yes, compiling with -DHAVE_SNPRINTF works around the problem.
>
> I installed the attached, which I hope removes the need to specify
> -DHAVE_SNPRINTF with pre-C99 platforms that have snprintf, without
> resorting to Autoconf. Jon, could you please give it a try in your
> environment? Thanks.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20171024/4c1f0665/attachment.html>


More information about the tz mailing list