AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
November 2003

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2003.11.12 21:50 "Closing tiff files", by Gary L Globus
2003.11.13 20:35 "Closing tiff files", by Phillip Crews
2003.11.14 12:55 "Re: Closing tiff files", by Gary L Globus
2003.11.17 18:46 "Re: Closing tiff files", by Gary L Globus
2003.11.17 19:01 "Re: Closing tiff files", by Phillip Crews
2003.11.17 19:20 "Re: Closing tiff files", by Gary L Globus

2003.11.17 19:01 "Re: Closing tiff files", by Phillip Crews

Gary,
  
TIFFOpen(filename, "ru");
  
The 'u' will prevent libtiff from mapping the original file into the
process's address space, and it will use regular I/O instead.
  
The handle I found leaking on ME was one of the file mapping handles (in
tif_win32.c, IIRC). Libtiff was closing all handles appropriately; the bug
was due to something within ME. I haven't seen the same problem on XP, and
I personally haven't had any reports of problems opening networked TIF
files from other applications.
  
Note: I'm using libtiff version 3.5.6, and not 3.6.0, so it's possible
there is some other change.
  
Kind regards,
Phillip