diff options
Diffstat (limited to 'create_hard_link.patch')
-rw-r--r-- | create_hard_link.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/create_hard_link.patch b/create_hard_link.patch new file mode 100644 index 000000000000..f960a9fdcf9e --- /dev/null +++ b/create_hard_link.patch @@ -0,0 +1,18 @@ +diff --git a/src/util.c b/src/util.c +index 4973181..32900f7 100644 +--- a/src/util.c ++++ b/src/util.c +@@ -465,10 +465,10 @@ lilv_symlink(const char* oldpath, const char* newpath) + int ret = 0; + if (strcmp(oldpath, newpath)) { + #ifdef _WIN32 +- ret = !CreateSymbolicLink(newpath, oldpath, 0); +- if (ret) { ++ /*ret = !CreateSymbolicLink(newpath, oldpath, 0);*/ ++ /*if (ret) {*/ + ret = !CreateHardLink(newpath, oldpath, 0); +- } ++ /*}*/ + #else + ret = symlink(oldpath, newpath); + #endif |