#792128 exiftran: fails when inode numbers exceed 32 bits

Package:
exiftran
Source:
fbi
Description:
digital camera JPEG image transformer
Submitter:
Norman Ramsey
Date:
2015-07-11 18:57:06 UTC
Severity:
normal
#792128#5
Date:
2015-07-11 18:48:52 UTC
From:
To:
Dear Maintainer,

I ran exiftran on a .jpg file that sits on a large XFS filesystem.
The file's inode number doesn't fit in 32 bits.

: nr@homedog 14353 ; exiftran -i -p -a img_1098.jpg
processing img_1098.jpg
fstat(img_1098.jpg): Value too large for defined data type
: nr@homedog 14354 ; stat img_1098.jpg
  File: ‘img_1098.jpg’
  Size: 3353239         Blocks: 6552       IO Block: 4096   regular file
Device: 821h/2081d      Inode: 6445944267  Links: 1
Access: (0644/-rw-r--r--)  Uid: (32074/      nr)   Gid: ( 6202/      nr)
Access: 2015-07-10 19:00:00.000000000 -0400
Modify: 2015-07-11 13:24:06.000000000 -0400
Change: 2015-07-11 14:30:24.743942355 -0400
 Birth: -


Recompiling with large-file support fixes the problem.
A patch is attached.