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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user