Date: Fri, 1 Jan 2010 15:28:27 +0100 From: Manfred Usselmann <usselmann.m@icg-online.de> To: David Horn <dhorn2000@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: duplicity ftp backup / ncftp no longer working since 8.0-Release 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Dec 2009 17:51:31 -0500
David Horn <dhorn2000@gmail.com> wrote:
> On Mon, Dec 14, 2009 at 5:31 PM, Manfred Usselmann
> <usselmann.m@icg-online.de> wrote:
> > On Mon, 14 Dec 2009 08:17:16 +0100
> > Manfred Usselmann <usselmann.m@icg-online.de> wrote:
> >
> >> On Mon, 14 Dec 2009 00:23:17 -0500
> >> David Horn <dhorn2000@gmail.com> wrote:
> >>
> >> > I believe that there is something unusual going on with the checking
> >> > on select() return in ncftp3. If you change every instance of
> >> > select() result checking in ftp/ncftp3 from "==1" to ">=1" the problem
> >> > seems to go away.
> >> >
> >> > result = select(sfd + 1, NULL, SELECT_TYPE_ARG234 &ss, NULL,
> >> > SELECT_TYPE_ARG5 &tv);
> >> > -if (result == 1) {
> >> > +if (result >= 1) {
> >>
> >> I will try this.
> >
> > Did work for me!
> >
> > Thanks,
> > Manfred
>
> 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=140934 mentions a fix to
FreeBSD 8 which sounds like it should have solved our issue. Don't know
why it didn't.
Regards,
Manfred
--
Manfred Usselmann <usselmann.m@icg-online.de>
ICG IT Consulting GmbH, Kelkheim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100101152827.8eabdf9e.usselmann.m>
