Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keplerproject/luafilesystem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2022-06-24 16:24:54 +0300
committerHisham Muhammad <hisham@gobolinux.org>2022-06-24 16:24:54 +0300
commit67c4cc2e1b971173d3eb126684c27519ce00b554 (patch)
treef1a68a1ada9d3c1430ee4e24dd17327c40df5a60
parent211c2a5d897db328a7776ddc11111a2051d5b7f3 (diff)
win32: use standard memmove functionwin32-memmove
-rw-r--r--src/lfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lfs.c b/src/lfs.c
index 95ab63b..fb5e825 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -1094,7 +1094,7 @@ static int push_link_target(lua_State * L)
if (tsize < size) {
#ifdef _WIN32
if (tsize > 4 && strncmp(target, "\\\\?\\", 4) == 0) {
- memmove_s(target, tsize - 3, target + 4, tsize - 3);
+ memmove(target, target + 4, tsize - 3);
tsize -= 4;
}
#endif