Re: [OASIS] I_CRASH define

From: George (greerga@CIRCLEMUD.ORG)
Date: 01/31/98


On Sat, 31 Jan 1998, Chris Jacobson wrote:

>>Why is it a last resort?  Is it going to slowly/quickly suck up all my
>>memory until it explodes?
>>Help is appreciated (I want to get this fixed before I release the
>>OasisOLC1.6a-128bit patch)
>
>Actually I think 50% or more of the people have to have I_CRASH... I for
>one must use it to prevent crashes.  Its an odd, not-understood crash...
>nobody has figured out why it is caused yet.

If you haven't applied all the fixes on my page related to memory
corruption then that's why you're crashing.  If you've done all those then
you have either made a problem yourself or there is another problem with
stock CircleMUD.  I doubt there are any left in Oasis itself but I could be
proven wrong.


Oh, and here's OasisOLC 1.6b:

diff -uprN olc16a/medit.c olc16b/medit.c
--- olc16a/medit.c      Mon Nov 17 14:39:21 1997
+++ olc16b/medit.c      Mon Dec 15 21:58:06 1997
@@ -1131,7 +1131,7 @@ void medit_parse(struct descriptor_data
     medit_disp_mprog(d);
     return;

-  case MEDIT_CHANGE_MPROG: {
+  case MEDIT_CHANGE_MPROG:
     if ((i = atoi(arg)) == 1)
       medit_disp_mprog_types(d);
     else if (i == 2) {
diff -uprN olc16a/zedit.c olc16b/zedit.c
--- olc16a/zedit.c      Mon Nov 17 14:39:21 1997
+++ olc16b/zedit.c      Sat Jan 31 21:58:54 1998
@@ -374,7 +374,7 @@ void zedit_create_index(int znum, char *
    * Out with the old, in with the new.
    */
   remove(old_name);
-  rename(new_name, old_name);
+  rename(old_name, new_name);
 }

 /*-------------------------------------------------------------------*/


--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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/15/00 PST