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

2010.08.09 12:59 "Re: [Tiff] tiff4 on 32-bit Windows", by John

On 6 August 2010 17:38, Bob Friesenhahn <bfriesen@simple.dallas.tx.us> wrote:

tiff4 seems to work well on my usual machine (64-bit linux), but I'm having trouble creating files over 4GB with a 32-bit Windows binary.

Are you using tif_unix.c or tif_win32.c for I/O?

Drat, I'd totally forgotten about that, thank you Bob.

I tried with -DUSE_WIN32_FILEIO and I still get

TIFFAppendToStrip: Maximum TIFF file size exceeded

> Was tif_win32.c used in the build (without tif_unix.c)?  Using it may

require editing a Makefile. potentially silly issue is if you forgot to  A

I have it working now, phew. As you said Bob, it requires editing some Makefiles.

I found a discussion of this issue a few months ago and a patch from Adam to do the work automatically in configure. I made a few changes to Adam's patch and updated the bugzilla entry:

http://bugzilla.maptools.org/show_bug.cgi?id=2224

Thanks to everyone for your help.

John