diff options
author | Xavier Simonart <xavier.simonart@intel.com> | 2019-07-04 00:04:17 +0200 |
---|---|---|
committer | Xavier Simonart <xavier.simonart@intel.com> | 2019-07-04 14:08:27 +0200 |
commit | 19795c2fc3180e8a0dae4373d8be2f5c0656fc8c (patch) | |
tree | 81c672fab25dab26a59dd219264a828093d532e4 /VNFs/DPPD-PROX/tools/flow_extract/allocator.hpp | |
parent | 080733bfa5facd0eb457fc3db1c3ee7885f2a438 (diff) |
Fix keyboard related issues on Ubuntu 18.04
On Ubuntu 18.04, the keyboard was not properly handled in PROX
For instance, many keys pressed were silently discarded.
The issue is related to a change in histedit/libedit version.
Recent libedit have (silently) changed the prototype of the get_char function
passed in el_set(el, EL_GETCFN, get_char), with some input parameters
changing from char to wchar_t.
As PROX used the old prototype (char based), this resulted in some
uninitialized field (= garbage) in the wchar_t, causing libedit to discard
the character.
PROX now uses different get_char prototypes, depending of the libedit version
being used.
If PROX was already compiled and a the OS is updated (e.g. from Ubuntu 16.04
to Ubuntu 18.04), this will require a 'make clean'.
Change-Id: Icb0e555a21e13cdaf98172bad17f2f838fb7bc3a
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/tools/flow_extract/allocator.hpp')
0 files changed, 0 insertions, 0 deletions