On Thu, Jul 01, 2004 at 04:00:43PM +0100 or so it is rumoured hereabouts,
Paul Jakma thought:
>> However, every now and then bugs are discovered[1] due to usage such
> as:
>> LIST_LOOP (list, val, this)
> {
> ....
> delete_member (this);
> ....
> }
If your delete_member() function is correctly implemented, it should link
element (N-1) to element (N+1) and avoid breaking the list. Is this what
you mean?
Conor
--
Conor Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
8:34pm up 6 days, 23:46, 0 users, load average: 0.20, 0.17, 0.09
Hobbiton.cod.ie
8:32pm up 100 days, 23:58, 1 user, load average: 0.06, 0.15, 0.09
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!