[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] new module proposal: verror
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] new module proposal: verror |
Date: |
Tue, 8 Aug 2006 18:01:08 +0200 |
User-agent: |
KMail/1.9.1 |
Eric Blake wrote:
> Unfortunately, xvasprintf is not LGPL, so the verror module cannot be LGPL
> for
> now
Yes; it does not make sense for a library to call a function that may call
xalloc_die(). Using xvasprintf results in small and maintainable code.
You could also do it without xvasprintf: perform similar code as in
error.c, really calling vfprintf. To avoid the code duplication, you
could move the bulk of code from error.c to verror.c and then have the
'error' module rely on 'verror'.
Bruno
- new module proposal: verror, Eric Blake, 2006/08/04
- Re: new module proposal: verror, Ben Pfaff, 2006/08/04
- Re: [bug-gnulib] new module proposal: verror, Bruno Haible, 2006/08/08
- Re: new module proposal: verror, Eric Blake, 2006/08/08
- Re: new module proposal: verror, Eric Blake, 2006/08/08
- Re: new module proposal: verror, Eric Blake, 2006/08/10
- Re: new module proposal: verror, Ralf Wildenhues, 2006/08/10
- Re: new module proposal: verror, Eric Blake, 2006/08/10
- Re: [bug-gnulib] Re: new module proposal: verror, Bruno Haible, 2006/08/10