about BaseList
Robin Sommer
robin at net.uni-sb.de
Fri Sep 13 04:11:58 PDT 2002
On Fri, Sep 13, 2002 at 16:06 +0800, Wang Shaofu wrote:
> entry[n] = 0; // for debugging ???Is this to make the nth one
> null?
No. The n-th entry is removed by moving all following entries one
position to the front, i.e. the n-th entry is overwritten by the
n+1-th.
The line above clears the array position that has been the end of
the list before we deleted the n-th element. This is not necessary
but helps debugging.
Robin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20020913/5f649846/attachment.bin
More information about the Bro
mailing list