Protocol: | pserver | User: | anonymous |
Machine: | crossfire.cvs.sourceforge.net | CVSROOT: | /cvsroot/crossfire |
Filename: shstr.c | |||
Revision 1.10 | ryo_saeba | 2006/03/18 11:15:24 | +2 -9 |
Use const when possible. Patch courtesy Stefan Huehner. | |||
Show difference between Revision 1.9 and 1.10 | |||
Revision 1.9 | tchize | 2006/03/12 11:03:35 | +2 -2 |
query_refcount returns wrong value if string is at top of linked list (a bit flagging this state was not cleared) detected when preparing unit testing framework | |||
Show difference between Revision 1.8 and 1.9 | |||
Revision 1.8 | akirschbaum | 2005/12/05 17:34:03 | +3 -3 |
Apply patch #1371956 (code cleanup patch) by Stefan Huehner: fix old-style function declarations and prototypes to proper Ansi C syntax. This patch allows the compiler to check function arguments and also removes some warnings when compiling with -Wstrict-prototypes. | |||
Show difference between Revision 1.7 and 1.8 | |||
Revision 1.7 | akirschbaum | 2005/10/28 14:08:53 | +3 -2 |
Fix compiler warnings. Most changes do not change the program (remove unused variables, convert "if(x = y)" into "x = y; if(x)"); a few actually fix (possible) problems (fix uninitialized variables, fix printf format specifiers, fix mismatches between signed and unsigned variables, add missing return and default statements). | |||
Show difference between Revision 1.6 and 1.7 | |||
Revision 1.6 | ryo_saeba | 2005/08/12 08:46:34 | +11 -8 |
Fields changed from char* to const char*, cleanup. | |||
Show difference between Revision 1.5 and 1.6 | |||
Revision 1.5 | ryo_saeba | 2005/08/12 03:18:59 | +2 -2 |
Use const char* instead of char* when possible | |||
Show difference between Revision 1.4 and 1.5 | |||
Revision 1.4 | michtoen | 2001/06/10 22:47:53 | +3 -1 |
fix it for win32 usage (exclude autoconfig.h) | |||
Show difference between Revision 1.3 and 1.4 | |||
Revision 1.3 | mwedel | 2001/05/09 01:58:12 | +2 -1 |
Various improvements to make finding memory leaks easier. common/anim.c: Add free_all_anim function common/arch.c: Modify free_all_arch to free more data common/init.c: If running under MEMORY_DEBUG, don't pre-allocate objects. common/map.c: Add free_all_maps functiion. common/object.c: Modify object allocations if using MEMORY_DEBUG to only malloc one object at a time, and not pre-allocate objects. common/readable.c: Fix memory leak. common/shstr.c: Include autoconf.h so it can pull in dmalloc.h file. include/config.h: Remove notes of what was removed a long time ago. Add MEMORY_DEBUG option. include/libproto.h, include/sockproto.h, include/sproto.h: automatic rebuild server/c_misc.c: Fix 'malloc info command so it reports right memory total for maps. Add command_style_map_info which sums up memory used by style maps. server/commands.c: Add style_info wiz command which dumps memory usage for style maps. server/init.c: Have sighup handler call cleanup function. server/main.c: Fix clean_tmp_files which could result in crash if one of the maps in memory has 0 reset time. Modify cleanup function to free more data. server/player.c: op_on_battleground: Fix compile warning about unuused variable. socket/init.c: Change name of free_all_ericserver to free_all_newserver, have it free all face data. MSW 2001-05-08 | |||
Show difference between Revision 1.2 and 1.3 | |||
Revision 1.2 | cvs | 1999/07/13 01:02:42 | +0 -0 |
Global commit for 0.95.4 - most files have no changes but just have differing headers between my local RCS and the CVS versions and need to get synced up. | |||
Show difference between Revision 1.1 and 1.2 | |||
Revision 1.1 | uid200 | 1999/04/02 13:10:03 | None |
Initial revision | |||
First version | |||
Revision 1.1.1.1 | uid200 | 1999/04/02 13:10:03 | +0 -0 |
First CVS revsion: crossfire-0.95.3 | |||
Show difference between Revision 1.1 and 1.1.1.1 |