Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2013 23:26:13 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r247596 - head/lib/libc/regex
Message-ID:  <201303012326.r21NQDFT035439@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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++;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303012326.r21NQDFT035439>