Subject: Re: READ ME: BIND 4.9.5-P1 and resolver updates.
To: None <current-users@NetBSD.ORG>
From: matthew green <mrg@eterna.com.au>
List: current-users
Date: 04/14/1997 11:59:02
   

i have fixed this problem.  it will appear in tomorrows sup, or you
can apply this patch:


Index: gethostnamadr.c
===================================================================
RCS file: /cvsroot/src/lib/libc/net/gethostnamadr.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -c -r1.21 -r1.22
*** gethostnamadr.c	1997/04/13 10:56:20	1.21
--- gethostnamadr.c	1997/04/14 01:38:26	1.22
***************
*** 1,4 ****
! /*	$NetBSD: gethostnamadr.c,v 1.21 1997/04/13 10:56:20 mrg Exp $	*/
  
  /*
   * ++Copyright++ 1985, 1988, 1993
--- 1,4 ----
! /*	$NetBSD: gethostnamadr.c,v 1.22 1997/04/14 01:38:26 mrg Exp $	*/
  
  /*
   * ++Copyright++ 1985, 1988, 1993
***************
*** 60,66 ****
  static char sccsid[] = "@(#)gethostnamadr.c	8.1 (Berkeley) 6/4/93";
  static char rcsid[] = "Id: gethnamaddr.c,v 8.20 1996/09/28 06:51:07 vixie Exp";
  #else
! static char rcsid[] = "$NetBSD: gethostnamadr.c,v 1.21 1997/04/13 10:56:20 mrg Exp $";
  #endif
  #endif /* LIBC_SCCS and not lint */
  
--- 60,66 ----
  static char sccsid[] = "@(#)gethostnamadr.c	8.1 (Berkeley) 6/4/93";
  static char rcsid[] = "Id: gethnamaddr.c,v 8.20 1996/09/28 06:51:07 vixie Exp";
  #else
! static char rcsid[] = "$NetBSD: gethostnamadr.c,v 1.22 1997/04/14 01:38:26 mrg Exp $";
  #endif
  #endif /* LIBC_SCCS and not lint */
  
***************
*** 558,564 ****
  				dprintf("res_search failed (%d)\n", n);
  				break;
  			}
! 			hp = getanswer(&buf, n, 0, type);
  			break;
  		case 'f':
  			hp = _gethtbyname(name);
--- 558,564 ----
  				dprintf("res_search failed (%d)\n", n);
  				break;
  			}
! 			hp = getanswer(&buf, n, name, type);
  			break;
  		case 'f':
  			hp = _gethtbyname(name);
***************
*** 652,658 ****
  				dprintf("res_query failed (%d)\n", n);
  				break;
  			}
! 			hp = getanswer(&buf, n, 1, T_PTR);
  			if (hp == NULL)
  				break;
  			hp->h_addrtype = af;
--- 652,658 ----
  				dprintf("res_query failed (%d)\n", n);
  				break;
  			}
! 			hp = getanswer(&buf, n, qbuf, T_PTR);
  			if (hp == NULL)
  				break;
  			hp->h_addrtype = af;