[GRASS-SVN] r57046 - grass/branches/releasebranch_6_4/raster/r.kappa

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 9 12:17:53 PDT 2013


Author: mmetz
Date: 2013-07-09 12:17:53 -0700 (Tue, 09 Jul 2013)
New Revision: 57046

Modified:
   grass/branches/releasebranch_6_4/raster/r.kappa/main.c
Log:
r.kappa: backport r32820 to relbr64

Modified: grass/branches/releasebranch_6_4/raster/r.kappa/main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.kappa/main.c	2013-07-09 19:17:39 UTC (rev 57045)
+++ grass/branches/releasebranch_6_4/raster/r.kappa/main.c	2013-07-09 19:17:53 UTC (rev 57046)
@@ -115,15 +115,7 @@
     for (i = 0; i < 2; i++)
 	layer(maps[i]);
 
-    if (parms.output->answer) {
-	output = parms.output->answer;
-	if (G_legal_filename(output) < 0) {
-	    G_fatal_error(_("Illegal output file name <%s>"),
-			  parms.output->answer);
-	}
-    }
-    else
-	output = NULL;
+    output = parms.output->answer;
 
     title = parms.titles->answer;
 



More information about the grass-commit mailing list