Module Name: src Committed By: christos Date: Fri Aug 16 15:27:12 UTC 2013
Modified Files: src/lib/libc/net: gethnamaddr.c getnameinfo.c sethostent.c Added Files: src/lib/libc/net: hostent.h Log Message: Add not advertised reentrant functions: {get,set,end}hostent_r, gethostbyname{,2}_r, gethostbyaddr_r. Make getnameinfo(3) use gethostbyaddr_r(3) so it is re-entrant (ahem __ypdomain). These are not being advertised because there is a bunch of different implementation of them that have a variety of type signatures. If people want to follow someone's implementation, it is now easy. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/lib/libc/net/gethnamaddr.c cvs rdiff -u -r1.53 -r1.54 src/lib/libc/net/getnameinfo.c cvs rdiff -u -r0 -r1.1 src/lib/libc/net/hostent.h cvs rdiff -u -r1.17 -r1.18 src/lib/libc/net/sethostent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.