From owner-freebsd-stable@FreeBSD.ORG Fri Jan 1 14:28:30 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21243106568B for ; Fri, 1 Jan 2010 14:28:30 +0000 (UTC) (envelope-from usselmann.m@icg-online.de) Received: from oslo074.server4you.de (oslo074.server4you.de [62.75.178.74]) by mx1.freebsd.org (Postfix) with ESMTP id 8170F8FC1A for ; Fri, 1 Jan 2010 14:28:29 +0000 (UTC) Received: (qmail 10939 invoked from network); 1 Jan 2010 15:28:35 +0100 Received: from p54b26d87.dip.t-dialin.net (HELO icg-pc209.icg-pc213) (84.178.109.135) by oslo074.server4you.de with SMTP; 1 Jan 2010 15:28:35 +0100 Date: Fri, 1 Jan 2010 15:28:27 +0100 From: Manfred Usselmann To: David Horn Message-Id: <20100101152827.8eabdf9e.usselmann.m@icg-online.de> In-Reply-To: <25ff90d60912141451y50137b09qa2d5c380093dd8d5@mail.gmail.com> References: <20091213103237.d01b51f2.usselmann.m@icg-online.de> <25ff90d60912132123x77198b1o6bfad3bffe0d01a0@mail.gmail.com> <20091214081716.f6e96b85.usselmann.m@icg-online.de> <20091214233123.a5b178c2.usselmann.m@icg-online.de> <25ff90d60912141451y50137b09qa2d5c380093dd8d5@mail.gmail.com> Organization: ICG IT Consulting GmbH X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.3; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: duplicity ftp backup / ncftp no longer working since 8.0-Release X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 14:28:30 -0000 On Mon, 14 Dec 2009 17:51:31 -0500 David Horn wrote: > On Mon, Dec 14, 2009 at 5:31 PM, Manfred Usselmann > wrote: > > On Mon, 14 Dec 2009 08:17:16 +0100 > > Manfred Usselmann wrote: > > > >> On Mon, 14 Dec 2009 00:23:17 -0500 > >> David Horn wrote: > >> > >> > I believe that there is something unusual going on with the checking > >> > on select() return in ncftp3. =A0If you change every instance of > >> > select() result checking in ftp/ncftp3 from "=3D=3D1" to ">=3D1" the= problem > >> > seems to go away. > >> > > >> > result =3D select(sfd + 1, NULL, SELECT_TYPE_ARG234 &ss, NULL, > >> > SELECT_TYPE_ARG5 &tv); > >> > -if (result =3D=3D 1) { > >> > +if (result >=3D 1) { > >> > >> I will try this. > > > > Did work for me! > > > > Thanks, > > Manfred >=20 > OK. I will try to report it to the upstream (ncftp.com/contact), and > failing that we could always patch as part of the ncftp 3.2.3 update > into freebsd ports, but glad to hear it worked for you. The port has been updated to 3.2.3 but without a fix. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D140934 mentions a fix to FreeBSD 8 which sounds like it should have solved our issue. Don't know why it didn't. Regards, Manfred --=20 Manfred Usselmann ICG IT Consulting GmbH, Kelkheim