svn commit: r247596 - head/lib/libc/regex
Xin LI
delphij at FreeBSD.org
Fri Mar 1 23:26:13 UTC 2013
Author: delphij
Date: Fri Mar 1 23:26:13 2013
New Revision: 247596
URL: http://svnweb.freebsd.org/changeset/base/247596
Log:
Fix assignment of maximum bounadary.
Submitted by: Sascha Wildner <saw online de>
Obtained from: DragonFly rev fd39c81ba220f7ad6e4dc9b30d45e828cf58a1ad
MFC after: 2 weeks
Modified:
head/lib/libc/regex/regcomp.c
Modified: head/lib/libc/regex/regcomp.c
==============================================================================
--- head/lib/libc/regex/regcomp.c Fri Mar 1 23:21:18 2013 (r247595)
+++ head/lib/libc/regex/regcomp.c Fri Mar 1 23:26:13 2013 (r247596)
@@ -1212,7 +1212,7 @@ CHaddrange(struct parse *p, cset *cs, wi
}
cs->ranges = newranges;
cs->ranges[cs->nranges].min = min;
- cs->ranges[cs->nranges].min = max;
+ cs->ranges[cs->nranges].max = max;
cs->nranges++;
}
More information about the svn-src-head
mailing list