diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2022-06-24 10:24:54 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2022-07-15 17:09:35 -0300 |
commit | e4eae33de5045e644c77fc3e1ae9b8373c82a1a2 (patch) | |
tree | af69f59f9439c77c5fb9d75f8059fb30f967176a | |
parent | 3c8d96b77fb40ebf79b3b447a05ebe10b53493a6 (diff) | |
download | luafilesystem-e4eae33de5045e644c77fc3e1ae9b8373c82a1a2.tar.gz luafilesystem-e4eae33de5045e644c77fc3e1ae9b8373c82a1a2.tar.bz2 luafilesystem-e4eae33de5045e644c77fc3e1ae9b8373c82a1a2.zip |
win32: use standard memmove function
-rw-r--r-- | src/lfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1094,7 +1094,7 @@ static int push_link_target(lua_State * L) | |||
1094 | if (tsize < size) { | 1094 | if (tsize < size) { |
1095 | #ifdef _WIN32 | 1095 | #ifdef _WIN32 |
1096 | if (tsize > 4 && strncmp(target, "\\\\?\\", 4) == 0) { | 1096 | if (tsize > 4 && strncmp(target, "\\\\?\\", 4) == 0) { |
1097 | memmove_s(target, tsize - 3, target + 4, tsize - 3); | 1097 | memmove(target, target + 4, tsize - 3); |
1098 | tsize -= 4; | 1098 | tsize -= 4; |
1099 | } | 1099 | } |
1100 | #endif | 1100 | #endif |