svn commit: r286484 - projects/collation/usr.bin/localedef
Davide Italiano
davide at freebsd.org
Wed Aug 12 17:22:19 UTC 2015
On Sat, Aug 8, 2015 at 6:57 PM, Baptiste Daroussin <bapt at 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)
More information about the svn-src-projects
mailing list