Commit: patch 9.1.0412: typo in regexp_bt.c in DEBUG code

7 views
Skip to first unread message

Christian Brabandt

unread,
May 14, 2024, 5:30:13 AM5/14/24
to vim...@googlegroups.com
patch 9.1.0412: typo in regexp_bt.c in DEBUG code

Commit: https://github.com/vim/vim/commit/6043024cd48db485e3c748e8f46ca87e3cdef9d9
Author: Christian Brabandt <c...@256bit.org>
Date: Tue May 14 11:19:47 2024 +0200

patch 9.1.0412: typo in regexp_bt.c in DEBUG code

Problem: typo in regexp_bt.c in DEBUG code, causing
compile error (@kfleong7, after v9.1.0409)
Solution: Replace bulen by buflen

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/regexp_bt.c b/src/regexp_bt.c
index 9da345f4e..5452dda0f 100644
--- a/src/regexp_bt.c
+++ b/src/regexp_bt.c
@@ -5570,7 +5570,7 @@ regprop(char_u *op)
case ZREF + 7:
case ZREF + 8:
case ZREF + 9:
- bulen += sprintf(buf + buflen, "ZREF%d", OP(op) - ZREF);
+ buflen += sprintf(buf + buflen, "ZREF%d", OP(op) - ZREF);
p = NULL;
break;
#endif
diff --git a/src/version.c b/src/version.c
index f4c792d01..834954af7 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 */
+/**/
+ 412,
/**/
411,
/**/
Reply all
Reply to author
Forward
0 new messages