Re: SO_LINGER used when not HAVE_STRUCT_LINGER_L_LINGER

2006-05-25 Thread Pavel Roskin
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,

Re: SO_LINGER used when not HAVE_STRUCT_LINGER_L_LINGER

2006-05-25 Thread Pavel Roskin
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

Re: SO_LINGER used when not HAVE_STRUCT_LINGER_L_LINGER

2006-05-25 Thread Pavel Tsekov
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

[bug #4248] Viewer can crash the system dead when in GUI

2006-05-25 Thread Jozef Behran
Follow-up Comment #3, bug #4248 (project mc): The problem is not where the swapping is handled or whether a device buffer is empty or not. The problem is that the viewer when subjected to the commands outlined in the report, it will read and read and read and read ... until a hard operating

[PATCH] Re: Mailfs date problem

2006-05-25 Thread Leonard den Ottolander
Hi, On Fri, 2006-05-19 at 00:06 +0200, Leonard den Ottolander wrote: Pavel Tsekov drew my attention to the fact that the fact that we now only parse dates with 3 elements (either year or time, not both) broke mailfs. I intend to fix this, but haven't had time to look into this thoroughly.

Re: [PATCH] Re: Mailfs date problem

2006-05-25 Thread Leonard den Ottolander
Hi, On Fri, 2006-05-26 at 00:02 +0200, Leonard den Ottolander wrote: Attached file is a replacement for mailfs. Please test. Oops. I forgot to remove some brackets for the fallback. Please assume the brackets except the two outer ones are not there. Leonard. -- mount -t life -o ro /dev/dna

Quoting of variables in fsusage.m4 and ls-mntd-fs.m4

2006-05-25 Thread Leonard den Ottolander
Hi Roland, You didn't add a change log entry for your quote fixes(?), only a CVS log entry. Could you add one? Are these variables really worth quoting? They seem to be either yes or no. If they are worth quoting you might want to report this to the coreutils maintainers. Leonard. -- mount -t

statvfs.h

2006-05-25 Thread Leonard den Ottolander
Hello Roland, In fsusage.m4 I read: Do not use statvfs on systems with GNU libc, because that function stats all preceding entries in /proc/mounts, and that makes df hang if even one of the corresponding file systems is hard-mounted, but not available. Does your latest commit to configure.ac