bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Maxime Devos
Subject: bug#55441: [PATCH 1/2] Fix child spawning closing standard fds prematurely
Date: Thu, 26 May 2022 22:55:17 +0200
User-agent: Evolution 3.38.3-1

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.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]