* Fixed a problem that crashed the client during <G>oto commands if a room
authorArt Cancro <ajc@citadel.org>
Thu, 13 Apr 2000 02:43:29 +0000 (02:43 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 13 Apr 2000 02:43:29 +0000 (02:43 +0000)
  existed with a name more than 32 characters (thanks to Magus for reporting
  this one).
* Tagged everything and updated docs for the 5.71 release

citadel/ChangeLog
citadel/IAFA-PACKAGE
citadel/citadel.c
citadel/citadel.h
citadel/citadel.lsm
citadel/config.c
citadel/rooms.h

index 99e4d78423d031fc67b883d098fc392453a99792..cbe1dcc9026d6c9a327a49674bbd0b2480e15096 100644 (file)
@@ -1,4 +1,10 @@
  $Log$
+ Revision 571.0  2000/04/13 02:43:24  ajc
+ * Fixed a problem that crashed the client during <G>oto commands if a room
+   existed with a name more than 32 characters (thanks to Magus for reporting
+   this one).
+ * Tagged everything and updated docs for the 5.71 release
+
  Revision 570.18  2000/04/10 01:47:22  ajc
  * More paginator changes.  Shuffled code around, added pagination to a bunch
    of other functions, and replaced the old, cumbersome pagination with the
@@ -1846,4 +1852,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
        * Initial CVS import 
-
index 5eaeaeb489fe0fe8f127b18ecbfb44713858b0d7..902a464f8558bf94ce1c6e66db5fc5c17cdb5781 100644 (file)
@@ -1,5 +1,5 @@
 Title:          Citadel/UX
-Version:        5.60
+Version:        5.71
 Description:    An advanced messaging system which can be used for BBS,
                groupware, and
                online community applications.  It is multithreaded,
index 2072be7deeb08e9b1444bec02e784965806e3901..0524ec98946d246a733c521e6545b0e39cce76ac 100644 (file)
@@ -42,7 +42,7 @@
 
 struct march {
        struct march *next;
-       char march_name[32];
+       char march_name[ROOMNAMELEN];
        char march_floor;
        char march_order;
 };
@@ -441,7 +441,7 @@ void gotonext(void)
 {
        char buf[256];
        struct march *mptr, *mptr2;
-       char next_room[32];
+       char next_room[ROOMNAMELEN];
 
        /* Check to see if the march-mode list is already allocated.
         * If it is, pop the first room off the list and go there.
index 10d89bb27938a75c928fcde7893da26a89bbea48..79148db0a4853a1ccd08f1320b03f472c84f115c 100644 (file)
@@ -8,8 +8,19 @@
 #include "sysdep.h"
 #include "sysconfig.h"
 #include "ipcdef.h"
-#define CITADEL        "Citadel/UX 5.70"
-#define REV_LEVEL 570
+
+#define CITADEL        "Citadel/UX 5.71"       /* Text description of this software */
+
+/*
+ * REV_LEVEL is the current version number (multiplied by 100 to avoid having
+ * to fiddle with the decimal).  REV_MIN is the oldest version of Citadel
+ * whose data files are compatible with the current version.  If the data files
+ * are older than REV_MIN, none of the programs will work until the setup
+ * program is run again to bring things up to date.
+ */
+#define REV_LEVEL      571             /* This version */
+#define REV_MIN                570             /* Oldest compatible version */
+
 #define SERVER_TYPE 0  /* zero for stock Citadel/UX; other developers please
                           obtain SERVER_TYPE codes for your implementations */
 
index ddac48dad10427d67bba8209b9ff4d4b2d68f585..019276261d7d777a380653f38262f61d94b8ab9b 100644 (file)
@@ -1,7 +1,7 @@
 Begin3
 Title:          Citadel/UX
-Version:        5.60
-Entered-date:  Sun Apr 25 23:58:22 EDT 1999
+Version:        5.71
+Entered-date:  Wed Apr 12 22:41:18 EDT 2000
 Description:    An advanced messaging system which can be used for BBS,
                groupware, and online community applications.  It is
                multithreaded, client/server, database driven, and
index 978e20693b1b4c51c76395339422666791239445..0bc223a3580b308b9c17ae098393db416ebadeab 100644 (file)
@@ -58,7 +58,7 @@ void get_config(void) {
        }
        fclose(cfp);
 
-       if (config.c_setup_level != REV_LEVEL) {
+       if (config.c_setup_level < REV_MIN) {
                fprintf(stderr, "config: Your data files are out of date.  ");
                fprintf(stderr, "Run setup to update them.\n");
                fprintf(stderr,
index 8953c43734c411605759ee547ad14827f6ed15ed..4f9b98c1020f2493962ec0da564666ea81dd9bfd 100644 (file)
@@ -19,6 +19,7 @@ void edit_floor(void);
 void kill_floor(void);
 void enter_bio(void);
 void download_to_local_disk(char *, long);
+void hit_any_key(void);
 
 
 /*