diff options
author | Jim Meyering <meyering@redhat.com> | 2008-06-25 23:15:06 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-06-26 07:48:25 +0200 |
commit | 3d309aa725e529a5e90aacc5594565e21f966537 (patch) | |
tree | 06819a06087f0d60dd30c13fd66a370e19c8953e /ChangeLog-2008 | |
parent | 4f4700cca8927c961ea3319b830b866f036cd990 (diff) | |
download | coreutils-3d309aa725e529a5e90aacc5594565e21f966537.tar.xz |
truncate: handle the case in which off_t != intmax_t
* src/truncate.c (parse_len): Use a temporary of type intmax_t,
rather than off_t; detect out of range [OFF_T_MIN..OFF_T_MAX].
(main) [IF_LINT]: Initialize, to avoid an unwarranted
"may be used uninitialized" warning.
Reported by Michael Geng.
Signed-off-by: Pádraig Brady <P@draigBrady.com>
Diffstat (limited to 'ChangeLog-2008')
0 files changed, 0 insertions, 0 deletions