Compare commits
1 Commits
develop
...
too-long-t
Author | SHA1 | Date |
---|---|---|
|
4e3bd46ad5 |
|
@ -170,6 +170,11 @@ namespace NzbDrone.Windows.Disk
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
if (source.Length > 256 && !source.StartsWith(@"\\?\"))
|
||||||
|
{
|
||||||
|
source = @"\\?\" + source;
|
||||||
|
}
|
||||||
|
|
||||||
return CreateHardLink(destination, source, IntPtr.Zero);
|
return CreateHardLink(destination, source, IntPtr.Zero);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
Loading…
Reference in New Issue