Guillem Jover 1497d34760 Initialize __progname to program_invocation_short_name
As we do not have cooperation from the crt0 code to set __progname, we
have to set it ourselves from getprogname() in case it's NULL. On GNU
systems we can use program_invocation_short_name which is actually set
on crt0.
2011-05-14 13:43:49 +02:00
..
2010-01-10 15:29:51 +01:00
2010-01-10 15:29:51 +01:00
2010-01-10 15:29:51 +01:00
2010-01-10 13:36:38 +01:00
2010-01-10 13:36:38 +01:00
2011-05-14 13:43:41 +02:00
2011-05-14 13:43:41 +02:00
2008-05-06 08:54:03 +03:00
2011-05-14 13:43:48 +02:00
2010-01-10 15:29:46 +01:00
2010-01-10 15:29:46 +01:00
2009-12-10 20:54:03 +01:00
2011-02-23 14:44:37 +01:00
2011-02-23 14:44:37 +01:00
2009-05-20 04:14:07 +02:00
2009-10-24 01:11:23 +02:00
2010-01-10 15:29:51 +01:00
2010-01-10 15:29:51 +01:00