On Tue, Jan 25, 2011 at 09:40:46PM +0100, Fabian Groffen wrote: > Try some replacements, such as getexecname() on Solaris and __progname > on BSDs and Darwin. When not found, base program_invocation_short_name > on the source filename it is used in, as not to require argv[0] to be > passed along. This latter approach is not dynamic, but doesn't require > code changes for all places where program_invocation_short_name is used > now. Applied, thanks. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html