Date: Fri, 21 Apr 2006 11:33:44 GMT From: soc-bushman <soc-bushman@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95786 for review Message-ID: <200604211133.k3LBXidc046551@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95786 Change 95786 by soc-bushman@soc-bushman_stinger on 2006/04/21 11:32:45 cached.conf added to /etc + parameters order fixed in host_id, host_marhsal and host_unmarshal functions Affected files ... .. //depot/projects/soc2005/nsswitch_cached/src/etc/cached.conf#1 branch .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/gethostnamadr.c#9 edit Differences ... ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/gethostnamadr.c#9 (text+ko) ==== @@ -365,7 +365,6 @@ char *str; int len, type; struct hostent *ht; - struct hostent_data *ht_data; char *p; char **iter; @@ -388,10 +387,8 @@ } ht = va_arg(ap, struct hostent *); - ht_data = va_arg(ap, struct hostent_data *); - - orig_buf = ht_data->hostbuf; - orig_buf_size = sizeof(ht_data->hostbuf); + orig_buf = va_arg(ap, char *); + orig_buf_size = va_arg(ap, size_t); if (orig_buf_size < buffer_size - sizeof(struct hostent) - sizeof(char *)) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604211133.k3LBXidc046551>