Index: raster/r.le/r.le.patch/patch.c
===================================================================
--- raster/r.le/r.le.patch/patch.c	(revision 35065)
+++ raster/r.le/r.le.patch/patch.c	(working copy)
@@ -42,7 +42,7 @@
 {
     PATCH *tmp = patch_list;
     int *type_dens, type_coh;
-    char path[30];
+    char path[GPATH_MAX];
 
     if (!total_patches)
 	return;
Index: raster/r.le/r.le.patch/driver.c
===================================================================
--- raster/r.le/r.le.patch/driver.c	(revision 35065)
+++ raster/r.le/r.le.patch/driver.c	(working copy)
@@ -30,7 +30,7 @@
 static int para1, para2, para3, para4, para5;
 float *shape_PA, *shape_CPA, *shape_RCC, *size_cl, **recl_tb;
 extern struct CHOICE *choice;
-char cmdbuf[100];
+char cmdbuf[GPATH_MAX];
 RASTER_MAP_TYPE data_type;
 
 /*
@@ -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);
 

