summaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-01-20 21:31:40 +0100
committerJim Meyering <meyering@redhat.com>2010-05-09 20:43:29 +0200
commiteb170e813979f81b9103f51d3616de29389e4513 (patch)
treeb5e0bcc61c82644ea4869036455fd6f6f996875b /lisp
parent42ee8e731e7e0906d9ee458a37fb26370eee2d55 (diff)
downloadidutils-eb170e813979f81b9103f51d3616de29389e4513.tar.gz
idutils-eb170e813979f81b9103f51d3616de29389e4513.tar.bz2
idutils-eb170e813979f81b9103f51d3616de29389e4513.zip
mkid: use ftello (not ftell) and fail if an offset is 2^32 or larger
This is necessary because the internal layout requires that an offset be representable as a 4-byte quantity. * src/mkid.c (write_id_file): Use ftello, not ftell. The latter would fail on files larger than 4GiB. Now, we still fail for such files, but use ftello instead -- and give a diagnostic.
Diffstat (limited to 'lisp')
0 files changed, 0 insertions, 0 deletions