[newlib-cygwin] Cygwin: check_reparse_point_target: fix comment format
Corinna Vinschen
corinna@sourceware.org
Tue Dec 20 21:54:31 GMT 2022
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=fd3ce87f734526e1fd389c027f189a21e6e01322
commit fd3ce87f734526e1fd389c027f189a21e6e01322
Author: Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Mon Dec 19 12:47:42 2022 +0100
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Tue Dec 20 10:13:59 2022 +0100
Cygwin: check_reparse_point_target: fix comment format
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/path.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index c044d5295ed5..4df389bba257 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -2565,10 +2565,10 @@ check_reparse_point_target (HANDLE h, bool remote, PREPARSE_DATA_BUFFER rp,
}
if (rp->ReparseTag == IO_REPARSE_TAG_SYMLINK)
{
- /* Windows evaluates native symlink literally. If a remote symlink points
- to, say, C:\foo, it will be handled as if the target is the local file
- C:\foo. That comes in handy since that's how symlinks are treated under
- POSIX as well. */
+ /* Windows evaluates native symlink literally. If a remote symlink
+ points to, say, C:\foo, it will be handled as if the target is the
+ local file C:\foo. That comes in handy since that's how symlinks
+ are treated under POSIX as well. */
RtlInitCountedUnicodeString (psymbuf,
(PWCHAR)((PBYTE) rp->SymbolicLinkReparseBuffer.PathBuffer
+ rp->SymbolicLinkReparseBuffer.SubstituteNameOffset),
More information about the Cygwin-cvs
mailing list