bugGNU Screen - Bugs: bug #58258, Code typo

 
 

bug #58258: Code typo

Submitter:  Victor Dmitriev <mrwitek>
Submitted:  Mon 27 Apr 2020 02:46:50 PM UTC
   
 
Category:  Build/Install Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  anaumov
Open/Closed:  Closed Release:  4.99.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 27 Apr 2020 04:34:18 PM UTC, comment #1: 

Thanks Victor.
Your fix in 'master' and 'sceren-v4' now.

Alexander Naumov <anaumov>
Group administrator
Mon 27 Apr 2020 02:46:50 PM UTC, original submission:  

In version 4.8.0 in commit 241553f21ce38eae821ea4c1e12241365563d444 TERMCAP_BUF is used in place of TERMCAP_BUFSIZE. Here is a fix:


diff --git a/src/termcap.c b/src/termcap.c
index 26cba62..26c8f5a 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -1068,7 +1068,7 @@ int aflag;
         {
           if (i >= T_KEYPAD)        /* don't put keypad codes in TERMCAP */
             continue;                /* - makes it too big */
-#if (TERMCAP_BUF < 1024)
+#if (TERMCAP_BUFSIZE < 1024)
           if (i >= T_FEXTRA && i < T_BACKTAB) /* also skip extra vt220 keys */
             continue;
           if (i > T_BACKTAB && i < T_NAVIGATE) /* more vt220 keys */


Victor Dmitriev <mrwitek>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by anaumov (Posted a comment)
  • -email is unavailable- added by mrwitek (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-04-27 anaumov StatusNone Fixed
        Assigned toNone anaumov
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code