[newlib-cygwin] Cygwin: path.h: add comments to briefly explain path_types
Corinna Vinschen
corinna@sourceware.org
Wed Dec 2 15:16:23 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e9bc4cccefbdc989bafb4b6c58c8892eb07ce277
commit e9bc4cccefbdc989bafb4b6c58c8892eb07ce277
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Wed Dec 2 15:57:39 2020 +0100
Cygwin: path.h: add comments to briefly explain path_types
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/path.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 0b3e72fc1..45a047ad3 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -66,11 +66,11 @@ enum path_types
{
PATH_CTTY = _BIT ( 0), /* could later be used as ctty */
PATH_OPEN = _BIT ( 1), /* use open semantics */
- PATH_LNK = _BIT ( 2),
- PATH_REP = _BIT ( 3),
- PATH_SYMLINK = _BIT ( 4),
- PATH_SOCKET = _BIT ( 5),
- PATH_RESOLVE_PROCFD = _BIT ( 6),
+ PATH_LNK = _BIT ( 2), /* *.lnk-type symlink */
+ PATH_REP = _BIT ( 3), /* reparse point known to Cygwin */
+ PATH_SYMLINK = _BIT ( 4), /* symlink understood by Cygwin */
+ PATH_SOCKET = _BIT ( 5), /* AF_UNIX socket file */
+ PATH_RESOLVE_PROCFD = _BIT ( 6), /* fd symlink via /proc */
PATH_DONT_USE = _BIT (31) /* conversion to signed happens. */
};
More information about the Cygwin-cvs
mailing list