OpenBSD CVS

CVS log for src/share/man/man3/tree.3


[BACK] Up to [local] / src / share / man / man3

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.30 / (download) - annotate - [select for diffs], Fri May 10 13:13:14 2019 UTC (5 years ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, HEAD
Changes since 1.29: +6 -2 lines
Diff to previous 1.29 (colored)

Make the red-black tree example -Wmissing-prototypes clean by providing
prototypes with RB_PROTOTYPE.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 24 17:06:03 2017 UTC (6 years, 10 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

ansify

Revision 1.28 / (download) - annotate - [select for diffs], Mon Mar 14 22:39:23 2016 UTC (8 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)

some Xr; from michal mazurek

Revision 1.27 / (download) - annotate - [select for diffs], Tue Nov 10 23:48:17 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

update NAME section to include all documented functions,
or otherwise change Dt to reflect the name of an existing function;

feedback/ok schwarze

Revision 1.26 / (download) - annotate - [select for diffs], Mon Sep 8 01:27:55 2014 UTC (9 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

obvious cases of missing .An;
found with the new mandoc(1) MANDOCERR_AN_MISSING warning;
no text changes

Revision 1.25 / (download) - annotate - [select for diffs], Wed Aug 14 06:32:31 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

no longer any need to quote macro lines with >9 args;
From: Jan Stary

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 5 03:42:03 2013 UTC (11 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

use fancy .In macros for includes. from Jan Klemkow. ok jmc schwarze

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jul 9 08:43:01 2011 UTC (12 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.22: +13 -8 lines
Diff to previous 1.22 (colored)

tweak previous;

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 9 00:20:36 2011 UTC (12 years, 11 months ago) by pirofti
Branch: MAIN
Changes since 1.21: +13 -2 lines
Diff to previous 1.21 (colored)

Document the newly added FOREACH_SAFE marcos.

Revision 1.21 / (download) - annotate - [select for diffs], Wed May 5 18:17:41 2010 UTC (14 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.20: +14 -18 lines
Diff to previous 1.20 (colored)

Move the return values of RB_INSERT, RB_REMOVE, SPLAY_INSERT and
SPLAY_REMOVE closer to whether the macros are documents rather than in a
separate section. Also describe the actual return values of the remove
macros.

Tweaked version of a diff from Tim van der Molen.

ok jmc henning

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 28 12:22:48 2009 UTC (15 years, 4 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.19: +7 -2 lines
Diff to previous 1.19 (colored)

Document the return value of RB_INSERT in tree(3).
wording fixes and ok henning@

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 28 10:26:48 2009 UTC (15 years, 4 months ago) by stsp
Branch: MAIN
Changes since 1.18: +7 -2 lines
Diff to previous 1.18 (colored)

Document the difference between RB_FIND and RB_NFIND in tree(3).
Added text was copied from comments found in sys/tree.h.
"go ahead, if something's wrong with it, jmc will fix it" mcbride@

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 21 16:54:12 2008 UTC (15 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

fix example comparison function to work with large ranges of numbers.  ok djm otto

Revision 1.17 / (download) - annotate - [select for diffs], Sun Nov 30 20:19:16 2008 UTC (15 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.16: +9 -9 lines
Diff to previous 1.16 (colored)

fixes from Jacek Masiulaniec, tweaked by otto and myself;

Revision 1.16 / (download) - annotate - [select for diffs], Mon May 12 17:54:02 2008 UTC (16 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.15: +2 -7 lines
Diff to previous 1.15 (colored)

Remove clauses 3 and 4 from the license to match the license on
tree.h.  OK'd by Niels.

Revision 1.15 / (download) - annotate - [select for diffs], Sun May 11 22:19:09 2008 UTC (16 years ago) by millert
Branch: MAIN
Changes since 1.14: +40 -15 lines
Diff to previous 1.14 (colored)

Add RB_PROTOTYPE_STATIC, RB_GENERATE_STATIC, RB_PREV, RB_NFIND,
and RB_FOREACH_REVERSE from FreeBSD.  OK deraadt@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 24 12:04:13 2007 UTC (16 years, 5 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

bool -> int

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 31 19:19:48 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

convert to new .Dd format;

Revision 1.12 / (download) - annotate - [select for diffs], Sat Apr 16 06:11:35 2005 UTC (19 years, 1 month ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.11: +75 -1 lines
Diff to previous 1.11 (colored)

Give a complete, working example how to use the tree macros. The
existing descripion is rather terse, and without an example it's
hard to get going.  ok millert@ mpech@ jmc@

Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 17 19:32:13 2004 UTC (20 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

typos;
from Maxim Tsyplakov;

Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 5 19:41:33 2003 UTC (20 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.9: +11 -10 lines
Diff to previous 1.9 (colored)

correct errors in code examples; from Dries Schellekens;
ok niels@

Revision 1.9 / (download) - annotate - [select for diffs], Tue May 20 09:13:38 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.8: +15 -15 lines
Diff to previous 1.8 (colored)

typos;

Revision 1.8 / (download) - annotate - [select for diffs], Fri Nov 8 08:08:46 2002 UTC (21 years, 7 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.7: +27 -21 lines
Diff to previous 1.7 (colored)

Time to cleanup:
o) start new sentence on a new line;
o) wrap long lines;
o) don't use .Pp before/after .Sh, .Ss;
o) OpenBSD -> .Ox;
o) typos;
o) close .Rs;
o) use space between arguments in tag, for example:
   .Xr blabla ) .

miod@ ok

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 12 01:09:20 2002 UTC (22 years ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

correct prototypes

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 11 19:02:50 2002 UTC (22 years ago) by provos
Branch: MAIN
Changes since 1.5: +18 -1 lines
Diff to previous 1.5 (colored)

document return values

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 22 16:41:54 2002 UTC (22 years, 1 month ago) by provos
Branch: MAIN
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored)

fix example showing how to properly free a tree; pointed out by dugsong@

Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 8 21:07:54 2002 UTC (22 years, 2 months ago) by dugsong
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

sync *_{MIN,MAX} synopsis with reality. ok provos@

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 25 21:53:39 2002 UTC (22 years, 2 months ago) by frantzen
Branch: MAIN
Changes since 1.2: +33 -1 lines
Diff to previous 1.2 (colored)

document the {SPLAY,RB}_INITIALIZER and {SPLAY,RB}_EMPTY() macros

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 19 00:07:45 2002 UTC (22 years, 2 months ago) by vincent
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

 Free/tree typos.

 ok provos@

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 24 19:42:46 2002 UTC (22 years, 3 months ago) by provos
Branch: MAIN

queue.h like implementation of splay and red-black trees

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.