From owner-freebsd-stable Thu Nov 21 18:11:01 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA06029 for stable-outgoing; Thu, 21 Nov 1996 18:11:01 -0800 (PST) Received: (from fenner@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA06023; Thu, 21 Nov 1996 18:11:00 -0800 (PST) Date: Thu, 21 Nov 1996 18:11:00 -0800 (PST) From: Bill Fenner Message-Id: <199611220211.SAA06023@freefall.freebsd.org> To: jacs@gnome.co.uk, pst Subject: Re: WARNING gethostbydns brocken ? Cc: stable Sender: owner-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Chris, Does this fix it? Bill cvs diff: Diffing . Index: gethostbydns.c =================================================================== RCS file: /home/ncvs/src/lib/libc/net/gethostbydns.c,v retrieving revision 1.4.4.5 diff -c -r1.4.4.5 gethostbydns.c *** gethostbydns.c 1996/11/20 18:36:37 1.4.4.5 --- gethostbydns.c 1996/11/22 02:09:42 *************** *** 392,397 **** --- 392,399 ---- return (NULL); } + host.h_length = INT32SZ; + /* * if there aren't any dots, it could be a user-level alias. * this is also done in res_query() since we are not the only