2015.09.15 10:41 "[Tiff] "bad file descriptor" if operating with lseek on filedescriptor given by TIFFFileno (Windows only)", by Andreas Romeyke

2015.09.15 17:57 "Re: [Tiff] "bad file descriptor" if operating with lseek on filedescriptor given by TIFFFileno (Windows only)", by Edward Lam

On 15/09/2015 12:10 PM, Bob Friesenhahn wrote:

If TIFFFileno() returns a "HANDLE" type, then the using code would need to know about that and use appropriate measures. This is in addition to the existing problem that the "HANDLE" type does not always fit in the space it is stored in.

That is correct. See libtiff/tools/fax2ps.c for example (look for _WIN32).

Cheers,

-Edward