Date: Fri, 22 Nov 1996 10:51:29 -0800 (PST) From: Bill Fenner <fenner> To: mhugo@dataphone.se, fenner, freebsd-bugs Subject: Re: misc/2083 Message-ID: <199611221851.KAA09854@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: Resolver in 2.1.6 stable State-Changed-From-To: open-closed State-Changed-By: fenner State-Changed-When: Fri Nov 22 10:44:21 PST 1996 State-Changed-Why: Fixed in rev 1.4.4.6 of src/lib/libc/net/gethostbydns.c, just moments ago. Patch attached so you don't have to wait for the sup scan. Index: gethostbydns.c =================================================================== RCS file: /home/ncvs/src/lib/libc/net/gethostbydns.c,v retrieving revision 1.4.4.5 retrieving revision 1.4.4.6 diff -c -r1.4.4.5 -r1.4.4.6 *** gethostbydns.c 1996/11/20 18:36:37 1.4.4.5 --- gethostbydns.c 1996/11/22 18:07:52 1.4.4.6 *************** *** 53,59 **** #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93"; ! static char rcsid[] = "$Id: gethostbydns.c,v 1.4.4.5 1996/11/20 18:36:37 pst Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> --- 53,59 ---- #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93"; ! static char rcsid[] = "$Id: gethostbydns.c,v 1.4.4.6 1996/11/22 18:07:52 fenner Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> *************** *** 391,396 **** --- 391,398 ---- h_errno = NETDB_INTERNAL; return (NULL); } + + host.h_length = INT32SZ; /* * if there aren't any dots, it could be a user-level alias.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611221851.KAA09854>