Commit: patch 9.1.1723: Missing ifdefs

1 view
Skip to first unread message

Christian Brabandt

unread,
Aug 31, 2025, 2:45:12 PMAug 31
to vim...@googlegroups.com
patch 9.1.1723: Missing ifdefs

Commit: https://github.com/vim/vim/commit/710095cab8134f0dbdfa0710ab6e46c5e5bfa5fa
Author: Foxe Chen <chen...@gmail.com>
Date: Sun Aug 31 20:31:44 2025 +0200

patch 9.1.1723: Missing ifdefs

Problem: Missing ifdefs (after v9.1.1719)
Solution: Add ifdef ELAPSED_FUNC (Foxe Chen).

closes: #18178

Signed-off-by: Foxe Chen <chen...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/os_unix.c b/src/os_unix.c
index 074a9fed3..109489939 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -9637,8 +9637,10 @@ socket_server_send(
if (pending.result != NULL)
break;

+#ifdef ELAPSED_FUNC
if (ELAPSED_FUNC(start_tv) >= (timeout > 0 ? timeout : 1000))
break;
+#endif
}

if (pending.result == NULL)
diff --git a/src/version.c b/src/version.c
index 042b995aa..903c459b9 100644
--- a/src/version.c
+++ b/src/version.c
@@ -724,6 +724,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1723,
/**/
1722,
/**/
Reply all
Reply to author
Forward
0 new messages