5 Star 6 Fork 47

OpenHarmony/third_party_libxml2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
backport-regexp-Fix-mistake-in-previous-commit.patch 850 Bytes
一键复制 编辑 原始数据 按行查看 历史
冉召宇 提交于 2024-04-25 19:13 . libxml2切openEuler7.0
From c613ab14b85d5813ff834afe23adcab2cc82dc04 Mon Sep 17 00:00:00 2001
From: Nick Wellnhofer <[email protected]>
Date: Tue, 2 May 2023 00:32:50 +0200
Subject: [PATCH] regexp: Fix mistake in previous commit
The `ret = 0` line should have been deleted.
Fixes #531.
Reference:https://github.com/GNOME/libxml2/commit/c613ab14b85d5813ff834afe23adcab2cc82dc04
Conflict:NA
---
xmlregexp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/xmlregexp.c b/xmlregexp.c
index c89f0c7..185fcda 100644
--- a/xmlregexp.c
+++ b/xmlregexp.c
@@ -2707,7 +2707,6 @@ xmlFARecurseDeterminism(xmlRegParserCtxtPtr ctxt, xmlRegStatePtr state,
if ((t1->to != tonr) ||
(!xmlFAEqualAtoms(t1->atom, atom, deep)))
ret = 0;
- ret = 0;
/* mark the transition as non-deterministic */
t1->nd = 1;
}
--
2.27.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/third_party_libxml2.git
[email protected]:openharmony/third_party_libxml2.git
openharmony
third_party_libxml2
third_party_libxml2
master

搜索帮助