Re: [PATCH] hotlist.c - fix coredump (trivial)
- From: Pavel Roskin <proski gnu org>
- To: Andrey Panov <pav metib ru>
- Cc: mc-devel gnome org
- Subject: Re: [PATCH] hotlist.c - fix coredump (trivial)
- Date: Tue, 7 May 2002 01:42:34 -0400 (EDT)
Hello!
> This will prevent MC from dumping core if user pressed Del in Active VFS
> dialog. (Ctrl-X a)
Thanks! Applied.
> Is there a way to delete selected active vfs? I've read the sources, but
> didn't find an easy way to implement this.
You can delete all VFS by calling vfs_expire(1)
It works on timestamps. But "struct vfs_stamping" has a reference to the
VFS (see vfs.h). You can rewrite vfs_expire() to take VFS id as an
argument and expire only VFS with that id.
--
Regards,
Pavel Roskin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]