NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/46034 CVS commit: [netbsd-6] src/share/man/man3



The following reply was made to PR lib/46034; it has been noted by GNATS.

From: "SAITOH Masanobu" <msaitoh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/46034 CVS commit: [netbsd-6] src/share/man/man3
Date: Mon, 27 Oct 2014 05:51:57 +0000

 Module Name:	src
 Committed By:	msaitoh
 Date:		Mon Oct 27 05:51:57 UTC 2014
 
 Modified Files:
 	src/share/man/man3 [netbsd-6]: rbtree.3
 
 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #1136):
 	share/man/man3/rbtree.3: revision 1.8
 Fix documentation of rbtree(3) iteration.
 . Fix sense of rb_tree_iterate(rbt, NULL, ...).
 . Document RB_TREE_MIN/RB_TREE_MAX to avoid relying on that sense.
 . Document RB_TREE_FOREACH and RB_TREE_FOREACH_REVERSE to simplify
 iteration.
 Addresses PR lib/46034 and PR lib/47144.  It would have been nice to
 make `x = NULL; while ((x = rb_tree_iterate(t, NULL, ...)) != NULL)'
 DTRT to traverse t, but it's too much late for that now.
 We probably ought to have an RB_TREE_FOREACH{,_REVERSE}_SAFE too.
 ok christos
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.5.6.1 -r1.5.6.2 src/share/man/man3/rbtree.3
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index