[GRASS-SVN] r58838 - grass/trunk/raster/r.mode
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 1 15:02:49 PST 2014
Author: wenzeslaus
Date: 2014-02-01 15:02:49 -0800 (Sat, 01 Feb 2014)
New Revision: 58838
Modified:
grass/trunk/raster/r.mode/main.c
Log:
r.mode: rules parameter of r.reclass is mandatory (introduced in r42423)
Modified: grass/trunk/raster/r.mode/main.c
===================================================================
--- grass/trunk/raster/r.mode/main.c 2014-02-01 22:23:43 UTC (rev 58837)
+++ grass/trunk/raster/r.mode/main.c 2014-02-01 23:02:49 UTC (rev 58838)
@@ -40,7 +40,7 @@
char *outmap;
char input[GNAME_MAX*2+8];
char output[GNAME_MAX+8];
- const char *args[4];
+ const char *args[5];
struct Popen stats_child, reclass_child;
struct Categories cover_cats;
FILE *stats, *reclass;
@@ -106,7 +106,8 @@
args[0] = "r.reclass";
args[1] = input;
args[2] = output;
- args[3] = NULL;
+ args[3] = "rules=-";
+ args[4] = NULL;
reclass = G_popen_write(&reclass_child, "r.reclass", args);
More information about the grass-commit
mailing list