diff options
author | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-03-21 19:55:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-21 19:55:19 +0000 |
commit | 32cb48774ad139c7f4fe9864e28fefeaa1009c79 (patch) | |
tree | a70f4f02ff48e90b12125bdec7d854e46d27b8c8 /Cargo.toml | |
parent | c6ab2a8867ad0d064d67dc5e32138cbb3d3ab833 (diff) | |
download | alacritty-32cb48774ad139c7f4fe9864e28fefeaa1009c79.tar.gz alacritty-32cb48774ad139c7f4fe9864e28fefeaa1009c79.zip |
Remove deprecated libc::daemon call
Since version 10.5 of macOS the libc::daemon call has been deprecated.
While it is recommended by macOS to use launchd instead, this is not
easily available on other unix platforms.
However since we just spawn a daemon process to prevent Alacritty from
spawning zombies, we can manually invoke `fork` in the child process to
cause a double-fork and re-parent the child process under init so it can
be reaped automatically.
Since the daemon call is not part of POSIX, using the double fork on all
unix platforms also has some portability advantages.
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions