Give an accurate diagnostic when `head --bytes=30M' fails.
authorJim Meyering <jim@meyering.net>
Sat, 27 Oct 2001 14:24:42 +0000 (14:24 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 27 Oct 2001 14:24:42 +0000 (14:24 +0000)
commit58b5f108f2365f5afa9f828f5a397e162d0ea38c
tree2643dca1b8bf95d711995bb0ab1325c4aa9ffcaf
parent93a207af8d199e32f9971b99e7a0e398b7d0c5b6
Give an accurate diagnostic when `head --bytes=30M' fails.
(string_to_integer): Check explicitly for overflow,
and lump everything else together as `invalid'.
src/head.c