Changeset 1177
- Timestamp:
- 12/31/07 23:15:22 (9 months ago)
- Files:
-
- 1.8.3/branches/devel/CHANGES.182 (modified) (3 diffs)
- 1.8.3/branches/devel/game/txt/hlp/pennv182.hlp (modified) (3 diffs)
- 1.8.3/branches/devel/src/command.c (modified) (1 diff)
- 1.8.3/branches/devel/src/funmath.c (modified) (1 diff)
- 1.8.3/branches/devel/src/ssl_slave.c (modified) (13 diffs)
- 1.8.3/branches/devel/test/README (copied) (copied from 1.8.3/trunk/test/README)
- 1.8.3/branches/devel/test/testtrim.pl (copied) (copied from 1.8.3/trunk/test/testtrim.pl)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/branches/devel/CHANGES.182
r1127 r1177 14 14 ========================================================================== 15 15 16 Version 1.8.2 patchlevel 8 ??? ??, 200?16 Version 1.8.2 patchlevel 8 Jan 01, 2008 17 17 18 18 Minor changes: … … 22 22 * width() and height() do not return 0 when set to invalid input. 23 23 By Talvo. 24 * Array underflow bug found by running under Valgrind. 25 * Crash bug when too many objects are nested. Reported by Paige, fixed 26 by Javelin and Intervis. 24 27 25 28 Version 1.8.2 patchlevel 7 October 6, 2007 … … 35 38 * The open database file wasn't getting closed on a failed save. 36 39 * Crash bug in sortkey(). Fix by Nathan Baum. 40 * Crash bug in pathological container cases reported by Paige@M*U*S*H 41 fixed by Javelin. 37 42 * 'help @desc' brings up @describe instead of @descformat. 38 43 Suggested by Nymeria. 1.8.3/branches/devel/game/txt/hlp/pennv182.hlp
r1166 r1177 1 1 & 1.8.2p8 2 Version 1.8.2 patchlevel 8 ??? ??, 200?2 Version 1.8.2 patchlevel 8 Jan 01, 2008 3 3 4 4 Minor changes: … … 8 8 * width() and height() do not return 0 when set to invalid input. 9 9 By Talvo. 10 * Array underflow bug found by running under Valgrind. 11 * Crash bug when too many objects are nested. Reported by Paige, fixed 12 by Javelin and Intervis. 10 13 11 14 & 1.8.2p7 … … 22 25 * The open database file wasn't getting closed on a failed save. 23 26 * Crash bug in sortkey(). Fix by Nathan Baum. 27 * Crash bug in pathological container cases reported by Paige@M*U*S*H 28 fixed by Javelin. 24 29 * 'help @desc' brings up @describe instead of @descformat. 25 30 Suggested by Nymeria. 1.8.3/branches/devel/src/command.c
r1162 r1177 445 445 } else { 446 446 size_t len = strlen(sw); 447 if (!cmd->sw.mask) 448 return 0; 447 449 sw_val = dyn_switch_list; 448 450 while (sw_val->name) { 1.8.3/branches/devel/src/funmath.c
r1165 r1177 1130 1130 if (!is_number(args[1])) { 1131 1131 if (args[1][0] == 'e' && args[1][1] == '\0') 1132 base_is_e = true;1132 base_is_e = true; 1133 1133 else { 1134 safe_str(T(e_nums), buff, bp);1135 return;1134 safe_str(T(e_nums), buff, bp); 1135 return; 1136 1136 } 1137 } else 1137 } else 1138 1138 base = parse_number(args[1]); 1139 1139 1.8.3/branches/devel/src/ssl_slave.c
r905 r1177 218 218 parse_arguments(int argc, char **argv, char *elog, char *mhost, 219 219 Port_t *mport, Port_t *lport, char *kfile, char *cafl); 220 static void logout_sock(CDESC * d);221 static void shutdownsock(CDESC * d);220 static void logout_sock(CDESC * d); 221 static void shutdownsock(CDESC * d); 222 222 static CDESC *initializesock(int s, char *addr, char *ip, int use_ssl); 223 int process_output(CDESC * d);224 static int process_input(CDESC * d, int output_ready);225 static void process_input_helper(CDESC * d, char *tbuf1, int got);223 int process_output(CDESC * d); 224 static int process_input(CDESC * d, int output_ready); 225 static void process_input_helper(CDESC * d, char *tbuf1, int got); 226 226 static void close_sockets(void); 227 227 static CDESC *connect_to_mush(const char *mush_host, Port_t mport); … … 229 229 static int test_connection(int newsock); 230 230 static CDESC *new_connection(int oldsock, int *result, int use_ssl); 231 static int queue_newwrite(CDESC *d, const unsigned char *b, int n); 232 static int send_text(CDESC *d, const unsigned char *b); 233 static int send_concentor_command(CDESC *d, const unsigned char *b); 234 static int send_concentor_text(CDESC *d, int player_id, const unsigned char *b); 231 static int queue_newwrite(CDESC * d, const unsigned char *b, int n); 232 static int send_text(CDESC * d, const unsigned char *b); 233 static int send_concentor_command(CDESC * d, const unsigned char *b); 234 static int send_concentor_text(CDESC * d, int player_id, 235 const unsigned char *b); 235 236 static void process_commands(void); 236 237 … … 407 408 /* Send text to the MUSH from a player */ 408 409 static int 409 send_concentor_message(CDESC * d, int player_id, const unsigned char *b)410 send_concentor_message(CDESC * d, int player_id, const unsigned char *b) 410 411 { 411 412 unsigned char *message = … … 417 418 /* Send text with a player_id of -1 */ 418 419 static int 419 send_concentor_command(CDESC * d, const unsigned char *b)420 send_concentor_command(CDESC * d, const unsigned char *b) 420 421 { 421 422 return send_concentrator_message(d, -1, b); … … 529 530 530 531 static void 531 queue_to_player(CDESC * d)532 queue_to_player(CDESC * d) 532 533 { 533 534 /* Parse a concentrator message from the MUSH in text blocks on … … 538 539 539 540 static void 540 queue_to_mush(CDESC * d)541 queue_to_mush(CDESC * d) 541 542 { 542 543 /* Parse some text from a player and queue it to the MUSH as … … 633 634 */ 634 635 static void 635 shutdownsock(CDESC * d)636 shutdownsock(CDESC * d) 636 637 { 637 638 … … 721 722 */ 722 723 int 723 process_output(CDESC * d)724 process_output(CDESC * d) 724 725 { 725 726 struct text_block **qp, *cur; … … 814 815 815 816 static void 816 save_command(CDESC * d, const unsigned char *command)817 save_command(CDESC * d, const unsigned char *command) 817 818 { 818 819 add_to_queue(&d->input, command, u_strlen(command) + 1); … … 821 822 822 823 static void 823 process_input_helper(CDESC * d, char *tbuf1, int got)824 process_input_helper(CDESC * d, char *tbuf1, int got) 824 825 { 825 826 unsigned char *p, *pend, *q, *qend; … … 870 871 /* ARGSUSED */ 871 872 static int 872 process_input(CDESC * d, int output_ready)873 process_input(CDESC * d, int output_ready) 873 874 { 874 875 int got = 0; … … 1052 1053 1053 1054 static int 1054 send_text(CDESC * d, const unsigned char *b)1055 send_text(CDESC * d, const unsigned char *b) 1055 1056 { 1056 1057 int l = u_strlen(b); … … 1065 1066 */ 1066 1067 static int 1067 queue_newwrite(CDESC * d, const unsigned char *b, int n)1068 queue_newwrite(CDESC * d, const unsigned char *b, int n) 1068 1069 { 1069 1070 int space;
