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
