aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/oniguruma/fix-uwp.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/oniguruma/fix-uwp.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/oniguruma/fix-uwp.patch')
-rw-r--r--vcpkg/ports/oniguruma/fix-uwp.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/vcpkg/ports/oniguruma/fix-uwp.patch b/vcpkg/ports/oniguruma/fix-uwp.patch
new file mode 100644
index 0000000..5a2f801
--- /dev/null
+++ b/vcpkg/ports/oniguruma/fix-uwp.patch
@@ -0,0 +1,25 @@
+diff --git a/src/regcomp.c b/src/regcomp.c
+--- a/src/regcomp.c
++++ b/src/regcomp.c
+@@ -3880,7 +3880,7 @@ reduce_string_list(Node* node)
+ {
+ Node* prev;
+ Node* curr;
+- Node* prev_node;
++ Node* prev_node = NULL;
+ Node* next_node;
+
+ prev = NULL_NODE;
+diff --git a/src/regexec.c b/src/regexec.c
+index ce498c6..6848c0f 100644
+--- a/src/regexec.c
++++ b/src/regexec.c
+@@ -4216,7 +4216,7 @@ regset_search_body_position_lead(OnigRegSet* set,
+ {
+ int r, n, i;
+ UChar *s;
+- UChar *low, *high;
++ UChar *low, *high = NULL;
+ UChar* sch_range;
+ regex_t* reg;
+ OnigEncoding enc;