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
path: root/src
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2022-06-24 16:24:54 +0300
committerHisham Muhammad <hisham@gobolinux.org>2022-07-15 23:09:35 +0300
commite4eae33de5045e644c77fc3e1ae9b8373c82a1a2 (patch)
treeaf69f59f9439c77c5fb9d75f8059fb30f967176a /src
parent3c8d96b77fb40ebf79b3b447a05ebe10b53493a6 (diff)
win32: use standard memmove function
Diffstat (limited to 'src')
-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