]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
list.3: Minor tweak's to Alex's text
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 21 Oct 2020 04:48:03 +0000 (06:48 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 21 Oct 2020 04:48:03 +0000 (06:48 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/list.3

index bff952caee951a6026becb588b6b08cf1e540a1c..8ad35739a5714a7660db1b3c492624c90e5fecb4 100644 (file)
@@ -283,11 +283,10 @@ to be removed or freed within the loop,
 as it would interfere with the traversal.
 The macro
 .BR LIST_FOREACH_SAFE (),
-which is not present in glibc,
-solves this bug by
-allowing to both remove
+which is present on the BSDs but is not present in glibc,
+fixes this limitation by allowing
 .I var
-as well as free it from within the loop safely
+to safely be removed from the list and freed from within the loop
 without interfering with the traversal.
 .SH EXAMPLES
 .EX