summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/path.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 4ffe5f9bd..419f9cfb0 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -1704,10 +1704,9 @@ symlink_native (const char *oldpath, path_conv &win32_newpath)
to Win32 paths. */
if (final_oldpath->Buffer[0] == L'\\')
{
- /* Workaround Windows 8.1 bug. On Windows 8.1, the ShellExecuteW
- function does not handle the long path prefix correctly for symlink
- targets. Thus, we create simple short paths < MAX_PATH without
- long path prefix. */
+ /* Starting with Windows 8.1, the ShellExecuteW function does not
+ handle the long path prefix correctly for symlink targets. Thus,
+ we create simple short paths < MAX_PATH without long path prefix. */
if (RtlEqualUnicodePathPrefix (final_oldpath, &ro_u_uncp, TRUE)
&& final_oldpath->Length < (MAX_PATH + 6) * sizeof (WCHAR))
{