[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54667: 29.0.50; posix_spawn breaks emacs-gdb
From: |
Robert Pluim |
Subject: |
bug#54667: 29.0.50; posix_spawn breaks emacs-gdb |
Date: |
Fri, 01 Apr 2022 16:44:13 +0200 |
>>>>> On Fri, 1 Apr 2022 15:29:50 +0200, "Herman, Géza" <geza.herman@gmail.com>
>>>>> said:
Herman> I can confirm that it fixes the problem.
Thanks, Iʼll see if I can get around to committing it this weekend.
Herman> For reference, here's the patch:
Herman> https://lists.gnu.org/archive/html/emacs-devel/2022-03/msg00067.html
Herman> (Btw., according to this email thread, vfork is faster than
Herman> posix_spawn on Linux, so maybe it'd make sense to use posix_spawn
only
Herman> on non-Linux platforms?)
In emacs-28 we only use posix_spawn on macOS because its vork is
sub-optimal. I donʼt remember the rationale for switching to using it
everywhere, itʼs undoubtedly in the archives somewhere.
Thanks
Robert
--