This patch will make the module usable from a library context, it will not call error() unless specifically asked to. Can you please apply it to the trunk and ask the maintainer to relicense to LGPL ?
Thanks, Or On Mon, Aug 26, 2013 at 4:04 PM, Eric Blake <ebl...@redhat.com> wrote: > [please don't top-post] > > On 08/26/2013 07:00 AM, Or Goshen wrote: > > Certainly changing this behavior and rewriting it so it will return with > an > > error code instead of aborting would increase the usefulness of this > module > > ? > > I'll be happy to provide a patch if that is the straw that keeps the > > maintainer from relaxing the license > > You are more than welcome to try patches that make the module usable > from a library context, as it does seem like a worthwhile feature to > offer from a library. I will warn, however, that the current maintainer > of the module is listed as Bruno Haible, and he has been relatively slow > at responding to license requests lately; this may be a case where we > have to appeal to the FSF (and get rms' permission) if we can't track > down permission from the original author, and that may be time-consuming > even if we have patches in hand to eliminate calls to exit(). > > -- > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org > >
call error() only if exit_on_error is set on all occations.patch
Description: Binary data