mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-13 16:59:17 +01:00
early SIGSEGV
This commit is contained in:
parent
42ac90ca49
commit
1b4ab580f3
@ -110,7 +110,6 @@ void tmate_session_init(struct event_base *base)
|
||||
tmate_session.ev_base = base;
|
||||
|
||||
ssh_set_log_callback(ssh_log_function);
|
||||
tmate_catch_sigsegv();
|
||||
|
||||
tmate_encoder_init(&tmate_session.encoder);
|
||||
tmate_decoder_init(&tmate_session.decoder);
|
||||
|
2
tmux.c
2
tmux.c
@ -31,6 +31,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "tmux.h"
|
||||
#include "tmate.h"
|
||||
|
||||
#if defined(DEBUG) && defined(__OpenBSD__)
|
||||
extern char *malloc_options;
|
||||
@ -219,6 +220,7 @@ main(int argc, char **argv)
|
||||
flags = 0;
|
||||
|
||||
#ifdef TMATE
|
||||
tmate_catch_sigsegv();
|
||||
flags |= CLIENT_256COLOURS | CLIENT_UTF8;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user