On Sat, Oct 16, 2010 at 09:56:58PM +1300, Olly Betts wrote:
> The attached patch enables large file support in antiword (large file support
> is a release goal for squeeze, inherited from etch:
> http://release.debian.org/squeeze/goals.txt ).
> 
> MS Word documents hopefully rarely reach 2GB, but this change also allows
> antiword to process files on filing systems with 64 bit inode numbers, which
> CIFS mounts seem to have.
> 
> Without the patch:
> 
> $ antiword 0-0.DOC
> Get Filesize error 75
> I can't get the size of '/opt/frisk/mnt/share2/Test data/1-7.DOC'
> 
> With the patch:
> 
> $ antiword 0-0.DOC
> [expected output]
> 
> Note the >32 bit inode number reported by stat for this file:
> 
> $ stat 0-0.DOC
>   File: `0-0.DOC'
>   Size: 9160          Blocks: 24         IO Block: 16384  regular file
> Device: 14h/20d       Inode: 1407374883566553  Links: 1
> Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
> Access: 2010-10-09 11:41:36.418429400 +1030
> Modify: 2009-02-19 16:34:16.000000000 +1030
> Change: 2010-10-03 18:32:05.967133800 +1030

I've been successfully using a version of the antiword package with this
patch applied for over a year now with no regressions.  Any objections
to my NMUing this fix so that other users can benefit from it?

(I'd also be happy to adopt or co-maintain antiword if you'd like).

Cheers,
    Olly



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to