-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Sergey Poznyakoff on 9/8/2006 11:42 PM: > Hello, > > I'd like to install the following change to error.c in order to > better cooperate with argp. Any objections?
Careful. error.c is (mostly) synced upstream with glibc (right now, all but the comments and a couple of #include order issues), but this would widen the gap. As it is, error.c already has a check inside _LIBC that does exactly this; since glibc provides program_invocation_name already set to the right value. Also, how would this interact with the progname module? Maybe a better approach would be to make argp and progname play nicely; and on glibc systems, use the existing program_invocation_name. It may also be worth trying to push a change upstream to glibc to use program_invocation_name instead of program_name, and simplify error.c. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFAt2W84KuGfSFAYARApjzAJ4qZXJhYBKV7S9niCRtuw93j2pysACgmAG+ b6y7BJ+H32tsq2gP6lEXeGw= =j9y4 -----END PGP SIGNATURE-----