diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-02-25 13:52:59 +0100 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2011-05-14 13:43:49 +0200 |
commit | 1497d34760d53777648f91b357762ba8bbb2d5ce (patch) | |
tree | 3f12b176d18c4dc12025b67ef6faa3adc23f9ce9 /src/flopen.c | |
parent | 741eb5876341c0310fe485cc9dd3af75bc9f4ab9 (diff) | |
download | libbsd-1497d34760d53777648f91b357762ba8bbb2d5ce.tar.gz |
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.
Diffstat (limited to 'src/flopen.c')
0 files changed, 0 insertions, 0 deletions