bug-gnulib
[Top][All Lists]
Advanced

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

Re: snprintfv for gnulib?


From: Bruno Haible
Subject: Re: snprintfv for gnulib?
Date: Fri, 23 Feb 2007 22:15:17 +0100
User-agent: KMail/1.5.4

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

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