Received: by mail.netbsd.org (Postfix, from userid 605) id 4C88D14A253; Sat, 10 Dec 2011 05:54:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E101F14A24F for ; Sat, 10 Dec 2011 05:53:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id b6IQUV8S8hrT for ; Sat, 10 Dec 2011 05:53:59 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 46D6914A227 for ; Sat, 10 Dec 2011 05:53:59 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 4E582175DD; Sat, 10 Dec 2011 05:53:59 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sat, 10 Dec 2011 05:53:59 +0000 From: "Luke Mewburn" Subject: CVS commit: src/usr.bin/ftp To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20111210055359.4E582175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Luke Mewburn" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: lukem Date: Sat Dec 10 05:53:59 UTC 2011 Modified Files: src/usr.bin/ftp: fetch.c ftp.c main.c util.c Log Message: Move determination of socket buffer sizes from startup to the first time a socket is used, as the previous logic assumed AF_INET sockets were available (which they may not be in an IPv6-only system). Per discussion with Maxim Konovalov and the FreeBSD problem 162661. To generate a diff of this commit: cvs rdiff -u -r1.194 -r1.195 src/usr.bin/ftp/fetch.c cvs rdiff -u -r1.162 -r1.163 src/usr.bin/ftp/ftp.c cvs rdiff -u -r1.119 -r1.120 src/usr.bin/ftp/main.c cvs rdiff -u -r1.155 -r1.156 src/usr.bin/ftp/util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.