mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
* file.c (copy_file_file): In 'Reget' mode take into account
the partially retrieved data when drawing the progress bar. From Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
This commit is contained in:
parent
ee404fbebe
commit
78535f6b60
@ -1,3 +1,8 @@
|
|||||||
|
2006-01-24 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
|
||||||
|
|
||||||
|
* file.c (copy_file_file): In 'Reget' mode take into account
|
||||||
|
the partially retrieved data when drawing the progress bar.
|
||||||
|
|
||||||
2006-01-23 Egmont Koblinger <egmont@uhulinux.hu>
|
2006-01-23 Egmont Koblinger <egmont@uhulinux.hu>
|
||||||
|
|
||||||
* subshell.c: restart write() calls interrupted by sigchld which lead
|
* subshell.c: restart write() calls interrupted by sigchld which lead
|
||||||
|
@ -737,10 +737,10 @@ copy_file_file (FileOpContext *ctx, const char *src_path, const char *dst_path,
|
|||||||
|
|
||||||
file_progress_set_stalled_label (ctx, stalled_msg);
|
file_progress_set_stalled_label (ctx, stalled_msg);
|
||||||
return_status = file_progress_show_bytes (ctx, *progress_bytes +
|
return_status = file_progress_show_bytes (ctx, *progress_bytes +
|
||||||
n_read_total, ctx->progress_bytes);
|
n_read_total + ctx->do_reget, ctx->progress_bytes);
|
||||||
if (return_status == FILE_CONT) {
|
if (return_status == FILE_CONT) {
|
||||||
return_status =
|
return_status =
|
||||||
file_progress_show (ctx, n_read_total, file_size);
|
file_progress_show (ctx, n_read_total + ctx->do_reget, file_size);
|
||||||
}
|
}
|
||||||
mc_refresh ();
|
mc_refresh ();
|
||||||
if (return_status != FILE_CONT)
|
if (return_status != FILE_CONT)
|
||||||
|
Loading…
Reference in New Issue
Block a user