diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2022-12-21 01:18:11 -0800 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2022-12-21 01:21:50 -0800 |
commit | 9a66690eaf67c19b90e07f39b16436d34b59e27a (patch) | |
tree | a746a8897c806050c42d69aae4a601d9394a4bbd | |
parent | 6ac3178c335d82eb2948fac1092807ab387a83b9 (diff) | |
download | xserver-9a66690eaf67c19b90e07f39b16436d34b59e27a.tar.gz |
xquartz: Ignore SIGPIPE at process launch
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r-- | hw/xquartz/mach-startup/bundle-main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xquartz/mach-startup/bundle-main.c b/hw/xquartz/mach-startup/bundle-main.c index 363bf5ac1..353e1d2bc 100644 --- a/hw/xquartz/mach-startup/bundle-main.c +++ b/hw/xquartz/mach-startup/bundle-main.c @@ -626,6 +626,9 @@ main(int argc, char **argv, char **envp) mach_port_t mp; kern_return_t kr; + /* Ignore SIGPIPE */ + signal(SIGPIPE, SIG_IGN); + /* Setup our environment for our children */ setup_env(); |