Eric Blake wrote:
> > The error function uses program_name, which is defined in the progname
> > module.
>
> Thanks for the patch; however, the current state of things in this area is
> intentional.  error is LGPL, whereas progname is GPL.  RMS does not want
> additional baggage accompanying the error module, so an LGPL user must
> provide their own replacement program_name, and a GPL user should manually
> be using the progname module.

Additionally, using the progname module is not something that can be done
implicitly. It requires that every main() function is modified to set
program_name as one of its first actions.

Documentation is indeed lacking for this topic. Sven, care to write some?

Bruno



Reply via email to