Cygwin: sockets: Fix fstat on unnamed sockets
Calling fhandler_socket::fstat from fhandler_socket::fstat recursively is not a good idea... Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
fbdae2c216
commit
d02f3a1238
|
@ -309,7 +309,7 @@ fhandler_socket::fstat (struct stat *buf)
|
|||
{
|
||||
int res;
|
||||
|
||||
res = fhandler_socket::fstat (buf);
|
||||
res = fhandler_base::fstat (buf);
|
||||
if (!res)
|
||||
{
|
||||
buf->st_dev = FHDEV (DEV_SOCK_MAJOR, 0);
|
||||
|
|
Loading…
Reference in New Issue