Re: [PATCH v25 0/7] MR2786: Add support for AF_UNIX sockets
16 Jun
2023
16 Jun
'23
5:31 p.m.
Zebediah Figura (@zfigura) commented about dlls/ntdll/unix/socket.c:
} #endif
+ case AF_UNIX: + { + struct WS_sockaddr_un win = {0}; + + if (wsaddrlen < sizeof(win)) return -1; + win.sun_family = WS_AF_UNIX; + memcpy( win.sun_path, uaddr->un.sun_path, sizeof(win.sun_path) ); + memcpy( wsaddr, &win, sizeof(win) ); + return sizeof(win);
Similarly this isn't going to work without converting from Unix to win32 paths. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2786#note_35928
918
Age (days ago)
918
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zebediah Figura (@zfigura)