2008.07.28 08:49 "[Tiff] CVS access", by Mateusz Łoskot

2008.08.12 00:36 "Re: [Tiff] windows 64 bit build", by Edward Lam

On Mon, August 11, 2008 16:51, Bob Friesenhahn wrote:

use in TIFFClientOpen. It also caches the 'int' sized value as tif->tif_fd:

Ugh, this gets uglier. I apologize for not noticing. There's also TIFFFileno() and TIFFSetFileno() as well which uses tif_fd.

OK, second take then. We keep everything the same but fix it differently in tif_win32.c. In TIFFFdOpen(), we use _get_osfhandle() to convert the given ifd into a HANDLE that we pass to TIFFClientOpen(). In the calls to TIFFFdOpen(), we call _open_osfhandle() to allocate an fd corresponding to the HANDLE.

-Edward