Add release message for commit 973f766f6
				
					
				
			Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
		| @@ -2302,22 +2302,13 @@ symlink_info::check_reparse_point (HANDLE h, bool remote) | |||||||
| 		  rp->SymbolicLinkReparseBuffer.SubstituteNameLength); | 		  rp->SymbolicLinkReparseBuffer.SubstituteNameLength); | ||||||
|   else if (!remote && rp->ReparseTag == IO_REPARSE_TAG_MOUNT_POINT) |   else if (!remote && rp->ReparseTag == IO_REPARSE_TAG_MOUNT_POINT) | ||||||
|     { |     { | ||||||
|       /* Don't handle junctions on remote filesystems as symlinks.  This type |       /* Don't treat junctions as symlink. The return value of -1 is a hint | ||||||
| 	 of reparse point is handled transparently by the OS so that the |          for the caller to treat this as a volume mount point. */ | ||||||
| 	 target of the junction is the remote directory it is supposed to |  | ||||||
| 	 point to.  If we handle it as symlink, it will be mistreated as |  | ||||||
| 	 pointing to a dir on the local system. */ |  | ||||||
|       RtlInitCountedUnicodeString (&subst, |       RtlInitCountedUnicodeString (&subst, | ||||||
| 		  (WCHAR *)((char *)rp->MountPointReparseBuffer.PathBuffer | 		  (WCHAR *)((char *)rp->MountPointReparseBuffer.PathBuffer | ||||||
| 			  + rp->MountPointReparseBuffer.SubstituteNameOffset), | 			  + rp->MountPointReparseBuffer.SubstituteNameOffset), | ||||||
| 		  rp->MountPointReparseBuffer.SubstituteNameLength); | 		  rp->MountPointReparseBuffer.SubstituteNameLength); | ||||||
|       if (RtlEqualUnicodePathPrefix (&subst, &ro_u_volume, TRUE)) |       return RtlEqualUnicodePathPrefix (&subst, &ro_u_volume, TRUE) ? -1 : 0; | ||||||
| 	{ |  | ||||||
| 	  /* Volume mount point.  Not treated as symlink. The return |  | ||||||
| 	     value of -1 is a hint for the caller to treat this as a |  | ||||||
| 	     volume mount point. */ |  | ||||||
| 	  return -1; |  | ||||||
| 	} |  | ||||||
|     } |     } | ||||||
|   else |   else | ||||||
|     { |     { | ||||||
|   | |||||||
| @@ -30,3 +30,6 @@ Bug Fixes | |||||||
|  |  | ||||||
| - Workaround Windows NUL having the same problem for writes > 4 GB. | - Workaround Windows NUL having the same problem for writes > 4 GB. | ||||||
|   Addresses: https://cygwin.com/ml/cygwin/2017-03/msg00144.html |   Addresses: https://cygwin.com/ml/cygwin/2017-03/msg00144.html | ||||||
|  |  | ||||||
|  | - Fix a potential crash in duplocale. | ||||||
|  |   Addresses: https://sourceware.org/ml/newlib/2017/msg00166.html | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user