From 686b4027e77ba136927ed21ed59cc81e4288d81d Mon Sep 17 00:00:00 2001 From: Kevin Huck Date: Wed, 11 Aug 2021 17:55:34 -0400 Subject: [PATCH] Adding active harmony patch --- cmake/Modules/ActiveHarmony.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 cmake/Modules/ActiveHarmony.patch diff --git a/cmake/Modules/ActiveHarmony.patch b/cmake/Modules/ActiveHarmony.patch new file mode 100644 index 00000000..9771a1e0 --- /dev/null +++ b/cmake/Modules/ActiveHarmony.patch @@ -0,0 +1,26 @@ +--- a/code-server/code_generator.cxx ++++ b/code-server/code_generator.cxx +@@ -574,13 +574,13 @@ int parse_slave_list(const char* hostlist) + } + + // Skip leading whitespace. +- while (head < tail && (head == '\0' || isspace(*head))) { ++ while (head < tail && (*head == '\0' || isspace(*head))) { + ++head; + } + host_ptr = head; + + // Find host boundary whitespace. +- while (head < tail && (head != '\0' && !isspace(*head))) { ++ while (head < tail && (*head != '\0' && !isspace(*head))) { + ++head; + } + host = string(host_ptr, head++); +@@ -596,7 +596,7 @@ int parse_slave_list(const char* hostlist) + } + + // Skip trailing whitespace. +- while (head < tail && (head == '\0' || isspace(*head))) { ++ while (head < tail && (*head == '\0' || isspace(*head))) { + ++head; + }