File: patch-9.1.1244-part-of-patch-v9.1.1242-was-wrong.patch

package info (click to toggle)
vim 2%3A9.1.1230-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 88,180 kB
  • sloc: ansic: 416,989; cpp: 6,324; makefile: 4,448; java: 2,226; sh: 1,861; perl: 1,419; python: 960; awk: 730; lisp: 501; cs: 458; objc: 369; xml: 247; sed: 8; csh: 6
file content (44 lines) | stat: -rw-r--r-- 1,089 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: Christian Brabandt <cb@256bit.org>
Date: Wed, 26 Mar 2025 20:36:12 +0100
Subject: patch 9.1.1244: part of patch v9.1.1242 was wrong

Problem:  part of patch v9.1.1242 was wrong
Solution: revert part of the patch

fixes: #16983
related: #16972

Signed-off-by: Christian Brabandt <cb@256bit.org>
(cherry picked from commit 35cb38d34b69e4263f0eb9f78a676a5fb6d11250)
Signed-off-by: James McCoy <jamessan@debian.org>
---
 src/eval.c    | 2 --
 src/version.c | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/eval.c b/src/eval.c
index eb6b8d9..4cdd1f2 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2051,8 +2051,6 @@ get_lval(
 	    }
 	}
 	lp->ll_name = lp->ll_exp_name;
-	if (lp->ll_name != NULL)
-	    lp->ll_name_end = lp->ll_name + STRLEN(lp->ll_name);
     }
     else
     {
diff --git a/src/version.c b/src/version.c
index 6b9759c..30f58fd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1244,
 /**/
     1242,
 /**/