]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Work around Microsoft's broken vsnprintf implementation
authorbones_was_here <bones_was_here@xonotic.au>
Tue, 30 Jan 2024 11:38:52 +0000 (21:38 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 30 Jan 2024 12:08:00 +0000 (22:08 +1000)
commit276a31ba5173770b72faa6abb3778aee1d71150d
tree852aba053aad9e10d4bf40a384cea5be92a807a5
parent725fd6f84346fc1b35cdc0e5637aee9c2fde4063
Work around Microsoft's broken vsnprintf implementation

Microsoft's documentation says it has supported %zu (C99 standard format
for size_t) for some years but trying to use it causes crashes at least
on older versions of Windows.

Makes dpsnprintf and dpvsnprintf documentation more accessible (these
funcs have different return behaviour than the C standard ones).

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
cmd.c
common.c
common.h
prvm_cmds.c
prvm_edict.c