Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: fix lang/scm (was: amd64 build failures 2026-06-07)
To:
espie@openbsd.org, ports@openbsd.org
Date:
Mon, 8 Jun 2026 22:56:30 +0200

Download raw body.

Thread
Matthias Kilian:

> This fixes the build of lang/scm. I don't see any reason why the
> two functions should need sockaddr_in.

I'll go one step further and say sockaddr_in is outright wrong here
if you look at the surrounding code.

> ok?

I'd remove the now useless cast from "(struct sockaddr*)&sad" in
the getpeername() and getsockname() calls, but ok naddy@ either way.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de