Avoid fork bomb caused by native compilation
authorAndrea Corallo <akrl@sdf.org>
Fri, 14 Oct 2022 22:59:55 +0000 (00:59 +0200)
committerSean Whitton <spwhitton@spwhitton.name>
Wed, 26 Oct 2022 01:38:40 +0000 (18:38 -0700)
commitd2f60a22a18dfbee11eeec5b597c80705a807e7f
treee107439a61f7a2338021488536caf528b79841a6
parent418df9d27f2003d08641742f91870cfd0e2cb4f5
Avoid fork bomb caused by native compilation

This upstream patch has been incorporated to fix the problem:

  Prevent potential native compilation infinite recursions

  * lisp/emacs-lisp/comp.el (comp-no-spawn): New var.
  (comp-subr-trampoline-install, comp-final, comp-run-async-workers)
  (comp--native-compile): Update.

Origin: upstream, commit: 1a8015b83761f27d299b1ffa45fc045bb76daf8a
Bug-Debian: https://bugs.debian.org/1017817
Bug-Debian: https://bugs.debian.org/1017845
Forwarded: not-needed
lisp/emacs-lisp/comp.el