diff options
author | Jim Meyering <jim@meyering.net> | 2001-08-25 07:33:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-08-25 07:33:20 +0000 |
commit | 59d2dceb2c2c8ce3ff1ac9a5cfc4e53d5b4c56af (patch) | |
tree | d0b2637359d2eb03f709e79b6c5c0c6ba40daab5 /man | |
parent | b087829d9b0eb660d77b5a23c78d756ce42a8a6f (diff) | |
download | coreutils-59d2dceb2c2c8ce3ff1ac9a5cfc4e53d5b4c56af.tar.xz |
Remove arbitrary restrictions on sizes, fixing a bug reported
by Geoff Whale.
(skip_fields, skip_chars, check_chars): Now size_t, not int.
(size_opt): New function. Do not arbitrarily reject size zero.
Change the wording of the error message slightly, for convenience.
(find_field): Use size_t, not int, to compute sizes.
(different, main): check_chars==0 is no longer a special case, as
it defaults to SIZE_MAX.
(main): Check for overflow with args like -234234234234234.
Use 'size_opt' to convert optional arguments to sizes.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions