FreeBSD Bugzilla – Attachment 164306 Details for
Bug 205372
[patch] sysutils/tmux interprets literal characters as commands
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch adds upstream git commit 8c8cddbe02 to the port
tmux-8c8cddbe02.patch (text/plain), 1.19 KB, created by
me
on 2015-12-17 08:33:36 UTC
(
hide
)
Description:
patch adds upstream git commit 8c8cddbe02 to the port
Filename:
MIME Type:
Creator:
me
Created:
2015-12-17 08:33:36 UTC
Size:
1.19 KB
patch
obsolete
>--- sysutils/tmux/files/patch-server-client.c-8c8cddbe02 1970-01-01 00:00:00.000000000 +0000 >+++ sysutils/tmux/files/patch-server-client.c-8c8cddbe02 2015-11-05 17:37:43.000000000 +0000 >@@ -0,0 +1,35 @@ >+commit 8c8cddbe022af5ece9949804cacffbee6b8972fa >+Author: nicm <nicm> >+Date: Tue Oct 20 14:19:27 2015 +0000 >+ >+ The table could change when retrying so don't save it at start of >+ server_client_handle_key. >+ >+--- server-client.c >++++ server-client.c >+@@ -540,7 +540,7 @@ >+ struct window *w; >+ struct window_pane *wp; >+ struct timeval tv; >+- struct key_table *table = c->keytable; >++ struct key_table *table; >+ struct key_binding bd_find, *bd; >+ int xtimeout; >+ >+@@ -606,7 +606,7 @@ >+ retry: >+ /* Try to see if there is a key binding in the current table. */ >+ bd_find.key = key; >+- bd = RB_FIND(key_bindings, &table->key_bindings, &bd_find); >++ bd = RB_FIND(key_bindings, &c->keytable->key_bindings, &bd_find); >+ if (bd != NULL) { >+ /* >+ * Key was matched in this table. If currently repeating but a >+@@ -624,6 +624,7 @@ >+ * Take a reference to this table to make sure the key binding >+ * doesn't disappear. >+ */ >++ table = c->keytable; >+ table->references++; >+ >+ /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205372
: 164306