Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-04-02 15:45:56 +0400
committerCorinna Vinschen <corinna@vinschen.de>2012-04-02 15:45:56 +0400
commit1f312200d30c76f24e6bc56afa7d4786ea86b4d5 (patch)
treea482a91447d5105a3852ae60148d916078d16d13 /winsup/cygwin/dtable.cc
parent949cc8b6403f04b82ab944e3884911513e31526c (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/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index 2cc8229af..782bab17b 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -459,9 +459,6 @@ fh_alloc (path_conv& pc)
case DEV_CYGDRIVE_MAJOR:
fh = cnew (fhandler_cygdrive);
break;
- case DEV_DEV_MAJOR:
- fh = cnew (fhandler_dev);
- break;
case DEV_FLOPPY_MAJOR:
case DEV_CDROM_MAJOR:
case DEV_SD_MAJOR:
@@ -562,6 +559,9 @@ fh_alloc (path_conv& pc)
case FH_NETDRIVE:
fh = cnew (fhandler_netdrive);
break;
+ case FH_DEV:
+ fh = cnew (fhandler_dev);
+ break;
case FH_TTY:
if (!pc.isopen ())
{