Bug in Oasis Pres that killed ZONEs...

From: Chris Jacobson (fear@ATHENET.NET)
Date: 09/20/97


Ok, don't have the email handy so sending it to whole list (probably lots
of people here use the patches anyways and might have this bug)

In ZEDIT, void remove_cmd_from_list()

Where it says:

   for(i=0;i<count;i++)
     if(i==pos)
       newlist[l++] = (*list)[i];


SHOULD BE:

   for(i=0;i<count;i++)
     if(i!=pos)
       newlist[l++] = (*list)[i];


Because the ORIGINAL Oasis non-buggy code was:

   for(i=0;i<count;i++)
     if(i==pos)
       continue;
     else
       newlist[l++] = (*list)[i];

THis should make it so your zone files dont get occasionally screwed up.

- Chris Jacobson


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST