Subject: CVS commit: src/usr.bin/ftp
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 07/20/2004 10:40:24
Module Name:	src
Committed By:	lukem
Date:		Tue Jul 20 10:40:24 UTC 2004

Modified Files:
	src/usr.bin/ftp: cmds.c fetch.c ftp.c ftp_var.h main.c util.c version.h

Log Message:
If an ftp auto-fetch transfer is interrupted by SIGINT (usually ^C),
exit with 130 instead of 1 (or rarely, 0).
This allows an ftp auto-fetch in a shell loop to correctly terminate the loop.
Should fix PR [pkg/26351], and possibly others.


To generate a diff of this commit:
cvs rdiff -r1.105 -r1.106 src/usr.bin/ftp/cmds.c
cvs rdiff -r1.147 -r1.148 src/usr.bin/ftp/fetch.c
cvs rdiff -r1.125 -r1.126 src/usr.bin/ftp/ftp.c
cvs rdiff -r1.66 -r1.67 src/usr.bin/ftp/ftp_var.h
cvs rdiff -r1.88 -r1.89 src/usr.bin/ftp/main.c
cvs rdiff -r1.115 -r1.116 src/usr.bin/ftp/util.c
cvs rdiff -r1.36 -r1.37 src/usr.bin/ftp/version.h

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