[GRASS-dev] Re: [GRASS-user] Problem with r.reclas on ubuntu feisty

Glynn Clements glynn at gclements.plus.com
Thu Apr 26 05:24:25 EDT 2007


Jarekj Jasiewicz wrote:

> > This should be sufficient for r.reclass:

> unfortunatly not, error remains

Oops:

--- raster/r.reclass/reclass.c	26 Apr 2007 00:16:16 -0000	2.3
+++ raster/r.reclass/reclass.c	26 Apr 2007 09:22:10 -0000
@@ -231,8 +231,8 @@
     }
     else
     {
-	new.name = G_store(old.name);
-	new.mapset = G_store(old.mapset);
+	new.name = G_store(old_name);
+	new.mapset = G_store(old_mapset);
 	_reclass (rules, cats, &new);
     }

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list