[Top][All Lists]

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

Re: How should we override broken snprintf implementations?

From: Albert Chin
Subject: Re: How should we override broken snprintf implementations?
Date: Fri, 9 Feb 2007 09:07:55 -0600
User-agent: Mutt/1.5.6i

On Thu, Feb 08, 2007 at 03:19:57PM -0800, Paul Eggert wrote:
> "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.

glib, which is LGPL, has a AC_FUNC_SNPRINTF_C99 in acinclude.m4 you
might want to check out.

albert chin (address@hidden)

reply via email to

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