]> icculus.org git repositories - divverent/darkplaces.git/commit
Replaced snprintf and vnsprintf calls by dpsnprintf and dpvsnprintf calls, to ensure...
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 3 Feb 2005 12:17:10 +0000 (12:17 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 3 Feb 2005 12:17:10 +0000 (12:17 +0000)
commit0e936f973c3dcb7f74691912db3ad85e8805ccf1
tree08649721202bf9f045755412e404bb91b2188a32
parent28b09a77de746ef92aec2b56ba1ce705519b4d6b
Replaced snprintf and vnsprintf calls by dpsnprintf and dpvsnprintf calls, to ensure coherence among the various platforms (the Win32 versions of those functions aren't C99 compatible). dp(v)snprintf functions return -1 when the buffer is too small to contain all the data, and insure null termination.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4991 d7cf8633-e32d-0410-b094-e92efae38249
21 files changed:
cl_parse.c
common.c
common.h
console.c
fs.c
host.c
host_cmd.c
keys.c
model_brush.c
netconn.c
pr_edict.c
prvm_edict.c
r_shadow.c
r_sky.c
sbar.c
snd_mem.c
sv_main.c
sys_linux.c
sys_sdl.c
sys_shared.c
sys_win.c