Module darkplaces: Change committed

molivier at icculus.org molivier at icculus.org
Thu Feb 3 07:17:20 EST 2005


Commiter   : molivier
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2005-02-03 12:17:20 UTC

Log message:

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.

Modified files:
     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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20050203.121720.molivier.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20050203/51d38847/attachment.diff>


More information about the twilight-commits mailing list