| 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 |
Thread2008.09.04 14:12 "Re: tif_win32.c patch proposal", by Edward LamSeeing that there's been no movement on this patch, I've now submitted this under bug 1941 (http://bugzilla.maptools.org/show_bug.cgi?id=1941) Cheers, -Edward Bob Friesenhahn wrote: > On Wed, 13 Aug 2008, Edward Lam wrote: >>> If you can submit a tested patch, I will be happy to commit it. >> >> Ok, here's a patch attached for discussion. The approach I previously >> mentioned ran into a slight snag. Once you've created an fd for a >> HANDLE, the C runtime library (CRT) takes ownership of it. Thus, when >> you call _close(fd), it closes the associated HANDLE as well. Plus, in >> _tiffCloseProc(), there was no way (that I found) to query the CRT to >> return the associated fd given the HANDLE. So in the end, I did >> something more drastic, albeit cleaner. > > It seems that this approach is drastic enough that we should wait for > some feedback from potentially impacted users before moving ahead with it. > > Being more from the Unix mind-set than the Windows mind-set, I like your > approach better than the approach which is currently used. > > Bob > ====================================== > Bob Friesenhahn > bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ > GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ > |
|||||||