Hello!
On Wed, 2006-05-24 at 14:37 +0200, Leonard den Ottolander wrote:
Hi,
Building mc on Minix-3.1.2 last weekend I stumbled over this piece of
code:
vfs/ftpfs.c:1346
#ifdef HAVE_STRUCT_LINGER_L_LINGER
li.l_onoff = 1;
li.l_linger = 120;
setsockopt (sock, SOL_SOCKET,
On Thu, 2006-05-25 at 18:35 +0200, Leonard den Ottolander wrote:
Hello Pavel,
On Thu, 2006-05-25 at 02:15 -0400, Pavel Roskin wrote:
Nothing odd. HAVE_STRUCT_LINGER_L_LINGER means that there is structure
linger with field l_linger. That field (and the whole structure) is not
used if
On Thu, 25 May 2006, Pavel Roskin wrote:
And disable the call to setsockopt() altogether?
Yes. To be pedantic, it would be nice to research whether this option
is needed and why it's only needed for FTP but not for other VFS
implementations.
I guess it has to do with the ABOR command. I
Hi,
Building mc on Minix-3.1.2 last weekend I stumbled over this piece of
code:
vfs/ftpfs.c:1346
#ifdef HAVE_STRUCT_LINGER_L_LINGER
li.l_onoff = 1;
li.l_linger = 120;
setsockopt (sock, SOL_SOCKET, SO_LINGER, (char *) li, sizeof (li));
#else
setsockopt (sock, SOL_SOCKET,