You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we know what the behavior is in case the number of bytes overflows unsigned long long without actually testing it (it would be kind of costly I guess) ? Like is it said somewhere esle than the actual int type in the GNU code ?
If not, maybe we can cap the value to u64::MAX, and assume this will be enough until someone proves us otherwise.
Environment: Ubuntu 20.04, uutils
main
branch (git commit d39dcad), GNU coreutils v9.6.3-3189c-dirty.Steps to reproduce:
What happens now: uutils
head
complains that the number is too large:What I expected to happen: GNU
head
terminates successfully with no output.Notes: this is causing a failure in the GNU test file
tests/head/head-c.sh
.The text was updated successfully, but these errors were encountered: