coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

Added support for Percentage in buffer-size in sort

Open zeroishero opened this issue 1 year ago • 4 comments

Fixes issue https://github.com/uutils/coreutils/issues/3500 by adding support for percentags of total memory for the buffer-size flag. The sysinfo crate is used to determine the total memory of a system.

Made this instead of pr #5519

zeroishero avatar Dec 04 '23 11:12 zeroishero

@sylvestre @tertsdiepraam

zeroishero avatar Dec 05 '23 03:12 zeroishero

@zeroishero did you see that test_buffer_sizes fails on i686 platforms with an "attempt to multiply with overflow" error?

cakebaker avatar Dec 06 '23 15:12 cakebaker

@cak when I had checked it, it had shown failed only on Android. I will check it.

zeroishero avatar Dec 06 '23 15:12 zeroishero

GNU testsuite comparison:

Congrats! The gnu test tests/ls/block-size is no longer failing!

github-actions[bot] avatar Dec 25 '23 11:12 github-actions[bot]