Commit 1497d34760d53777648f91b357762ba8bbb2d5ce

Guillem Jover 2011-02-25T13:52:59

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.