bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#56002: src/process.c; make-process fails to clean up stderr process


From: Lars Ingebrigtsen
Subject: bug#56002: src/process.c; make-process fails to clean up stderr process on early exit
Date: Mon, 08 Aug 2022 13:36:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Tom Gillespie <tgbugs@gmail.com> writes:

> * src/process.c (Fmake_process): Move the call to create the stderr
> process as late as possible to avoid having to clean up stderrproc in
> the event of an error prior to the call to create_process. This change
> is needed to ensure that when called with :query-stderr t (aka the
> default behavior prior to the addition of :query-stderr) make-process
> will not leak the stderr process if a call to make-process fails.
> Also adds a new keyword argument :query-stderr to control whether to
> query on exit the stderr process (if one is created). (bug#56002)

I think this makes sense...  Eli, any comments?






reply via email to

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