File minicom-2.5-serial_device_path_length.patch of Package minicom

Index: minicom-2.6/src/configsym.h
===================================================================
--- minicom-2.6.orig/src/configsym.h	2009-12-12 16:47:47.000000000 +0100
+++ minicom-2.6/src/configsym.h	2012-01-02 14:40:58.920461552 +0100
@@ -35,7 +35,7 @@
  * jl  10.02.2000 parameter P_STOPB
  */
 
-#define PARS_VAL_LEN 64
+#define PARS_VAL_LEN 256
 
 struct pars {
   /* value is first, so that (char *)mpars[0] == mpars[0].value */
Index: minicom-2.6/src/config.c
===================================================================
--- minicom-2.6.orig/src/config.c	2012-01-02 14:40:33.000000000 +0100
+++ minicom-2.6/src/config.c	2012-01-02 14:42:03.866345727 +0100
@@ -563,7 +563,7 @@
         mc_wclose(w, 1);
         return;
       case 'A':
-        pgets(w, mbslen (serial_device) + 1, 0, P_PORT, 64, 64, 1);
+        pgets(w, mbslen (serial_device) + 1, 0, P_PORT, PARS_VAL_LEN, PARS_VAL_LEN, 1);
         break;
       case 'B':
         pgets(w, mbslen (lockfile_location) + 1, 1, P_LOCK, 64, 64, 1);