Subject: CVS commit: basesrc
To: None <>
From: Luke Mewburn <>
List: source-changes
Date: 07/12/1999 06:20:36
Module Name:	basesrc
Committed By:	lukem
Date:		Mon Jul 12 13:20:36 UTC 1999

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

Log Message:
* change fetch_ftp() to be fully rfc 1738 compliant; if the URL contains
  the an empty directory (e.g, between `some' and `path' in
  `ftp://host/some//path'), then execute `CWD ' (without a path).
  This command will probably fail on rfc 959 compliant servers, so
  issue a warning in this case and bail. [noted by cgd].
  (i wonder if the people who wrote rfc 1738 actually realised that this
  requirement appears to contravene the spec for `cwd' in rfc 959 ?)
* replace isurl() with isipv6addr(), and use appropriately. fixes
  auto-login with `classic ftp URLs' (e.g, `ftp somehost:')
* cleanup and rework some of the ipv6 stuff in parse_url()
* prevent potential coredump in fetch_ftp() when parsing `;type=X'
* KNF a few lines
* fix a couple of comments
* cleanup the man page a bit

To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 basesrc/usr.bin/ftp/extern.h
cvs rdiff -r1.62 -r1.63 basesrc/usr.bin/ftp/fetch.c
cvs rdiff -r1.45 -r1.46 basesrc/usr.bin/ftp/ftp.1
cvs rdiff -r1.47 -r1.48 basesrc/usr.bin/ftp/main.c
cvs rdiff -r1.54 -r1.55 basesrc/usr.bin/ftp/util.c

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