AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.03.03 18:01 "[Tiff] TIFFClientOpen, libtiff 3.6.1, ignores 'm' option", by dimitar
2004.03.03 18:08 "Re: [Tiff] TIFFClientOpen, libtiff 3.6.1, ignores 'm' option", by Bob Friesenhahn
2004.03.03 18:15 "Re: [Tiff] TIFFClientOpen, libtiff 3.6.1, ignores 'm' option", by Frank Warmerdam
2004.03.03 20:48 "Re: [Tiff] TIFFClientOpen, libtiff 3.6.1, ignores 'm' option", by Andrey Kiselev

2004.03.03 18:01 "[Tiff] TIFFClientOpen, libtiff 3.6.1, ignores 'm' option", by dimitar

Hi,

I noticed that I can not open tiff files after I upgraded from libtiff 3.5.7 to 3.6.1.

The reason is TIFFClientOpen.

In 3.6.1 there is check that all client supplied function pointers are not null. However this is not enough. I am supplying 'm' option, and passing null for the last two parameters (for map and unmap) because I am not going to use memory mapped files.

I think the correct way is to check for memory mapped file related functions, only when 'm' option is not specified.

Any comments would be appreciated.

Thanks,

Dimitar