Subject: Re: bug#55441: [PATCH 1/2] Fix child spawning closing standard fds prematurely

From: Maxime Devos <[email-masked]>
Date: Thu, 26 May 2022 22:55:17 +0200

Josselin Poiret via Bug reports for GNU Guix schreef op do 26-05-2022
om 22:50 [+0200]:
> +      fprintf (fdopen (err, "a"), "start_child: dup failed: %s\n", msg);

fdopen can fail due to out-of-memory problems, so you'll have to check
the return value, or use dprintf instead which accepts a file
descriptor.

Greetings,
Maxime.