LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] C puzzle

[ILUG] C puzzle

Conor Daly conor.daly at oceanfree.net
Thu Jul 1 20:34:24 IST 2004


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



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell