]> git.ipfire.org Git - thirdparty/libbsd.git/commit
Provide a default progname on Windows
authorAaron Dierking <aarond@fb.com>
Thu, 5 Jul 2018 21:47:47 +0000 (14:47 -0700)
committerGuillem Jover <guillem@hadrons.org>
Sun, 7 Feb 2021 00:28:27 +0000 (01:28 +0100)
commit68f980c90d914e5fd6f7512e00dec334dbb71bed
treed28e353bdbb92179bdf34d904600b1e753043602
parent37a9b56c05339301510213c41fc507ea31cc2464
Provide a default progname on Windows

[guillem@hadrons.org:
 - Remove .exe extension from default program name.
 - Call reallocarray() once by switching to a «do {} while» loop.
 - Minor coding style fixes. ]

Signed-off-by: Guillem Jover <guillem@hadrons.org>
src/progname.c