pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/43316: tnftp on HP-UX broken
The following reply was made to PR pkg/43316; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/43316: tnftp on HP-UX broken
Date: Mon, 17 May 2010 04:05:43 +0000
On Sun, May 16, 2010 at 10:10:00PM +0000, panos%panix.eu@localhost wrote:
> tnftp gives the following error:
>
> ftp: Unable to get default rcvbuf size: Bad addres
>
> This is due to:
> getsockopt(s, SOL_SOCKET, SO_SNDBUF,
> (void *)&sndbuf_size, &slen) == -1)
> err(1, "Unable to get default sndbuf size"
Well, more likely it's the rcvbuf case four lines further up... but as
they're basically the same it shouldn't make much difference.
"Bad address" is strange though, because that normally means EFAULT,
i.e., a bad pointer, and the two pointers passed to getsockopt are
generated with & and are therefore more or less necessarily valid.
Can you run it in truss?
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index