1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware
William Wilgus f6c719d7ec replace strlcpy with strmemccpy
replace applicable calls to strlcpy with calls to strmemccpy
which null terminates on truncation

in theory the strmemccpy calls should be slightly faster since they
don't traverse the rest of the source string on truncation
but I seriously doubt there is too much of that going on in the code base

Change-Id: Ia0251514e36a6242bbf3f03c5e0df123aba60ed2
2022-11-14 23:56:16 -05:00
..
asm Revert "Remove YUV blitting functions and LCD modes" 2022-10-13 11:08:06 -04:00
common replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
drivers replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
export make splash split on control characters 2022-11-12 06:22:16 -05:00
include replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
kernel kernel: remove unused function mutex_test() 2022-05-14 11:29:55 -04:00
libc add memccpy.c 2022-11-15 00:56:01 -04:00
target x1000: Pass CPM scratch register to the bootloader 2022-10-28 20:58:26 +01:00
usbstack move buflib_free invalid handle check to the function 2022-10-15 09:26:58 -04:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c
backlight.c apps: Add ability to do a clean reboot 2022-04-16 14:36:39 +01:00
bidi.c
buflib.c replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
COPYING
core_alloc.c buflib: add pin/unpin operation 2022-09-19 15:09:51 -04:00
debug.c
eeprom_settings.c
enc_base.c
events.c
firmware.make
font.c replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
font_cache.c
general.c replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
hangul.c
linuxboot.c move buflib_free invalid handle check to the function 2022-10-15 09:26:58 -04:00
load_code.c
logf.c logf: Fix an incorrect fix in 835d0c737a 2021-08-15 09:03:16 -04:00
lru.c
panic.c mips: consolidate exception handling, add exception backtraces 2022-10-17 09:04:18 -04:00
pcm.c
pcm_mixer.c
pcm_sampr.c
pcm_sw_volume.c
powermgmt.c apps: Add ability to do a clean reboot 2022-04-16 14:36:39 +01:00
profile.c
README
rolo.c x1000: support new binary header in rolo 2022-03-11 11:15:56 -05:00
rom.lds
screendump.c
scroll_engine.c lcd: Remove internal function get_viewport() 2022-10-09 22:07:48 +01:00
sdmmc.c
sound.c
SOURCES replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
storage.c
system.c Add ability to dump cpu boost log to disk, include thread names 2021-09-30 21:13:22 -04:00
timer.c
tuner.c
usb.c usb: add debounce interval for USB status by event 2022-09-25 06:49:11 -04:00

See docs/README