On Sun, 23 Aug 1998, James C. Brodman wrote:
>i've come across this bug too.....i was told that whenever version was typed
>the mud crashed..
diff -up stk/comm.c vercrash/comm.c
--- stk/comm.c Fri Jul 3 15:07:39 1998
+++ vercrash/comm.c Fri Aug 21 16:27:14 1998
@@ -70,7 +70,7 @@
extern struct ban_list_element *ban_list;
extern int num_invalid;
extern char *GREETINGS;
-extern const char circlemud_version[];
+extern const char *circlemud_version;
extern int circle_restrict;
extern int mini_mud;
extern int no_rent_check;
diff -up stk/constants.c vercrash/constants.c
--- stk/constants.c Wed Jun 24 17:56:58 1998
+++ vercrash/constants.c Fri Aug 21 16:25:36 1998
@@ -13,9 +13,8 @@
#include "structs.h"
-cpp_extern const char circlemud_version[] = {
- "CircleMUD, version 3.00 beta patchlevel 14"
-};
+cpp_extern const char *circlemud_version =
+ "CircleMUD, version 3.00 beta patchlevel 14";
/* strings corresponding to ordinals/bitvectors in structs.h ***********/
It doesn't need to be an array....
--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/ | -- 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