From owner-svn-src-projects@freebsd.org Wed Aug 12 17:22:19 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 166E999F991 for ; Wed, 12 Aug 2015 17:22:19 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: from mail-yk0-x229.google.com (mail-yk0-x229.google.com [IPv6:2607:f8b0:4002:c07::229]) (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 CD4112E8; Wed, 12 Aug 2015 17:22:18 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: by ykaz130 with SMTP id z130so19955304yka.0; Wed, 12 Aug 2015 10:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=htNMjJjZ0DhtZrghA4I2BrKUda2k68z85DoKVmBEkUY=; b=MzetyHifeQy+uvAIfL7HelzdNR/Jr2s//1U1Lx5rk0DRt5lXNDne9OvKbP2DpXBTu6 i6dnrYue/SvLSBi05+SqFIiofAU2TMQiJB5ugKK+u+2KOTBsv+O9EZ/mktR/o53Q52bP L07w/aYSb+pcLxAEXDUSNXCKko4bEQ6ROAYT1kJFJLxHC2hbje+UubY5kusPc9qkBWJi X+19CJ/IHplM0EFgiNeKwShMj/CwxUhnBFzoKG7TlZIkvKRyIulen7i1xveEbCaKZOXC v4nc6NzVbr0ZaeUb9+AfqpC3SEQC+/v/svDNIx2P93PAdqitSrEUYL9b/JXLI2q/b6SW 2NeA== MIME-Version: 1.0 X-Received: by 10.13.219.129 with SMTP id d123mr23272241ywe.54.1439400137967; Wed, 12 Aug 2015 10:22:17 -0700 (PDT) Sender: davide.italiano@gmail.com Received: by 10.37.200.71 with HTTP; Wed, 12 Aug 2015 10:22:17 -0700 (PDT) In-Reply-To: <201508082257.t78MvIT1000841@repo.freebsd.org> References: <201508082257.t78MvIT1000841@repo.freebsd.org> Date: Wed, 12 Aug 2015 13:22:17 -0400 X-Google-Sender-Auth: vFHCqaM9i9VLPg71ocjnsd8BDFY Message-ID: Subject: Re: svn commit: r286484 - projects/collation/usr.bin/localedef From: Davide Italiano To: Baptiste Daroussin Cc: "src-committers@freebsd.org" , svn-src-projects@freebsd.org Content-Type: text/plain; charset=UTF-8 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 17:22:19 -0000 On Sat, Aug 8, 2015 at 6:57 PM, Baptiste Daroussin wrote: > 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 = 0; \ > + RB_FOREACH(t, name, head) { \ > + cnt++; \ > + } \ > +} while (0); > + Can you commit this one to HEAD && move it to the right header? Thanks, -- Davide "A mathematical theory is not to be considered complete until you have made it so clear that you can explain it to the first man whom you meet on the street." (D. Hilbert)