bind9/lib
Michał Kępień ecea678dac Use dns_fixedname_initname() where possible
Replace dns_fixedname_init() calls followed by dns_fixedname_name()
calls with calls to dns_fixedname_initname() where it is possible
without affecting current behavior and/or performance.

This patch was mostly prepared using Coccinelle and the following
semantic patch:

    @@
    expression fixedname, name;
    @@
    -	dns_fixedname_init(&fixedname);
    	...
    -	name = dns_fixedname_name(&fixedname);
    +	name = dns_fixedname_initname(&fixedname);

The resulting set of changes was then manually reviewed to exclude false
positives and apply minor tweaks.

It is likely that more occurrences of this pattern can be refactored in
an identical way.  This commit only takes care of the low-hanging fruit.

(cherry picked from commit 4df4a8e731)
(cherry picked from commit 0041aeb751)
2018-04-10 13:26:23 -07:00
..
bind9 Use dns_fixedname_initname() where possible 2018-04-10 13:26:23 -07:00
dns Use dns_fixedname_initname() where possible 2018-04-10 13:26:23 -07:00
irs Use dns_fixedname_initname() where possible 2018-04-10 13:26:23 -07:00
isc update file headers 2018-03-15 18:38:48 -07:00
isccc update file headers 2018-03-15 18:38:48 -07:00
isccfg update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
lwres update file headers 2018-03-15 18:38:48 -07:00
samples Use dns_fixedname_initname() where possible 2018-04-10 13:26:23 -07:00
win32/bindevt update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Atffile 4492. [bug] irs_resconf_load failed to initialise sortlistnxt 2016-10-27 13:18:47 +11:00
Kyuafile regen v9_11 2017-12-29 02:23:11 +00:00
Makefile.in update file headers to remove copyright years 2018-03-14 16:40:20 -07:00