svn commit: r286484 - projects/collation/usr.bin/localedef

Baptiste Daroussin bapt at freebsd.org
Wed Aug 12 18:27:44 UTC 2015


On Wed, Aug 12, 2015 at 01:22:17PM -0400, Davide Italiano wrote:
> 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?
> 
You mean adding to tree(3)?

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-projects/attachments/20150812/887a95f5/attachment.bin>


More information about the svn-src-projects mailing list