[prev in list] [next in list] [prev in thread] [next in thread]
List: util-linux-ng
Subject: Re: [PATCH 5/8] portability: do not use
From: Karel Zak <kzak () redhat ! com>
Date: 2010-07-20 20:02:58
Message-ID: 20100720200257.GP15652 () nb ! net ! home
[Download RAW message or body]
On Tue, Jul 20, 2010 at 07:11:34PM +0200, François Revol wrote:
> do not use the program_invocation_short_name GNU extension but just
> argv[0] instead, and pass it along to usage() fonctions.
This is unacceptable for me.
If you want to port the code to libc without program_invocation_short_name
then add some fallback to lib/ directory (for example some init function
that initialize the global variable before the main() is executed, or so...).
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic