Cygwin: check_reparse_point_target: fix comment format

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2022-12-19 12:47:42 +01:00
parent d6468d6b9f
commit fd3ce87f73
1 changed files with 4 additions and 4 deletions

View File

@ -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),