Mike write:
> thanks, but didnt you just post this with a different e-mail address ?
> while
> it wont get merged, i imagine other people may find it useful.
Sorry, i have to change my email and i have to finish progress bar
patch.
> i'd point out that your usage of size_t types wont fly in a 32bit
> world and
> LFS. you should convert all of your internal size units to off_t's
> instead.
> then test copying a file that is over 2 gigs in size.
Test with 2 GiB size:
[EMAIL PROTECTED]:~:$ du -h mov.tar.gz
2.6G mov.tar.gz
Example 1:
[EMAIL PROTECTED]:~:$ ./cp -B mov.tar.gz /tmp
[============> ] 26% | 6696.00 KiB/s
| 0.70/2.58 GiB | ETA: 00:04:55
Example 2:
[EMAIL PROTECTED]:~:$ ./cp -B mov.tar.gz /tmp
[==================================================] 100% | 18232.00 KiB/s
| 2.58/2.58 GiB | ETA: 00:00:00
I wait a your response
Thanks and regards
Andrea
--- Begin Message ---
On Friday 21 December 2007, Andrea Di Pasquale wrote:
> Hi! I've patched coreutils 5.94/6.9 for add cp's progress bar.
thanks, but didnt you just post this with a different e-mail address ? while
it wont get merged, i imagine other people may find it useful.
i'd point out that your usage of size_t types wont fly in a 32bit world and
LFS. you should convert all of your internal size units to off_t's instead.
then test copying a file that is over 2 gigs in size.
-mike
signature.asc
Description: This is a digitally signed message part.
--- End Message ---
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils