Subject: CVS commit: othersrc/usr.bin/tnftp/src
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 05/31/2005 02:16:27
Module Name:	othersrc
Committed By:	lukem
Date:		Tue May 31 02:16:27 UTC 2005

Update of /cvsroot/othersrc/usr.bin/tnftp/src
In directory ivanova.netbsd.org:/tmp/cvs-serv26927

Log Message:
Import ftp from NetBSD 20050531.
Changes:
* Helps if the definition of xconnect() matches its declaration....
* Fix some cast issues highlighted by Scott Reynolds using gcc 4 on OSX.4
* Use size_t instead of int where appropriate.
* Make this compile on sparc64 (size_t != int).
* Printf field widths and size_t don't always mix well, so cast to int.
  Fixes build problem for alpha.
* Some const cleanups.
* tab cleanup
* Improve method used in fileindir() to determine if `file' is in or under
  `dir': realpath(3) on non-NetBSD systems may fail if the target filename
  doesn't exist, so instead use realpath(3) on the parent directory of `file'.
  Per discussion with Todd Eigenschink.
* formatbuf(): fix %m and %M to use the hostname, not the username.
* fetch_ftp(): preserve 'anonftp' across a disconnect() so that multiple
  ftp auto-fetches on the same command line login automatically.
* auto_fetch(): use an initialized volatile int to appease IRIX cc.


Vendor Tag:	TNF
Release Tags:	NetBSD-20050531
		
C othersrc/usr.bin/tnftp/src/Makefile
C othersrc/usr.bin/tnftp/src/cmds.c
C othersrc/usr.bin/tnftp/src/cmdtab.c
C othersrc/usr.bin/tnftp/src/complete.c
C othersrc/usr.bin/tnftp/src/domacro.c
C othersrc/usr.bin/tnftp/src/extern.h
C othersrc/usr.bin/tnftp/src/fetch.c
C othersrc/usr.bin/tnftp/src/ftp.1
C othersrc/usr.bin/tnftp/src/ftp.c
C othersrc/usr.bin/tnftp/src/ftp_var.h
C othersrc/usr.bin/tnftp/src/main.c
C othersrc/usr.bin/tnftp/src/progressbar.c
C othersrc/usr.bin/tnftp/src/progressbar.h
C othersrc/usr.bin/tnftp/src/ruserpass.c
C othersrc/usr.bin/tnftp/src/util.c
U othersrc/usr.bin/tnftp/src/version.h

15 conflicts created by this import.
Use the following command to help the merge:

	cvs checkout -jTNF:yesterday -jTNF othersrc/usr.bin/tnftp/src