blob: dc69f7700c67bbef2ab260ea3e01d96f4ff921e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -ur kmscon-8/src/pty.c kmscon-8.new/src/pty.c
--- kmscon-8/src/pty.c 2018-01-10 09:03:09.477962638 -0600
+++ kmscon-8.new/src/pty.c 2018-01-10 09:04:21.620658836 -0600
@@ -299,8 +299,10 @@
if (ret)
log_warn("cannot reset blocked signals: %m");
+ #ifdef SIGUNUSED
for (i = 1; i < SIGUNUSED; ++i)
signal(i, SIG_DFL);
+ #endif
ret = grantpt(master);
if (ret < 0) {
|