summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsf-exg <sf-exg>2013-12-31 19:17:55 +0000
committersf-exg <sf-exg>2013-12-31 19:17:55 +0000
commit24135e4c8b6c7a2e0314b92c1020f07f3ac58efe (patch)
treea7a58564d0e9887681d0e74bcee11a8f1ae5ffd6 /src
parent1b94e16408b1fefea0bcfddc96706022ff3e5d83 (diff)
Revert last change.
ptytty::create now uses the helper regardless of the pid of the running process.
Diffstat (limited to 'src')
-rw-r--r--src/ptytty_wrapper.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ptytty_wrapper.C b/src/ptytty_wrapper.C
new file mode 100644
index 0000000..8b6649f
--- /dev/null
+++ b/src/ptytty_wrapper.C
@@ -0,0 +1,11 @@
+#include <config.h>
+#include "rxvt.h"
+
+#define PTYTTY_REENTRANT 0
+
+#define PTYTTY_FATAL rxvt_fatal
+#define PTYTTY_WARN rxvt_warn
+
+#include "logging.C"
+#include "proxy.C"
+#include "ptytty.C"