]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: dev: Unify handling of the program name in all the utilities
authorOndřej Surý <ondrej@isc.org>
Thu, 29 May 2025 04:24:26 +0000 (04:24 +0000)
committerOndřej Surý <ondrej@isc.org>
Thu, 29 May 2025 04:24:26 +0000 (04:24 +0000)
commit33f17c238485cc772a75ec26126346e2989c020f
tree92dcf831b0f428845f17ecad4d208ad3de3a2e37
parentccf7a7dd7ea4dc0c0652e121e415392ca340781c
parenta6765513959ae876d89560f230de7b6a795490f5
chg: dev: Unify handling of the program name in all the utilities

There were several methods how we used 'argv[0]'.  Some programs had a
static value, some programs did use isc_file_progname(), some programs
stripped 'lt-' from the beginning of the name.  And some used argv[0]
directly.

Unify the handling and all the variables into isc_commandline_progname
that gets populated by the new isc_commandline_init(argc, argv) call.

Merge branch 'ondrej/unify-handling-of-the-program-name' into 'main'

See merge request isc-projects/bind9!10502