warzone2100/lib/framework
Giel van Schijndel f5602b4778 * Replace a large amount of strncpy() calls with the safer strlcpy()
* Fix an error in src/game.c where we would use the wrong size as parameter to strlcpy()


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2640 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-27 16:18:52 +00:00
..
Makefile.am * Add file strlfuncs.h; this file contains an inline implementation of strlcpy and strlcat (safer variants of strncpy and strncat respectively) 2007-10-26 17:05:29 +00:00
Makefile.raw Add the tagfile framework that we will use for our new savegame format, and related 2007-10-22 18:40:34 +00:00
SDL_framerate.c Basic buildfile support for ICC and silence one warning. 2007-10-02 21:43:43 +00:00
SDL_framerate.h SDL_framerate is not part of Warzone 2100, not licensed under the GPL, but instead under the LGPL and even comes with it's own header. 2007-02-06 13:30:46 +00:00
config-macosx.h Converted MacOS port to use Xcode to produce a universal binary. Warzone 2007-04-18 03:10:53 +00:00
configfile.c * Replace a large amount of strncpy() calls with the safer strlcpy() 2007-10-27 16:18:52 +00:00
configfile.h * Task #5192: Audit some files for failure to set global pointers to NULL after having called free(global pointer) 2007-06-14 19:21:52 +00:00
cursors.h Add GPL notices to all sourcecode files. 2007-01-15 20:09:25 +00:00
cursors16.h Add GPL notices to all sourcecode files. 2007-01-15 20:09:25 +00:00
dbghelp.h Update dbghelp.h to Wine 0.9.43. 2007-08-12 01:03:38 +00:00
debug.c * Replace a lot of strncat(dst, src, sizeof(dst) - strlen(dst) - 1) calls with the less bloated strlcat(dst, src, sizeof(dst)) form 2007-10-27 15:47:17 +00:00
debug.h Add new debug tag LOG_MAP 2007-10-23 18:18:48 +00:00
exceptionhandler.c * Replace a lot of strncat(dst, src, sizeof(dst) - strlen(dst) - 1) calls with the less bloated strlcat(dst, src, sizeof(dst)) form 2007-10-27 15:47:17 +00:00
fractions.h Fix bug introduced in r2086 which would give droids trouble avoiding obstacles. 2007-07-14 13:48:11 +00:00
frame.c * Adapt the writeFXData and readFXData functions to use the PHYSFS big endian swapping write and read functions 2007-08-15 21:26:05 +00:00
frame.h * Add file strlfuncs.h; this file contains an inline implementation of strlcpy and strlcat (safer variants of strncpy and strncat respectively) 2007-10-26 17:05:29 +00:00
frameint.h Remove some unused function prototypes. 2007-04-03 17:33:38 +00:00
frameresource.c * Make resSetBaseDir const correct (char* -> const char*) 2007-10-27 16:12:00 +00:00
frameresource.h * Make resSetBaseDir const correct (char* -> const char*) 2007-10-27 16:12:00 +00:00
gettext.h Revert to GNU gettext.h and move MSVC defines to the vcproj. 2007-04-23 14:30:34 +00:00
input.c * Use SDL_EnableKeyRepeat to enable the repeation of key press events (this enables you to press your 'A' key once and get multiple 'A's if your in a textbox) 2007-08-16 09:30:50 +00:00
input.h Use special events structs for event handling. 2007-05-29 22:57:32 +00:00
listmacs.h Add GPL notices to all sourcecode files. 2007-01-15 20:09:25 +00:00
macros.h - Clean up macros a bit more 2007-08-21 12:30:00 +00:00
resly.h Use Unix PATH_MAX as default and thus move all "fixes" to Windows. 2007-08-21 12:59:05 +00:00
resource_lexer.l * Replace a large amount of strncpy() calls with the safer strlcpy() 2007-10-27 16:18:52 +00:00
resource_parser.y * Rename pLevelName to aLevelName (hungarian notation is a pain. Especially when it's wrong!) 2007-10-27 14:35:35 +00:00
strlfuncs.h * Add file strlfuncs.h; this file contains an inline implementation of strlcpy and strlcat (safer variants of strncpy and strncat respectively) 2007-10-26 17:05:29 +00:00
strnlen1.c * Add network primitives by Freddie Witherden <EvilGuru> 2007-08-08 18:50:28 +00:00
strnlen1.h * Add Doxygen comments to lib/framework/strnlen1.h 2007-09-15 23:37:32 +00:00
strres.c * remove function stringLen and replace all instances where it was used with strlen (can't see why anyone would want a custom string length function there in the first place) 2007-08-05 12:06:56 +00:00
strres.h * remove function stringLen and replace all instances where it was used with strlen (can't see why anyone would want a custom string length function there in the first place) 2007-08-05 12:06:56 +00:00
strres_lexer.l * Replace a large amount of strncpy() calls with the safer strlcpy() 2007-10-27 16:18:52 +00:00
strres_parser.y Translate3.patch by Martin Koller. Had to Wiggle names.txt, but it seems to have cleanly applied. 2007-07-28 11:35:26 +00:00
strresly.h * remove function stringLen and replace all instances where it was used with strlen (can't see why anyone would want a custom string length function there in the first place) 2007-08-05 12:06:56 +00:00
tagfile.c * Replace a lot of strncat(dst, src, sizeof(dst) - strlen(dst) - 1) calls with the less bloated strlcat(dst, src, sizeof(dst)) form 2007-10-27 15:47:17 +00:00
tagfile.h Add write and read methods for bools to tagfile framework. Remove enum write macro. 2007-10-23 20:21:18 +00:00
treap.c * Replace a _lot_ of strcpy(), strcat() and sprintf() calls with the safer strncpy(), strncat() and snprintf() respectively 2007-10-24 21:11:29 +00:00
treap.h * Replace a lot of heap usage with malloc/free usage 2007-06-04 20:46:30 +00:00
treapint.h Add GPL notices to all sourcecode files. 2007-01-15 20:09:25 +00:00
trig.c More work on the ICC front: 2007-10-15 18:09:18 +00:00
trig.h Make trig* functions const, which should be safe since they only depend on arrays which are setup on startup. 2007-05-30 01:41:48 +00:00
types.h Use Unix PATH_MAX as default and thus move all "fixes" to Windows. 2007-08-21 12:59:05 +00:00
wzglobal.h Use secure version of snprintf on Windows (_snprintf_s). 2007-10-27 15:50:45 +00:00