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:
Corinna Vinschen 2018-02-27 15:30:00 +01:00
parent fbdae2c216
commit d02f3a1238
1 changed files with 1 additions and 1 deletions

View File

@ -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);