<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>modified TSX driver</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi Frank and list,<BR>
<BR>
I reopened Ticket #3564 to submit a modified TSX driver. Changes made by Adam Klein in:<BR>
• Open() will return NULL when one of the raster bands cannot be loaded. This fix prevents a crash (dereferencing NULL pointer).<BR>
• The driver no longer saves the image file pointer (it was never being used anyway) and does not clear the file pointer passed to Open() through GDALOpenInfo. This fix allows GDAL to close the image file when it is done with it.<BR>
• Replace strdup() with CPLStrdup() for consistency<BR>
• Calling CPLDestroyXMLNode() to clean up before returning NULL in Open()<BR>
<BR>
<BR>
Thanks,<BR>
Shawn<BR>
</FONT>
</P>
</BODY>
</HTML>