]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
com: rename BSD strlcpy and strlcat
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 15 Dec 2023 10:16:15 +0000 (20:16 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sat, 20 Jan 2024 09:42:07 +0000 (19:42 +1000)
commit906474fc025ff5b0b8799d9045a581bceafd2e7d
tree1db195afcabdf88e05c71c7213b2cb602a32cc3c
parent21fa9010ae6de8792f36cca08cb77aaa95d4b928
com: rename BSD strlcpy and strlcat

The C standard reserves str* and mem* for the implementation.
Checking for BSD or OS X is not a robust way to determine if libc
provides these (eg glibc may implement them).

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
59 files changed:
cd_shared.c
cl_cmd.c
cl_demo.c
cl_input.c
cl_main.c
cl_parse.c
cl_particles.c
cl_screen.c
cl_video.c
cl_video_jamdecode.c
cl_video_libavw.c
clvm_cmds.c
cmd.c
com_game.c
com_infostring.c
common.c
common.h
console.c
crypto.c
csprogs.c
dpvsimpledecode.c
filematch.c
fs.c
ft2.c
gl_backend.c
gl_draw.c
gl_rmain.c
gl_textures.c
host.c
image.c
jpeg.c
keys.c
libcurl.c
menu.c
model_alias.c
model_brush.c
model_shared.c
mvm_cmds.c
netconn.c
protocol.c
prvm_cmds.c
prvm_edict.c
prvm_exec.c
r_shadow.c
r_sky.c
r_stats.c
sbar.c
snd_main.c
sv_ccmds.c
sv_demo.c
sv_main.c
sv_save.c
sv_send.c
svvm_cmds.c
sys_sdl.c
sys_shared.c
vid_shared.c
world.c
zone.c