Konstantin Belousov <kostik...@gmail.com> wrote: > On Tue, Nov 23, 2021 at 09:08:39PM -0500, Jan Schaumann via freebsd-net wrote:
> > - Why does _any_ of those fail? > > - Why does a.c succeed when compiled with clang, but > > b.c does not? > Most likely because you did not fully initialized *sin. > Really it is UB, try to memset(sin, 0, sizeof(*sin)). Nice, that works. Thanks! -Jan