[mapserver-commits] r7534 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sat Apr 26 19:34:23 EDT 2008


Author: pramsey
Date: 2008-04-26 19:34:22 -0400 (Sat, 26 Apr 2008)
New Revision: 7534

Modified:
   trunk/mapserver/mapshape.c
Log:
Set the Loaded flag in the LoadAll function so that the SHX is not repeatedly loaded by write methods.


Modified: trunk/mapserver/mapshape.c
===================================================================
--- trunk/mapserver/mapshape.c	2008-04-26 21:59:26 UTC (rev 7533)
+++ trunk/mapserver/mapshape.c	2008-04-26 23:34:22 UTC (rev 7534)
@@ -1119,6 +1119,7 @@
     psSHP->panRecSize[i] = nLength*2; 
   }
   free(pabyBuf);
+  psSHP->panRecAllLoaded = 1;
   
   return(MS_SUCCESS);
 



More information about the mapserver-commits mailing list