| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2004.03.03 18:08 "Re: TIFFClientOpen, libtiff 3.6.1, ignores 'm' option", by Bob FriesenhahnOn Wed, 3 Mar 2004, dimitar wrote: > 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. The approach which is proven to work is to provide functions which do nothing. The map function simply returns a value of zero to indicate failure. Bob ====================================== Bob Friesenhahn bfriesen@simple.dallas.tx.us http://www.simplesystems.org/users/bfriesen |
|||||||