• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From c613ab14b85d5813ff834afe23adcab2cc82dc04 Mon Sep 17 00:00:00 2001
2From: Nick Wellnhofer <wellnhofer@aevum.de>
3Date: Tue, 2 May 2023 00:32:50 +0200
4Subject: [PATCH] regexp: Fix mistake in previous commit
5
6The `ret = 0` line should have been deleted.
7
8Fixes #531.
9
10Reference:https://github.com/GNOME/libxml2/commit/c613ab14b85d5813ff834afe23adcab2cc82dc04
11Conflict:NA
12
13---
14 xmlregexp.c | 1 -
15 1 file changed, 1 deletion(-)
16
17diff --git a/xmlregexp.c b/xmlregexp.c
18index c89f0c7..185fcda 100644
19--- a/xmlregexp.c
20+++ b/xmlregexp.c
21@@ -2707,7 +2707,6 @@ xmlFARecurseDeterminism(xmlRegParserCtxtPtr ctxt, xmlRegStatePtr state,
22             if ((t1->to != tonr) ||
23                 (!xmlFAEqualAtoms(t1->atom, atom, deep)))
24                 ret = 0;
25-	    ret = 0;
26 	    /* mark the transition as non-deterministic */
27 	    t1->nd = 1;
28 	}
29--
302.27.0
31
32