[GRASS-SVN] r43856 - grass/branches/releasebranch_6_4/lib/vector/dglib

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Oct 11 09:10:59 EDT 2010


Author: mmetz
Date: 2010-10-11 06:10:59 -0700 (Mon, 11 Oct 2010)
New Revision: 43856

Modified:
   grass/branches/releasebranch_6_4/lib/vector/dglib/sp-template.c
Log:
remove fix for dglib cache BUG1

Modified: grass/branches/releasebranch_6_4/lib/vector/dglib/sp-template.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/dglib/sp-template.c	2010-10-11 13:10:04 UTC (rev 43855)
+++ grass/branches/releasebranch_6_4/lib/vector/dglib/sp-template.c	2010-10-11 13:10:59 UTC (rev 43856)
@@ -368,17 +368,6 @@
 	else if (pgraph->iErrno != DGL_ERR_TailNodeNotFound) {
 	    goto sp_error;
 	}
-	/*
-	 * reset visited status for existing cache: fix for BUG1
-	 */
-	if (pCache->pvVisited) {
-	    avl_destroy(pCache->pvVisited, dglTreeTouchI32Cancel);
-
-	    if ((pCache->pvVisited =
-		avl_create(dglTreeTouchI32Compare, NULL,
-			dglTreeGetAllocator())) == NULL)
-		return -1;
-	}
     }
 
     /*



More information about the grass-commit mailing list