[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [bug #58258] Code typo
From: |
Victor Dmitriev |
Subject: |
[screen-devel] [bug #58258] Code typo |
Date: |
Mon, 27 Apr 2020 10:46:52 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0 |
URL:
<https://savannah.gnu.org/bugs/?58258>
Summary: Code typo
Project: GNU Screen
Submitted by: mrwitek
Submitted on: Mon 27 Apr 2020 02:46:50 PM UTC
Category: Build/Install
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: 4.99.0
Discussion Lock: Any
Fixed Release: None
Planned Release: None
Work Required: None
_______________________________________________________
Details:
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 */
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58258>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [screen-devel] [bug #58258] Code typo,
Victor Dmitriev <=