From owner-svn-src-projects@freebsd.org Wed Aug 12 18:27:44 2015 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A68009A097F for ; Wed, 12 Aug 2015 18:27:44 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DD5E2FB; Wed, 12 Aug 2015 18:27:44 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wicne3 with SMTP id ne3so229492767wic.1; Wed, 12 Aug 2015 11:27:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=lsyUGrAe0+QN2QxLULMOn7+/IPZijBEehIhKA0orEvc=; b=qd0tydtK55x7FINwh/9qhGY5sNzKrBLNZo9lTFRVtF7as97HqtYkj+YaM5x/T6Q6Kh Xl9IOIj6bgSe6qcipt07VAa/YlrMKEdy8nISWtMAn7oxeSeiQuWGcUJzqKdJDjYOwJdi U8tB7lGTSIvjQz1nXR4f0bfiOlQp9CBkjUPST317ks7P8y44bOcYWcEIlZctilxCKp6W eDKq5ew/RX3rcwToOcXsQ6aY+YIZmr5cIiZ/cTLYeMILZyvdjIsqdVOMfKR/28cey1oN 72YGUYdnCssJMsSVRkejLYTsisfOmzwmXoOaNTScERvhZpCjwlJnRV9IxYJj6ZQc2/UX Pjhg== X-Received: by 10.180.78.136 with SMTP id b8mr47299324wix.44.1439404062876; Wed, 12 Aug 2015 11:27:42 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id fa8sm9502423wib.14.2015.08.12.11.27.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Aug 2015 11:27:42 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 12 Aug 2015 20:27:39 +0200 From: Baptiste Daroussin To: Davide Italiano Cc: "src-committers@freebsd.org" , svn-src-projects@freebsd.org Subject: Re: svn commit: r286484 - projects/collation/usr.bin/localedef Message-ID: <20150812182739.GB51754@ivaldir.etoilebsd.net> References: <201508082257.t78MvIT1000841@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qcHopEYAB45HaUaB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 18:27:44 -0000 --qcHopEYAB45HaUaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 12, 2015 at 01:22:17PM -0400, Davide Italiano wrote: > On Sat, Aug 8, 2015 at 6:57 PM, Baptiste Daroussin wro= te: > > Author: bapt > > Date: Sat Aug 8 22:57:17 2015 > > New Revision: 286484 > > URL: https://svnweb.freebsd.org/changeset/base/286484 > > > > Log: > > Convert localedef(1) from avl to RB trees > > > > Modified: > > projects/collation/usr.bin/localedef/Makefile > > projects/collation/usr.bin/localedef/charmap.c > > projects/collation/usr.bin/localedef/collate.c > > projects/collation/usr.bin/localedef/ctype.c > > > > > > +#define RB_NUMNODES(type, name, head, cnt) do { \ > > + type *t; \ > > + cnt =3D 0; \ > > + RB_FOREACH(t, name, head) { \ > > + cnt++; \ > > + } \ > > +} while (0); > > + >=20 > Can you commit this one to HEAD && move it to the right header? >=20 You mean adding to tree(3)? Best regards, Bapt --qcHopEYAB45HaUaB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlXLkBsACgkQ8kTtMUmk6EwGsQCfRpQ6PFuOGqsRKSW5wA6PAWQr mLYAn3q4kFNe4gjAORb4GCKvCFI75lqM =Ukk5 -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB--