Re: [PATCH v3] Cygwin: fhandler_local: Fix get_inet_addr_local to retrieve correct type

2025-04-10 Thread Corinna Vinschen
On Apr 10 20:27, Yuyi Wang wrote: > For a datagram socket received by recvfrom, the type param is not > assigned correctly, making fhandler_socket_local::connect() to return > WSAEPROTOTYPE. > > Fixes: 2617a91597ca ("* fhandler_socket.cc (get_inet_addr): Handle abstract > AF_LOCAL socket.") > Sig

[PATCH v2] Cygwin: fhandler_local: Fix get_inet_addr_local to retrieve correct type

2025-04-10 Thread Yuyi Wang
For a datagram socket received by recvfrom, the type param is not assigned correctly, making fhandler_socket_local::connect() to return WSAEPROTOTYPE. --- winsup/cygwin/fhandler/socket_local.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/cygwin/fhandler/socket_local.cc b/winsup/c

Re: [PATCH v2] Cygwin: fhandler_local: Fix get_inet_addr_local to retrieve correct type

2025-04-10 Thread Corinna Vinschen
Hi Yuyi, On Apr 10 17:11, Yuyi Wang wrote: > For a datagram socket received by recvfrom, the type param is not > assigned correctly, making fhandler_socket_local::connect() to return > WSAEPROTOTYPE. > --- > winsup/cygwin/fhandler/socket_local.cc | 2 ++ > 1 file changed, 2 insertions(+) > > dif

[PATCH v3] Cygwin: fhandler_local: Fix get_inet_addr_local to retrieve correct type

2025-04-10 Thread Yuyi Wang
For a datagram socket received by recvfrom, the type param is not assigned correctly, making fhandler_socket_local::connect() to return WSAEPROTOTYPE. Fixes: 2617a91597ca ("* fhandler_socket.cc (get_inet_addr): Handle abstract AF_LOCAL socket.") Signed-Off-by: Yuyi Wang --- winsup/cygwin/fhandl

Re: [PATCH] Cygwin: fhandler_local: Fix get_inet_addr_local to retrieve correct type

2025-04-10 Thread Corinna Vinschen
Hi Yuyi, On Apr 9 23:58, Yuyi Wang wrote: > For a datagram socket received by recvfrom, the type param is not > assigned correctly, making fhandler_socket_local::connect() to return > WSAEPROTOTYPE. > --- > winsup/cygwin/fhandler/socket_local.cc | 1 + > 1 file changed, 1 insertion(+) > > diff

compiles fail with sys/unistd.h ...inline... setproctitle_init

2025-04-10 Thread Brian Inglis
Hi folks, Latest c-ares build failing with gcc 12.4 and Cygwin 3.6.0 header: $ uname -srvmo CYGWIN_NT-10.0-19045 3.6.0-1.x86_64 2025-03-18 17:01 UTC x86_64 Cygwin $ gcc --version gcc (GCC) 12.4.0 Copyright (C) 2022 Free Software Foundation, Inc. ... /usr/include/sys/unistd.h:218:14: error: expe