CVSROOT: /cvs Module name: src Changes by: e...@cvs.openbsd.org 2013/05/27 11:31:01
Modified files: lib/libc/asr : asr.c asr_debug.c asr_private.h getaddrinfo.c gethostnamadr.c getnameinfo.c getnetnamadr.c getrrsetbyname.c res_init.c res_query.c res_send.c Log message: Add minimal support for _res setup and update. Change res_init() to initialize the _res structure on first call, and udpate the global async context if changes were made by the user. All resolver functions now call res_init() internally. fixes issue spotted by otto@