-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
Environment: Ubuntu 20.04, uutils main
branch (git commit d39dcad), GNU coreutils v9.6.3-3189c-dirty.
Steps to reproduce:
head --bytes=-18446744073709551616000 < /dev/null
What happens now: uutils head
complains that the number is too large:
head: invalid number of bytes: '18446744073709551616000': Value too large for defined data type
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
.