mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
bea36d7aea44879826ddf49fa608afafc654443f
Since this code runs in darwintrace.dylib, which is preloaded into various processes at runtime, we cannot assume that SA_RESTART is set, and we also can't modify the processes' state to enable that. As a consequence, we must expect system calls to fail with EINTR and restart them. Notably, this happened for me during installation of texlive-common with the waitpid() system call for the re-signing operation. Address this by doing the waitpid in a loop and restarting it on EINTR.
macports-base
This repository contains the source code for the MacPorts command-line client.
Official documentation: https://guide.macports.org/
Description
Languages
Tcl
51.7%
C
33.7%
Assembly
9.6%
M4
2.7%
Shell
1.2%
Other
1.1%