From 7e5e3699980dfb39d19d21d1591b70b683cc00b2 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 21 Oct 2020 06:48:03 +0200 Subject: [PATCH] list.3: Minor tweak's to Alex's text Signed-off-by: Michael Kerrisk --- man3/list.3 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.47.2