Prefer memcpy with a predetermined length, rather than strncpy, which could leave the buffer without a terminator. No current callers could cause the lack of a terminator, but gcc-13 warns about it, so rearrange the code to fix the warning. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |