From: Art Cancro Date: Thu, 13 Apr 2000 02:43:29 +0000 (+0000) Subject: * Fixed a problem that crashed the client during oto commands if a room X-Git-Tag: v7.86~7215 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=961ceb297da32a14c38b09fa6d4f2262c76306ba * Fixed a problem that crashed the client during 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 --- diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 99e4d7842..cbe1dcc90 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,10 @@ $Log$ + Revision 571.0 2000/04/13 02:43:24 ajc + * Fixed a problem that crashed the client during 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 Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/IAFA-PACKAGE b/citadel/IAFA-PACKAGE index 5eaeaeb48..902a464f8 100644 --- a/citadel/IAFA-PACKAGE +++ b/citadel/IAFA-PACKAGE @@ -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, diff --git a/citadel/citadel.c b/citadel/citadel.c index 2072be7de..0524ec989 100644 --- a/citadel/citadel.c +++ b/citadel/citadel.c @@ -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. diff --git a/citadel/citadel.h b/citadel/citadel.h index 10d89bb27..79148db0a 100644 --- a/citadel/citadel.h +++ b/citadel/citadel.h @@ -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 */ diff --git a/citadel/citadel.lsm b/citadel/citadel.lsm index ddac48dad..019276261 100644 --- a/citadel/citadel.lsm +++ b/citadel/citadel.lsm @@ -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 diff --git a/citadel/config.c b/citadel/config.c index 978e20693..0bc223a35 100644 --- a/citadel/config.c +++ b/citadel/config.c @@ -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, diff --git a/citadel/rooms.h b/citadel/rooms.h index 8953c4373..4f9b98c10 100644 --- a/citadel/rooms.h +++ b/citadel/rooms.h @@ -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); /*