Ticket #32 (new defect) — at Initial Version

Opened 15 years ago

Last modified 7 years ago

savannah: mc doesn't clean up tempfiles

Reported by: slavazanko Owned by:
Priority: major Milestone: Future Releases
Component: mc-vfs Version: master
Keywords: Cc: imdagger@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Original: http://savannah.gnu.org/bugs/?13953

Submitted by:Marcel Pol <mpol>Submitted on:Wed 27 Jul 2005 02:40:48 PM UTC
Category:VFSSeverity:3 - Normal
Status:In ProgressPrivacy:Public
Assigned to:Pavel Tsekov <ptsekov>Open/Closed:Open
Release:current (CVS or snapshot)Operating System:GNU/Linux

Discussion:

Mon 03 Apr 2006 02:32:13 PM UTC, comment #4:

Reopening since SFS also leaves stale temporary files when 
operating on remote files. I am working on it.
	Pavel Tsekov <ptsekov>
Project AdministratorIn charge of this item.
Thu 23 Mar 2006 03:04:46 PM UTC, comment #3:

I've just commited a fix:

http://cvs.savannah.gnu.org/viewcvs/mc/vfs/extfs.c?root=mc&sortby=date&r2=1.125&r1=1.124&diff_format=u

The temporary files used to remain only if MC exited before the vfs 
"garbage collector" kicked in.
	Pavel Tsekov <ptsekov>
Project AdministratorIn charge of this item.
Mon 01 Aug 2005 10:01:00 PM UTC, comment #2:

Hi Pavel,

Hope you don't mind me assigning this issue to you :) .
	Leonard den Ottolander <leonardjo>
Project Member
Mon 01 Aug 2005 08:56:00 AM UTC, comment #1:

The suggested patch won't do i.e. it is not the right thing to do. 
I am currently investigating .
	Pavel Tsekov <ptsekov>
Project AdministratorIn charge of this item.
Wed 27 Jul 2005 02:40:48 PM UTC, original submission:

Mc 4.6.1 doesn't clean up tempfiles. This happens with mc-4.6.1 on 
Mandriva Cooker.
This is with and without the utf8 patch.
I only tried it with an rpm, and the cpio file remains in the 
/tmp/mc-user directory after a restart of mc.

$ mc --version
GNU Midnight Commander 4.6.1
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, undelfs
With builtin Editor
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With internationalization support
With multiple codepages support

A patch is available in the mc-devel archive at:
http://mail.gnome.org/archives/mc-devel/2005-May/msg00228.html
This patch has been made by Dieter Jurzitza on Suse 9.3. 
Note: See TracTickets for help on using tickets.