]> Sergey Matveev's repositories - nnn.git/commit
xstrdup: use memcpy
authorNRK <nrk@disroot.org>
Mon, 8 Aug 2022 21:01:30 +0000 (03:01 +0600)
committerNRK <nrk@disroot.org>
Tue, 16 Aug 2022 13:31:18 +0000 (19:31 +0600)
commitf8ee991254567ad597a281047e8b63551b6731b5
tree5c3e3b1e1bab74a17336f46becbcc238fa46b0f8
parentd49ddd1331d5b9c4b7fbfda5e2571cd730d0724c
xstrdup: use memcpy

the length is already known, so memcpy should be faster than xstrsncpy.
src/nnn.c