[GRASS-SVN] r35757 - in grass/trunk/raster/r.le: r.le.patch r.le.pixel r.le.setup r.le.trace

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 3 21:07:07 EST 2009


Author: hamish
Date: 2009-02-03 21:07:07 -0500 (Tue, 03 Feb 2009)
New Revision: 35757

Modified:
   grass/trunk/raster/r.le/r.le.patch/driver.c
   grass/trunk/raster/r.le/r.le.patch/patch.c
   grass/trunk/raster/r.le/r.le.patch/patch.h
   grass/trunk/raster/r.le/r.le.patch/r.le.patch.html
   grass/trunk/raster/r.le/r.le.pixel/r.le.pixel.html
   grass/trunk/raster/r.le/r.le.setup/r.le.setup.html
   grass/trunk/raster/r.le/r.le.trace/r.le.trace.html
Log:
GNAME_MAX (trac #416), itc->osgeo (merge from devbr6)

Modified: grass/trunk/raster/r.le/r.le.patch/driver.c
===================================================================
--- grass/trunk/raster/r.le/r.le.patch/driver.c	2009-02-04 02:03:33 UTC (rev 35756)
+++ grass/trunk/raster/r.le/r.le.patch/driver.c	2009-02-04 02:07:07 UTC (rev 35757)
@@ -139,7 +139,7 @@
 void open_files()
 {
     FILE *fp;
-    char path[30];
+    char path[GPATH_MAX];
     int i;
 
     if (choice->att[1] || choice->att[2] || choice->att[3] || choice->att[4]) {
@@ -2465,7 +2465,7 @@
 {
     FILE *fp;
     int i = 0, cnt = 1;
-    char *buf, path[30];
+    char *buf, path[GPATH_MAX];
 
     /* VARIABLES
        Incoming
@@ -2542,7 +2542,7 @@
 {
     FILE *fp;
     int i;
-    char path[30], *buf;
+    char path[GPATH_MAX], *buf;
 
     sprintf(path, "r.le.para/%s", name);
 

Modified: grass/trunk/raster/r.le/r.le.patch/patch.c
===================================================================
--- grass/trunk/raster/r.le/r.le.patch/patch.c	2009-02-04 02:03:33 UTC (rev 35756)
+++ grass/trunk/raster/r.le/r.le.patch/patch.c	2009-02-04 02:07:07 UTC (rev 35757)
@@ -42,7 +42,7 @@
 {
     PATCH *tmp = patch_list;
     int *type_dens, type_coh;
-    char path[30];
+    char path[GNAME_MAX+10];
 
     if (!total_patches)
 	return;

Modified: grass/trunk/raster/r.le/r.le.patch/patch.h
===================================================================
--- grass/trunk/raster/r.le/r.le.patch/patch.h	2009-02-04 02:03:33 UTC (rev 35756)
+++ grass/trunk/raster/r.le/r.le.patch/patch.h	2009-02-04 02:07:07 UTC (rev 35757)
@@ -78,7 +78,7 @@
 
 struct CHOICE
 {
-    char fn[30], reg[30], out[30], wrum;
+    char fn[GNAME_MAX], reg[GMAPSET_MAX], out[GNAME_MAX], wrum;
     int core2, size2, shape2, edge, fb, coremap, units;
     int perim2, trace, patchmap;
     int Mx[4];

Modified: grass/trunk/raster/r.le/r.le.patch/r.le.patch.html
===================================================================
--- grass/trunk/raster/r.le/r.le.patch/r.le.patch.html	2009-02-04 02:03:33 UTC (rev 35756)
+++ grass/trunk/raster/r.le/r.le.patch/r.le.patch.html	2009-02-04 02:07:07 UTC (rev 35757)
@@ -18,7 +18,7 @@
 landscape structure using the GRASS geographical information system.
 Landscape Ecology 7(4):291-302.
 <p>
-The <A href="http://grass.itc.it/gdp/landscape/r_le_manual5.pdf"><i>r.le</i>
+The <A href="http://grass.osgeo.org/gdp/landscape/r_le_manual5.pdf"><i>r.le</i>
 manual: Quantitative analysis of landscape structures</a> (GRASS 5; 2001)
 
 <h2>SEE ALSO</h2>

Modified: grass/trunk/raster/r.le/r.le.pixel/r.le.pixel.html
===================================================================
--- grass/trunk/raster/r.le/r.le.pixel/r.le.pixel.html	2009-02-04 02:03:33 UTC (rev 35756)
+++ grass/trunk/raster/r.le/r.le.pixel/r.le.pixel.html	2009-02-04 02:07:07 UTC (rev 35757)
@@ -17,7 +17,7 @@
 landscape structure using the GRASS geographical information system.
 Landscape Ecology 7(4):291-302.
 <p>
-The <A href="http://grass.itc.it/gdp/landscape/r_le_manual5.pdf"><i>r.le</i>
+The <A href="http://grass.osgeo.org/gdp/landscape/r_le_manual5.pdf"><i>r.le</i>
 manual: Quantitative analysis of landscape structures</a> (GRASS 5; 2001)
 
 <h2>SEE ALSO</h2>

Modified: grass/trunk/raster/r.le/r.le.setup/r.le.setup.html
===================================================================
--- grass/trunk/raster/r.le/r.le.setup/r.le.setup.html	2009-02-04 02:03:33 UTC (rev 35756)
+++ grass/trunk/raster/r.le/r.le.setup/r.le.setup.html	2009-02-04 02:07:07 UTC (rev 35757)
@@ -449,7 +449,7 @@
 landscape structure using the GRASS geographical information system.
 Landscape Ecology 7(4):291-302.
 <p>
-The <A href="http://grass.itc.it/gdp/landscape/r_le_manual5.pdf"><i>r.le</i>
+The <A href="http://grass.osgeo.org/gdp/landscape/r_le_manual5.pdf"><i>r.le</i>
 manual: Quantitative analysis of landscape structures</a> (GRASS 5; 2001)
 
 

Modified: grass/trunk/raster/r.le/r.le.trace/r.le.trace.html
===================================================================
--- grass/trunk/raster/r.le/r.le.trace/r.le.trace.html	2009-02-04 02:03:33 UTC (rev 35756)
+++ grass/trunk/raster/r.le/r.le.trace/r.le.trace.html	2009-02-04 02:07:07 UTC (rev 35757)
@@ -19,7 +19,7 @@
 landscape structure using the GRASS geographical information system.
 Landscape Ecology 7(4):291-302.
 <p>
-The <A href="http://grass.itc.it/gdp/landscape/r_le_manual5.pdf"><i>r.le</i>
+The <A href="http://grass.osgeo.org/gdp/landscape/r_le_manual5.pdf"><i>r.le</i>
 manual: Quantitative analysis of landscape structures</a> (GRASS 5; 2001)
 
 



More information about the grass-commit mailing list