On Thu, Feb 08, 2007 at 03:19:57PM -0800, Paul Eggert wrote: > "John McCabe-Dansted" <[EMAIL PROTECTED]> writes: > > > Hi, the pspp-dev@gnu.org 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 ([EMAIL PROTECTED])