From 608bb2b7d5328b72a43d86bd1688aca49fd46df0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 4 Jan 2010 10:47:58 +0100 Subject: [PATCH] regcomp: fix typo in comment * lib/regcomp.c (duplicate_node_closure): Sync from glibc. s/satisfy/satisfies/. --- ChangeLog | 4 ++++ lib/regcomp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 79da54e14..5bdb76b4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-01-04 Jim Meyering + regcomp: fix typo in comment + * lib/regcomp.c (duplicate_node_closure): Sync from glibc. + s/satisfy/satisfies/. + regcomp: sync from glibc: remove dead store * lib/regcomp.c (duplicate_node_closure): Remove useless search_duplicated_node call and dead store. diff --git a/lib/regcomp.c b/lib/regcomp.c index 0b900c5b6..ae75e1a9f 100644 --- a/lib/regcomp.c +++ b/lib/regcomp.c @@ -1546,7 +1546,7 @@ duplicate_node_closure (re_dfa_t *dfa, Idx top_org_node, Idx top_clone_node, } else { - /* There is a duplicated node which satisfy the constraint, + /* There is a duplicated node which satisfies the constraint, use it to avoid infinite loop. */ ok = re_node_set_insert (dfa->edests + clone_node, clone_dest); if (BE (! ok, 0)) -- 2.11.0