Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 2015 13:22:17 -0400
From:      Davide Italiano <davide@freebsd.org>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>, svn-src-projects@freebsd.org
Subject:   Re: svn commit: r286484 - projects/collation/usr.bin/localedef
Message-ID:  <CACYV=-GnOpPddd-x_J0yW4g4QFsdcEVXaVc9CER9JD7iObGzAg@mail.gmail.com>
In-Reply-To: <201508082257.t78MvIT1000841@repo.freebsd.org>
References:  <201508082257.t78MvIT1000841@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 8, 2015 at 6:57 PM, Baptiste Daroussin <bapt@freebsd.org> 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACYV=-GnOpPddd-x_J0yW4g4QFsdcEVXaVc9CER9JD7iObGzAg>