diff options
Diffstat (limited to 'src/filesystem.c')
-rw-r--r-- | src/filesystem.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/filesystem.c b/src/filesystem.c index e2fc776..572b8ea 100644 --- a/src/filesystem.c +++ b/src/filesystem.c @@ -172,24 +172,6 @@ lilv_is_directory(const char* path) #endif } -int -lilv_symlink(const char* oldpath, const char* newpath) -{ - int ret = 0; - if (strcmp(oldpath, newpath)) { -#ifdef _WIN32 - ret = !CreateHardLink(newpath, oldpath, 0); -#else - char* target = lilv_path_relative_to(oldpath, newpath); - - ret = symlink(target, newpath); - - free(target); -#endif - } - return ret; -} - void lilv_dir_for_each(const char* path, void* data, |