Stock CircleMUD bpl14 bug

From: Tony Robbins [Kupek] (tonyr@NWPACLINK.COM)
Date: 08/23/98


Somebody reported this to me as an OLC+ bug, but it is a stock bpl14 bug.

Typing version at any time will crash the MUD.  The string functions
working with circlemud_version cause the crash.

The fix is to change the constants.h line :
extern const char *circlemud_version;
to
cpp_extern const char circlemud_version[];

The latter is how it is defined in constants.c.  I haven't tested this
beyond "version" working now, but, well, it should work.  :P

-- Side note to OLC+ users --

Also, for OLC+ users, get the social_editor.BUGFIX file (it is a patch)
from ftp.circlemud.org/pub/CircleMUD/contrib/olc or
ftp.van.ml.org/pub/CircleMUD/contrib/olc because I forgot to put it in,
and it causes boards not to work after a social is added.  Sorry.

I would put up a new patch, but why re-invent the wheel.  Maybe Del
Minturn will put the fixed version on his page (which seems to have become
the OLC+ site.  :P)

Thanks to all,
-B.


     +------------------------------------------------------------+
     | 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