mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Ticket #2605 (FISH: mc hangs while copy lot of small files)
fixed fish-script 'get'. Steps to reproduce: create lot of small files try to copy these files throught FISH VFS mc hangs Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
This commit is contained in:
parent
3f816dbb5d
commit
d6cbefb146
@ -23,7 +23,7 @@ if (open IFILE,$filename) {
|
||||
}
|
||||
printf("### 100\n");
|
||||
seek (IFILE, $pos, 0);
|
||||
while ($n = read(IFILE,$content,$blocks)!= 0) {
|
||||
while ($n = read(IFILE,$content,$blksize)!= 0) {
|
||||
print $content;
|
||||
}
|
||||
close IFILE;
|
||||
|
Loading…
Reference in New Issue
Block a user