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