svn commit: r232193 - user/gabor/tre-integration/contrib/tre/lib
Gabor Kovesdan
gabor at FreeBSD.org
Sun Feb 26 19:24:40 UTC 2012
Author: gabor
Date: Sun Feb 26 19:24:39 2012
New Revision: 232193
URL: http://svn.freebsd.org/changeset/base/232193
Log:
- Fix length calculation
Modified:
user/gabor/tre-integration/contrib/tre/lib/regexec.c
Modified: user/gabor/tre-integration/contrib/tre/lib/regexec.c
==============================================================================
--- user/gabor/tre-integration/contrib/tre/lib/regexec.c Sun Feb 26 19:10:14 2012 (r232192)
+++ user/gabor/tre-integration/contrib/tre/lib/regexec.c Sun Feb 26 19:24:39 2012 (r232193)
@@ -434,7 +434,7 @@ tre_regwnexec(const regex_t *preg, const
CALL_WITH_OFFSET(tre_match(preg, &str[offset], slen, type, nmatch,
pmatch, eflags));
else
- return tre_match(preg, str, len == (unsigned)-1 ? strlen(str) : len,
+ return tre_match(preg, str, len == (unsigned)-1 ? tre_strlen(str) : len,
STR_WIDE, nmatch, pmatch, eflags);
}
More information about the svn-src-user
mailing list