Age | Commit message (Collapse) | Author |
|
The Windows API has an _snprintf function that is not the same as
Unix's snprintf(): if the string is truncated then no trailing NUL
character is appended. This makes the function unsafe. Define a
replacement/wrapper called M_snprintf that works the same but always
appends a trailing NUL, for safety on Windows and other OSes that
behave like this.
Do the same thing for vsnprintf(), and update HACKING to list
snprintf/vsnprintf as forbidden functions. This fixes #375;
thanks to Quasar for pointing out the different behavior of these
functions.
|
|
Use snprintf() in place of sprintf(). This is part of fixing #371.
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2665
|
|
instances of this within the code (thanks Edward-san).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2468
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1907
|
|
around appropriate strings to allow string replacements.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1867
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1375
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1253
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1252
|
|
conversion macros; use the ones from the common code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1242
|
|
Replace "shareware" variable with gamemode, as in doom code. Merge angle
definitions into common code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1240
|
|
soundst.h to s_sound.h to fit. Reformat sounds.c files to declare sounds
through macros and harmonise on the common sfxinfo_t. Fix up Heretic
sound code to use common sound API.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1236
|
|
configuration for building heretic/hexen code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1198
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1197
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1195
|