Hi, I noticed that my /etc/host.conf is mostly useless: order bind,hosts multi on The "order" line doesn't have any effect, only the "hosts:" line of /etc/nsswitch.conf has effect. And indeed, the _res_hconf structure is almost never used in libc: only _res_hconf.{flags,num_trimdomains,trimdomain} are used. I guess this is on purpose since the future is /etc/nsswitch.conf, but for much better readibility, res_hconf.c should probably get some cleanup. I'll submit a separate bug report to manpages for removing most of the /etc/host.conf documentation (since it does not work any more) Regards, Samuel
Do you have a patch containing the code changes you think should occur?
Created attachment 933 [details] Removes unused num_services and service fields of struct hconf, and the corresponding initialization functions
I applied a modified version of the patch. We cannot mark 'order' lines as errors. They have to be ingred for compatibility. And you changed teh libc ABI by changing the hconf structure.