From: Jim Meyering Date: Mon, 4 Jan 2010 09:47:58 +0000 (+0100) Subject: regcomp: fix typo in comment X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=608bb2b7d5328b72a43d86bd1688aca49fd46df0;p=pspp regcomp: fix typo in comment * lib/regcomp.c (duplicate_node_closure): Sync from glibc. s/satisfy/satisfies/. --- diff --git a/ChangeLog b/ChangeLog index 79da54e142..5bdb76b4e6 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 0b900c5b6b..ae75e1a9f1 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))