mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-08 23:01:51 +00:00
Make FileOps::createSymLink() a no-op which logs a warning under Windows instead of reporting an error.
This allows the cross-platform unit test to pass on Windows, since it includes creation of a symlink.
This commit is contained in:
parent
7c62b4c7af
commit
25e5a1c66c
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ void FileOps::createSymLink(const char* link, const char* target) throw (IOExcep
|
||||||
#else
|
#else
|
||||||
// symlinks are not supported under Windows (at least, not universally.
|
// symlinks are not supported under Windows (at least, not universally.
|
||||||
// Windows Vista and later do actually support symlinks)
|
// Windows Vista and later do actually support symlinks)
|
||||||
throw IOException("createSymLink() not implemented");
|
LOG(Warn,"Skipping symlink creation - not implemented in Windows");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue