[GRASS-SVN] r31596 - grass/branches/develbranch_6/raster/r.surf.gauss

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 1 05:51:24 EDT 2008


Author: neteler
Date: 2008-06-01 05:51:24 -0400 (Sun, 01 Jun 2008)
New Revision: 31596

Modified:
   grass/branches/develbranch_6/raster/r.surf.gauss/main.c
Log:
don't doublecheck overwrite (merge from trunk)

Modified: grass/branches/develbranch_6/raster/r.surf.gauss/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.surf.gauss/main.c	2008-06-01 09:46:19 UTC (rev 31595)
+++ grass/branches/develbranch_6/raster/r.surf.gauss/main.c	2008-06-01 09:51:24 UTC (rev 31596)
@@ -72,9 +72,6 @@
     /****** CHECK THE CELL FILE (OUT) DOES NOT ALREADY EXIST******/
     if (G_legal_filename(out->answer)=='\0')
         G_fatal_error (_("<%s> is an illegal file name"), out->answer);
-    else
-        if (G_find_cell(out->answer,"") !=NULL)
-	        G_fatal_error (_("Raster map [%s] already exists.\nPlease try another."), out->answer);
 
     /****** CREATE THE RANDOM CELL FILE  ******/
     gaussurf(out->answer,gauss_mean,gauss_sigma);



More information about the grass-commit mailing list