2010.07.08 16:25 "[Tiff] strlcpy vs strncpy", by Bob Friesenhahn

2010.08.06 16:24 "Re: [Tiff] tiff4 on 32-bit Windows", by Edward Lam

at the 4gb mark. I'm now wondering if it's a compiler bug (I'm stuck on gcc3.4). More digging!

Wait, are you using cygwin's gcc? I took a quick look at my cygwin 1.7 /usr/include files and it doesn't even support _FILE_OFFSET_BITS macro. I'd double check to make sure that your sizeof(off_t) is 8 under your compiler. If it isn't, then you need to do whatever magical defines necessary to make it do that.

-Edward