From e9bc4cccefbdc989bafb4b6c58c8892eb07ce277 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 2 Dec 2020 15:57:39 +0100 Subject: [PATCH] Cygwin: path.h: add comments to briefly explain path_types Signed-off-by: Corinna Vinschen --- 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. */ }; -- 2.43.5