Daniel Jacobowitz wrote:
> - I don't know how to make one gnulib module override another yet

There are two ways to achieve this, both in the area of the
package that uses gnulib. Say, you want override 'snprintf'
with 'snprintfv'.
 a) Invoke "gnulib-tool --avoid=snprintf --import snprintfv".
or
 b) Create a gnulib-local directory with a module description
    'modules/snprintf' which has no files, Makefile rules etc.
    but only a dependency on 'snprintfv', and invoke
    "gnulib-tool --local-dir=gnulib-local".

> - There is already a printf parser in gnulib, and it looks as if it
>   was at some point related to snprintfv's.

The one in vasnprintf.h, printf-parse.* and printf-args.*
originated in gettext, and was based on the code in glibc,
by Ulrich Drepper.

Bruno




Reply via email to