From: Michael Kerrisk Date: Wed, 21 Oct 2020 04:48:03 +0000 (+0200) Subject: list.3: Minor tweak's to Alex's text X-Git-Tag: man-pages-5.09~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e5e3699980dfb39d19d21d1591b70b683cc00b2;p=thirdparty%2Fman-pages.git list.3: Minor tweak's to Alex's text Signed-off-by: Michael Kerrisk --- diff --git a/man3/list.3 b/man3/list.3 index bff952caee..8ad35739a5 100644 --- a/man3/list.3 +++ b/man3/list.3 @@ -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