Re: [PATCH] modules/error: depend on progname module

2007-01-08 Thread Karl Berry
Documentation is indeed lacking for this topic. Sven, care to write some?

I rewrote the previous msg as doc/error.texi, and just added your point
about program_name and main to it.

Cheers,
k




Re: [PATCH] modules/error: depend on progname module

2007-01-08 Thread Bruno Haible
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





Re: [PATCH] modules/error: depend on progname module

2006-12-28 Thread Sven Verdoolaege
On Wed, Dec 27, 2006 at 09:24:01PM -0700, Eric Blake wrote:
> According to [EMAIL PROTECTED] on 12/27/2006 2:16 AM:
> > From: Sven Verdoolaege <[EMAIL PROTECTED]>
> > 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.

I see.  Is this documented somewhere ?
If so, then sorry that I didn't notice and if not, then maybe you should.

Thanks,

skimo




Re: [PATCH] modules/error: depend on progname module

2006-12-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to [EMAIL PROTECTED] on 12/27/2006 2:16 AM:
> From: Sven Verdoolaege <[EMAIL PROTECTED]>
> 
> 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.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFk0bJ84KuGfSFAYARAgO4AJ4mK6x5Vft6cjV5VEJJkAa3+ZZBQQCgxulc
Jokfw0iI8k03te6GC7BhbP8=
=6H58
-END PGP SIGNATURE-