"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Thomas Adam <thomas@xteddy.org>
Subject:
Re: [PATCH] privsep.c: ignore closefrom() return value
To:
Anna “CyberTailor” <cyber+misc@sysrq.in>, gameoftrees@openbsd.org
Date:
Mon, 6 Dec 2021 12:59:28 +0000

Download raw body.

Thread
On Mon, 6 Dec 2021 at 12:49, Stefan Sperling <stsp@stsp.name> wrote:
> /* void -> int */
> #define closefrom(fd)                   (closefrom(fd), 0)
>
> Would this approach work for -portable?

Yes.  IIRC, there might already be support for it in include/got_compat.h

I'll take a look later, unless you beat me to it.

Kindly,
Thomas