CVSROOT:        /cvs
Module name:    src
Changes by:     e...@cvs.openbsd.org    2012/08/19 10:17:40

Modified files:
        lib/libc/asr   : asr.h asr_resolver.c async_resolver.3 
                         gethostnamadr_async.c getnameinfo_async.c 
                         getnetnamadr_async.c 

Log message:
When building dynamic hostent and netent, allocate a single linear buffer to
hold both the structure and the data. The freehostent() and freenetent() API
functions are not needed anymore.  While there, ensure that the constructed
addr and alias lists are really NULL terminated.

Reply via email to