[GRASS-SVN] r35755 - in grass/branches/develbranch_6/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:00:13 EST 2009


Author: hamish
Date: 2009-02-03 21:00:13 -0500 (Tue, 03 Feb 2009)
New Revision: 35755

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

Modified: grass/branches/develbranch_6/raster/r.le/r.le.patch/description.html
===================================================================
--- grass/branches/develbranch_6/raster/r.le/r.le.patch/description.html	2009-02-04 01:58:16 UTC (rev 35754)
+++ grass/branches/develbranch_6/raster/r.le/r.le.patch/description.html	2009-02-04 02:00:13 UTC (rev 35755)
@@ -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/branches/develbranch_6/raster/r.le/r.le.patch/driver.c
===================================================================
--- grass/branches/develbranch_6/raster/r.le/r.le.patch/driver.c	2009-02-04 01:58:16 UTC (rev 35754)
+++ grass/branches/develbranch_6/raster/r.le/r.le.patch/driver.c	2009-02-04 02:00:13 UTC (rev 35755)
@@ -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/branches/develbranch_6/raster/r.le/r.le.patch/patch.c
===================================================================
--- grass/branches/develbranch_6/raster/r.le/r.le.patch/patch.c	2009-02-04 01:58:16 UTC (rev 35754)
+++ grass/branches/develbranch_6/raster/r.le/r.le.patch/patch.c	2009-02-04 02:00:13 UTC (rev 35755)
@@ -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/branches/develbranch_6/raster/r.le/r.le.patch/patch.h
===================================================================
--- grass/branches/develbranch_6/raster/r.le/r.le.patch/patch.h	2009-02-04 01:58:16 UTC (rev 35754)
+++ grass/branches/develbranch_6/raster/r.le/r.le.patch/patch.h	2009-02-04 02:00:13 UTC (rev 35755)
@@ -82,7 +82,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/branches/develbranch_6/raster/r.le/r.le.pixel/description.html
===================================================================
--- grass/branches/develbranch_6/raster/r.le/r.le.pixel/description.html	2009-02-04 01:58:16 UTC (rev 35754)
+++ grass/branches/develbranch_6/raster/r.le/r.le.pixel/description.html	2009-02-04 02:00:13 UTC (rev 35755)
@@ -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/branches/develbranch_6/raster/r.le/r.le.setup/description.html
===================================================================
--- grass/branches/develbranch_6/raster/r.le/r.le.setup/description.html	2009-02-04 01:58:16 UTC (rev 35754)
+++ grass/branches/develbranch_6/raster/r.le/r.le.setup/description.html	2009-02-04 02:00:13 UTC (rev 35755)
@@ -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/branches/develbranch_6/raster/r.le/r.le.trace/description.html
===================================================================
--- grass/branches/develbranch_6/raster/r.le/r.le.trace/description.html	2009-02-04 01:58:16 UTC (rev 35754)
+++ grass/branches/develbranch_6/raster/r.le/r.le.trace/description.html	2009-02-04 02:00:13 UTC (rev 35755)
@@ -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