The following patch makes this use permissible:
  
--- process.c-orig  2008-08-03 22:57:38.000000000 +0100
+++ process.c   2008-08-03 22:58:02.000000000 +0100
@@ -2442,7 +2442,7 @@
       s = NULL;
       if (ParseSaveStr(act, &s))
    break;
-      if (strlen(s) >= 20)
+      if (strlen(s) >= sizeof(termcap))
    {
      Msg(0, "%s: term: argument too long ( < 20)", rc_name);
      free(s);
--- termcap.c-orig  2008-08-03 22:57:44.000000000 +0100
+++ termcap.c   2008-08-03 22:58:12.000000000 +0100
@@ -68,7 +68,7 @@
 static int Termcaplen;
 static int tcLineLen;
 char Term[MAXSTR+5];       /* +5: "TERM=" */
-char screenterm[20];       /* new $TERM, usually "screen" */
+char screenterm[25];       /* new $TERM, usually "screen" */
 
 char *extra_incap, *extra_outcap;
 
--

Steve
-- 
Managed Anti-Spam Service
http://mail-scanning.com/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to