2015.09.15 10:41 "[Tiff] "bad file descriptor" if operating with lseek on filedescriptor given by TIFFFileno (Windows only)", by Andreas Romeyke
I am using the filedescriptor returned by TIFFFileno() to make additional checks on a given TIFF. Under Linux the code works as expected.
But if I crosscompile the Libtiff and my program with MinGw using:
(also CFLAGS=-DO_BINARY does not help)
the lseek() or the read() comes with errno "Bad file descriptor".
Could you point me how to fix that?
Thanks in advance
Mit freundlichen Grüßen
With best regards,
project member "long-term preservation"
Saxon State- and University Library Dresden (SLUB)
Department 2 (IT), Division 2.3 (network and data security)
Zellescher Weg 18 | 01069 Dresden
phone: +49 351 4677 216
http://www.slub-dresden.de/ | @slubdresden