]> git.cameronkatri.com Git - mandoc.git/commit
Use getprogname(3) rather than __progname.
authorIngo Schwarze <schwarze@openbsd.org>
Fri, 6 Nov 2015 16:30:33 +0000 (16:30 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Fri, 6 Nov 2015 16:30:33 +0000 (16:30 +0000)
commit3fffa6c6072826f70aebe72863968bffb9d714cc
tree3baa7131a7aebf9cc11c25b444093e25a01efbcc
parent3e3c69e597d7b127284c4d3fc3acbffb42f51999
Use getprogname(3) rather than __progname.
Suggested by Joerg@ Sonnenberger (NetBSD).
Last year, deraadt@ confirmed on tech@ that this "has the potential
to be more portable", and micro-optimizing for speed is not relevant
here.  Also gets rid of one global variable.
Makefile
compat_err.c
compat_progname.c [new file with mode: 0644]
configure
main.c
mandoc_aux.c
mandocdb.c
test-progname.c