Rev 9636 | Rev 9689 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9636 | Rev 9685 | ||
---|---|---|---|
Line 493... | Line 493... | ||
493 | { |
493 | { |
494 | BDVK dir_info; |
494 | BDVK dir_info; |
495 | dword folders; |
495 | dword folders; |
496 | dword files; |
496 | dword files; |
497 | dword bytes; |
497 | dword bytes; |
- | 498 | dword bytes_high; |
|
498 | dword get(); |
499 | dword get(); |
499 | dword calculate_loop(); |
500 | dword calculate_loop(); |
500 | }; |
501 | }; |
Line 501... | Line 502... | ||
501 | 502 | ||
502 | :dword DIR_SIZE::get(dword way1) |
503 | :dword DIR_SIZE::get(dword way1) |
503 | { |
504 | { |
504 | folders = files = bytes = 0; |
505 | folders = files = bytes = bytes_high = 0; |
505 | if (!way1) return 0; |
506 | if (!way1) return 0; |
506 | calculate_loop(way1); |
507 | calculate_loop(way1); |
Line 507... | Line 508... | ||
507 | } |
508 | } |
Line 529... | Line 530... | ||
529 | } |
530 | } |
530 | else |
531 | else |
531 | { |
532 | { |
532 | GetFileInfo(cur_file, #dir_info); |
533 | GetFileInfo(cur_file, #dir_info); |
533 | bytes += dir_info.sizelo; |
534 | bytes += dir_info.sizelo; |
- | 535 | bytes_high += dir_info.sizehi; |
|
534 | files++; |
536 | files++; |
535 | } |
537 | } |
536 | } |
538 | } |
537 | free(cur_file); |
539 | free(cur_file); |
538 | free(dirbuf); |
540 | free(dirbuf); |