Re: [PATCH v2] socket: Implement sockaddr_storage with an anonymous union

2023-01-22 Thread Bastien Roucariès
Le samedi 21 janvier 2023, 14:30:11 UTC Alejandro Colomar a écrit : > Hi Bastien, > > On 1/21/23 14:30, Bastien Roucariès wrote: > > [...] > > >> Ahh, indeed it seems to be UB. It's in the same 6.5.2.3/6: there's a > >> requirement that the infor

Re: [PATCH v2] socket: Implement sockaddr_storage with an anonymous union

2023-01-21 Thread Bastien Roucariès
Le samedi 21 janvier 2023, 03:17:39 UTC Alejandro Colomar a écrit : > Hi Zack, > > On 1/21/23 03:38, Alejandro Colomar wrote: > > Hi Zack, > > > > On 1/20/23 20:25, Alejandro Colomar wrote: > >> [CC += GCC] // pun not intended :P > >> > >> Hi Zack, > >> > >> On 1/20/23 19:04, Zack Weinberg wrote

Re: [PATCH v2] socket: Implement sockaddr_storage with an anonymous union

2023-01-20 Thread Bastien Roucariès
Le vendredi 20 janvier 2023, 20:38:32 UTC Alejandro Colomar a écrit : > Hi Bastien, > > On 1/20/23 21:32, Bastien Roucariès wrote: > [...] > > >> diff --git a/bits/socket.h b/bits/socket.h > >> index aac8c49b00..c0c23b4e84 100644 > >> --- a/bits/socket