From 27e5dc315f16da62ed57a8bdbc24a86b8818d175 Mon Sep 17 00:00:00 2001 From: nullifiedcat Date: Sat, 19 Aug 2017 21:16:32 +0300 Subject: [PATCH] ignore SIGPIPE --- src/hack.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hack.cpp b/src/hack.cpp index 73e7a037..51c62176 100644 --- a/src/hack.cpp +++ b/src/hack.cpp @@ -162,6 +162,7 @@ void hack::CC_Cat(const CCommand& args) { } void hack::Initialize() { + signal(SIGPIPE, SIG_IGN); time_injected = time(nullptr); // Essential files must always exist, except when the game is running in text mode. #if ENABLE_VISUALS == 1