svn commit: r249289 - in stable: 8/lib/libc/regex 9/lib/libc/regex

Xin LI delphij at FreeBSD.org
Mon Apr 8 23:01:33 UTC 2013


Author: delphij
Date: Mon Apr  8 23:01:33 2013
New Revision: 249289
URL: http://svnweb.freebsd.org/changeset/base/249289

Log:
  MFC r247596:
  
  Fix assignment of maximum bounadary.
  
  Submitted by:	Sascha Wildner <saw online de>
  Obtained from:	DragonFly rev fd39c81ba220f7ad6e4dc9b30d45e828cf58a1ad

Modified:
  stable/9/lib/libc/regex/regcomp.c
Directory Properties:
  stable/9/lib/libc/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/8/lib/libc/regex/regcomp.c
Directory Properties:
  stable/8/lib/libc/   (props changed)

Modified: stable/9/lib/libc/regex/regcomp.c
==============================================================================
--- stable/9/lib/libc/regex/regcomp.c	Mon Apr  8 22:56:40 2013	(r249288)
+++ stable/9/lib/libc/regex/regcomp.c	Mon Apr  8 23:01:33 2013	(r249289)
@@ -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-stable-9 mailing list