Cygwin: drop unused device nodes and clean up socket devices

* Rename DEV_TCP_MAJOR to DEV_SOCK_MAJOR
* Drop FH_TCP, FH_UDP, FH_ICMP in favor of single FH_INET
* Drop FH_UNIX, FH_STREAM, FH_DGRAM in favor of single FH_LOCAL

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2018-02-23 13:32:51 +01:00
parent b8a57a2d2a
commit 03f380c2bc
8 changed files with 25 additions and 49 deletions

View File

@ -864,7 +864,7 @@ path_conv::check (const char *src, unsigned opt,
if (component == 0)
{
fileattr = 0;
dev.parse (FH_TCP);
dev.parse (FH_INET);
}
break;
case virt_fsdir:
@ -959,7 +959,7 @@ path_conv::check (const char *src, unsigned opt,
return;
}
fileattr = sym.fileattr;
dev.parse (FH_UNIX);
dev.parse (FH_LOCAL);
dev.setfs (1);
goto out;
}