Cygwin: check_reparse_point_target: fix comment format
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
d6468d6b9f
commit
fd3ce87f73
|
@ -2565,10 +2565,10 @@ check_reparse_point_target (HANDLE h, bool remote, PREPARSE_DATA_BUFFER rp,
|
||||||
}
|
}
|
||||||
if (rp->ReparseTag == IO_REPARSE_TAG_SYMLINK)
|
if (rp->ReparseTag == IO_REPARSE_TAG_SYMLINK)
|
||||||
{
|
{
|
||||||
/* Windows evaluates native symlink literally. If a remote symlink points
|
/* Windows evaluates native symlink literally. If a remote symlink
|
||||||
to, say, C:\foo, it will be handled as if the target is the local file
|
points to, say, C:\foo, it will be handled as if the target is the
|
||||||
C:\foo. That comes in handy since that's how symlinks are treated under
|
local file C:\foo. That comes in handy since that's how symlinks
|
||||||
POSIX as well. */
|
are treated under POSIX as well. */
|
||||||
RtlInitCountedUnicodeString (psymbuf,
|
RtlInitCountedUnicodeString (psymbuf,
|
||||||
(PWCHAR)((PBYTE) rp->SymbolicLinkReparseBuffer.PathBuffer
|
(PWCHAR)((PBYTE) rp->SymbolicLinkReparseBuffer.PathBuffer
|
||||||
+ rp->SymbolicLinkReparseBuffer.SubstituteNameOffset),
|
+ rp->SymbolicLinkReparseBuffer.SubstituteNameOffset),
|
||||||
|
|
Loading…
Reference in New Issue