|
From: <gjh...@us...> - 2004-03-04 00:05:39
|
Update of /cvsroot/mistmud/mistmud In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23257 Modified Files: board.c comm.c db.h protos.h Log Message: - make it so log() doesn't complain, it will be renamed soon Index: board.c =================================================================== RCS file: /cvsroot/mistmud/mistmud/board.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** board.c 10 Aug 2003 02:11:56 -0000 1.2 --- board.c 3 Mar 2004 23:44:53 -0000 1.3 *************** *** 397,401 **** if (!the_file) { sprintf(buf,"Can't open message file for board %d.\n\r",bnum); ! log(buf,0); continue; } --- 397,401 ---- if (!the_file) { sprintf(buf,"Can't open message file for board %d.\n\r",bnum); ! log(buf); continue; } Index: comm.c =================================================================== RCS file: /cvsroot/mistmud/mistmud/comm.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** comm.c 10 Aug 2003 02:11:56 -0000 1.9 --- comm.c 3 Mar 2004 23:44:53 -0000 1.10 *************** *** 768,772 **** log("strlen returned bogus length in write_to_q, string was: "); for(strl=0;strl<120;strl++) tbuf[strl]=txt[strl]; tbuf[strl]=0; ! log(strl); if (new) free(new); --- 768,772 ---- log("strlen returned bogus length in write_to_q, string was: "); for(strl=0;strl<120;strl++) tbuf[strl]=txt[strl]; tbuf[strl]=0; ! log(tbuf); if (new) free(new); Index: db.h =================================================================== RCS file: /cvsroot/mistmud/mistmud/db.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** db.h 8 Jul 2003 19:19:19 -0000 1.1.1.1 --- db.h 3 Mar 2004 23:44:53 -0000 1.2 *************** *** 2,6 **** --- 2,8 ---- /* data files used by the game system */ + #ifndef RLIMIT_OFILE #define RLIMIT_OFILE 99999 + #endif #define DFLT_DIR "../lib" /* default data directory */ Index: protos.h =================================================================== RCS file: /cvsroot/mistmud/mistmud/protos.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** protos.h 2 Sep 2003 07:36:18 -0000 1.11 --- protos.h 3 Mar 2004 23:44:53 -0000 1.12 *************** *** 2046,2049 **** --- 2046,2050 ---- int strn_cmp(char *arg1, char *arg2, int n); void log_sev(char *str,int sev); + void log(char *s); void slog(char *str); void sprintbit(unsigned long vektor, char *names[], char *result); |