bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How should we override broken snprintf implementations?


From: Paul Eggert
Subject: Re: How should we override broken snprintf implementations?
Date: Thu, 08 Feb 2007 15:19:57 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"John McCabe-Dansted" <address@hidden> writes:

> Hi, the address@hidden team is wondering how to best handle the case
> where a broken native snprintf implementation (e.g. on mingw)
> prevents gnulib-tool from providing gnulib's C99 compatible snprintf.
> -- e.g.: 
> http://http://lists.gnu.org/archive/html/pspp-dev/2007-02/msg00043.html
>
> Is there a recommended way of overcoming this problem?

I'd attack it by modifying gl_FUNC_SNPRINTF (in m4/snprintf.m4) so
that it detects the bug and replaces the broken snprintf with gnulib
version.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]