diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-04-04 14:14:27 +0400 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-04-04 14:14:27 +0400 |
commit | 26968b5c0590cf2fd8ff916bc63e0936300160f6 (patch) | |
tree | 56c352c5d09f4ae1386599c6a86570f7faf60a62 /winsup/cygwin/path.h | |
parent | 3f7dfed9e9620d1b49b1d37e0a183304cef2d104 (diff) |
* devices.h (fh_devices): Define FH_PROC_MIN_MINOR.
Reorder major-0 devices so that all /proc directories fall
between FH_PROC and FH_PROC_MIN_MINOR.
* path.h (isproc_dev): Redefine accordingly.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 038325272..d2fc778e5 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -18,8 +18,7 @@ details. */ #include <fcntl.h> #define isproc_dev(devn) \ - (devn == FH_PROC || devn == FH_REGISTRY || devn == FH_PROCESS || \ - devn == FH_PROCNET || devn == FH_PROCSYS || devn == FH_PROCSYSVIPC) + (devn >= FH_PROC_MIN_MINOR && devn <= FH_PROC) #define isprocsys_dev(devn) (devn == FH_PROCSYS) |