Subject: CVS commit: [netbsd-1-5] basesrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 09/04/2002 05:30:53
Module Name:	basesrc
Committed By:	itojun
Date:		Wed Sep  4 02:30:52 UTC 2002

Modified Files:
	basesrc [netbsd-1-5]: CHANGES-1.5.4
	basesrc/lib/libc/net [netbsd-1-5]: getaddrinfo.c gethnamaddr.c
	    getnetnamadr.c

Log Message:
lib/libc/net/getaddrinfo.c			1.56
lib/libc/net/res_mkquery.c			1.22
  correct bad practice in the code - it uses two changing variables
  to manage buffer (buf and buflen).  we eliminate buflen and use
  fixed point (ep) as the ending pointer.

lib/libc/net/getaddrinfo.c			1.50
  remove redundant declarations of h_errno and __hostalias

lib/libc/net/getaddrinfo.c			1.52
  make sure "qname" argument to getanswer() is properly given.  from lukem

lib/libc/net/getaddrinfo.c			1.54
lib/libc/net/gethnamaddr.c			1.43,1.49-1.50
lib/libc/net/getnetnamadr.c			1.23
  use snprintf, string manipulation cleanups

lib/libc/net/getaddrinfo.c			1.57-1.59
  correct port range check and signed/unsigned mixup

lib/libc/net/getaddrinfo.c			1.60-1.61
  lint clean

lib/libc/net/getaddrinfo.c			1.62
lib/libc/net/gethnamaddr.c			1.51
  drop AAAA reply with IPv4 mapped address.  sync w/kame
  draft-itojun-v6ops-v4mapped-harmful-00.txt

lib/libc/net/getaddrinfo.c			1.63
lib/libc/net/gethnamaddr.c			1.52
lib/libc/net/getnetnamadr.c			1.24
  allocate 64K recieve buffer for DNS responses.

lib/libc/net/gethnamaddr.c			1.38
  Varargsify dprintf to allow for format string checking

lib/libc/net/gethnamaddr.c			1.39
lib/libc/net/getnetnamadr.c			1.20
  remove redundant declarations.

lib/libc/net/gethnamaddr.c			1.41
  do not reverse-lookup scoped IPv6 address.  it does not make sense as
  there's no way to give scope identifier.  sync w/kame

lib/libc/net/gethnamaddr.c			1.42
  style

lib/libc/net/gethnamaddr.c			1.45
  do not pass uninitialized variable to nsdispatch().

lib/libc/net/gethnamaddr.c			1.48
  query ip6.arpa then ip6.int for IPv6 reverse lookup.  follows RFC3152.


To generate a diff of this commit:
cvs rdiff -r1.1.2.16 -r1.1.2.17 basesrc/CHANGES-1.5.4
cvs rdiff -r1.42.4.4 -r1.42.4.5 basesrc/lib/libc/net/getaddrinfo.c
cvs rdiff -r1.33.4.3 -r1.33.4.4 basesrc/lib/libc/net/gethnamaddr.c
cvs rdiff -r1.19.4.1 -r1.19.4.2 basesrc/lib/libc/net/getnetnamadr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.