[MC BUG, PATCH] moved files are accounted twice
Wed Jul 9 05:51:30 UTC 2003
Hi!
When moving >1 files every file is accounted twice in "count" progress bar.
Each file is copied with copy_file_file() (which does accounting) and
then removed.
Following patch fixes this (don't know if this has any side effects).
Consider applying. Patch is against current CVS.
Cheers,
Vita Samel
diff -urN mc/src/file.c mc.new/src/file.c
--- mc/src/file.c Mon Jun 2 20:13:43 2003
+++ mc.new/src/file.c Wed Jul 9 07:46:27 2003
@@ -1217,12 +1217,6 @@
return return_status;
}
- if (return_status == FILE_CONT)
- return_status = progress_update_one (ctx,
- progress_count,
- progress_bytes,
- src_stats.st_size, 1);
-
return return_status;
}
More information about the mc-devel
mailing list