From owner-svn-src-all@FreeBSD.ORG  Mon Apr  8 23:01:33 2013
Return-Path: <owner-svn-src-all@FreeBSD.ORG>
Delivered-To: svn-src-all@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id B1876AF4;
 Mon,  8 Apr 2013 23:01:33 +0000 (UTC)
 (envelope-from delphij@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id A35A71E2;
 Mon,  8 Apr 2013 23:01:33 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r38N1XAd056987;
 Mon, 8 Apr 2013 23:01:33 GMT (envelope-from delphij@svn.freebsd.org)
Received: (from delphij@localhost)
 by svn.freebsd.org (8.14.6/8.14.5/Submit) id r38N1XWx056986;
 Mon, 8 Apr 2013 23:01:33 GMT (envelope-from delphij@svn.freebsd.org)
Message-Id: <201304082301.r38N1XWx056986@svn.freebsd.org>
From: Xin LI <delphij@FreeBSD.org>
Date: Mon, 8 Apr 2013 23:01:33 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject: svn commit: r249289 - in stable: 8/lib/libc/regex 9/lib/libc/regex
X-SVN-Group: stable-9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-all@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "SVN commit messages for the entire src tree \(except for &quot;
 user&quot; and &quot; projects&quot; \)" <svn-src-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-all>
List-Post: <mailto:svn-src-all@freebsd.org>
List-Help: <mailto:svn-src-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Apr 2013 23:01:33 -0000

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++;
 }