CVSROOT: /cvs Module name: src Changes by: st...@cvs.openbsd.org 2014/01/14 19:25:34
Modified files: lib/libc/asr : res_init.c Log message: Initialise _res.nsaddr_list in res_init(), fixing some programs which depend on bind resolver internals. Note, the list will not be updated if resolv.conf is changed while the program runs unless the caller resets the RES_INIT flag. Approach suggested by otto@, original diff from Kapetanakis Giannis, fix suggested by tedu@ and dug up again by Riccardo Mottola. Looks ok to eric@.