Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 08/06/2000 11:51:23
Module Name:	basesrc
Committed By:	lukem
Date:		Sun Aug  6 08:51:23 UTC 2000

Modified Files:
	basesrc/usr.bin/ftp: extern.h fetch.c ftp.c util.c version.h

Log Message:
* implement parseport(), which takes a string and attempts to convert
  it to a numeric port number
* use parseport() in parse_url() and hookup()
* don't try and lookup the port number using getaddrinfo(), as it's too hard
  to separate a failed host name lookup from a failed service name lookup.
  this was causing lossage on systems that don't have `http' in services(5)
  (such as solaris), but only crept in when we started using getaddrinfo()
  unconditionally.


To generate a diff of this commit:
cvs rdiff -r1.58 -r1.59 basesrc/usr.bin/ftp/extern.h
cvs rdiff -r1.121 -r1.122 basesrc/usr.bin/ftp/fetch.c
cvs rdiff -r1.107 -r1.108 basesrc/usr.bin/ftp/ftp.c
cvs rdiff -r1.99 -r1.100 basesrc/usr.bin/ftp/util.c
cvs rdiff -r1.19 -r1.20 basesrc/usr.bin/ftp/version.h

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