[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#54667: 29.0.50; posix_spawn breaks emacs-gdb
From: |
Eli Zaretskii |
Subject: |
Re: bug#54667: 29.0.50; posix_spawn breaks emacs-gdb |
Date: |
Wed, 06 Apr 2022 15:21:16 +0300 |
> From: Robert Pluim <rpluim@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Wed, 06 Apr 2022 14:04:39 +0200
>
> >>>>> On Wed, 06 Apr 2022 14:09:04 +0300, Eli Zaretskii <eliz@gnu.org> said:
>
> >> From: Robert Pluim <rpluim@gmail.com>
> >> Date: Wed, 06 Apr 2022 11:02:12 +0200
> >>
> >> >>>>> On Mon, 04 Apr 2022 16:11:51 +0200, Robert Pluim
> <rpluim@gmail.com> said:
> Robert> In emacs-28 we only use posix_spawn on macOS because its vork is
> Robert> sub-optimal. I donʼt remember the rationale for switching to
> using it
> Robert> everywhere, itʼs undoubtedly in the archives somewhere.
> >>
> Robert> Closing.
> Robert> Committed as 8103b060d8
> >>
> >> Actually, do we want this in emacs-28 as well?
>
> Eli> The fix installed on master isn't macOS-specific, AFAICT. Can it be
> Eli> reasonably installed on emacs-28 as macOS-specific? If yes, I think
> Eli> we should indeed backport it.
>
> USABLE_POSIX_SPAWN is 0 on emacs-28 for every platform except macOS,
> so applying the same patch as on master is all thatʼs needed.
I didn't see USABLE_POSIX_SPAWN in the patch. Maybe I was looking at
the wrong patch. Can you show it?