On 4/3/2006 at 4:35 PM spc at
conman.org wrote:
Either I'm not that smart, or in all my years as
a programmer, I've
never
come across a linked list where part of it is in a
loop, not all of it.
-spc (Perhaps I'm lucky?)
I've certainly seen it in DOS FAT entries; before that in other allocation
mechanisms. In other words, the problem described does occur in the real
world. Linked lists are very useful tools, but it's prudent to guard
against corruption by real-world hardware and programs.
Cheers,
Chuck