diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-04-02 15:45:56 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-04-02 15:45:56 +0400 |
commit | 1f312200d30c76f24e6bc56afa7d4786ea86b4d5 (patch) | |
tree | a482a91447d5105a3852ae60148d916078d16d13 /winsup/cygwin/syscalls.cc | |
parent | 949cc8b6403f04b82ab944e3884911513e31526c (diff) |
* devices.h (FH_DEV): Define as DEV_VIRTFS_MAJOR class device.
(DEV_DEV_MAJOR): Remove.
* dtable.cc (fh_alloc): Accommodate above change.
* syscalls.cc (set_ino_and_dev): Drop check for DEV_DEV_MAJOR from
conditional.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 2ef94dae6..73948107d 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -1613,7 +1613,7 @@ fhandler_base::set_ino_and_dev (struct __stat64 *buf) } /* Only set st_rdev if it's a device. */ if (!buf->st_rdev && get_major () != DEV_VIRTFS_MAJOR - && get_major () != DEV_CYGDRIVE_MAJOR && get_major () != DEV_DEV_MAJOR) + && get_major () != DEV_CYGDRIVE_MAJOR) buf->st_rdev = get_device (); } |