Skip to contentSkip to conversation

LVM2/libdm libdevmapper.h regex/matcher.c

PATCH [email protected] 1 participant 1 message Jul 21, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: thornber at sourceware.org 2010-07-21 12:09:13

Modified files:
libdm : libdevmapper.h
libdm/regex : matcher.c

Log message:
[REGEX] calculate dfa states on demand

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdevmapper.h.diff?cvsroot=lvm2&r1=1.122&r2=1.123
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/regex/matcher.c.diff?cvsroot=lvm2&r1=1.10&r2=1.11

libdm/libdevmapper.h +2 -0
@@ -1012,6 +1012,8 @@
  * fingerprints are different, then the two dfas are certainly not
  * isomorphic.  If two fingerprints _are_ the same then it's very likely
  * that the dfas are isomorphic.
+ *
+ * This function must be called before any matching is done.
  */
 uint32_t dm_regex_fingerprint(struct dm_regex *regex);
 
libdm/regex/matcher.c +43 -31

146 lines not on this page · raw message