[asterisk-bugs] [JIRA] (ASTERISK-26592) Latest libedit (3.1) defaults to unicode and makes asterisk CLI read garbage
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Wed Nov 16 14:17:10 CST 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233774#comment-233774 ]
Friendly Automation commented on ASTERISK-26592:
------------------------------------------------
Change 4410 merged by George Joseph:
cli: Fix ast_el_read_char to work with libedit >= 3.1
[https://gerrit.asterisk.org/4410|https://gerrit.asterisk.org/4410]
> Latest libedit (3.1) defaults to unicode and makes asterisk CLI read garbage
> ----------------------------------------------------------------------------
>
> Key: ASTERISK-26592
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26592
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/BuildSystem
> Affects Versions: 13.12.2, 14.1.2, GIT
> Environment: Any system with libedit >= 3.1
> Reporter: George Joseph
>
> libedit now defaults to unicode so the prototype for EL_GETCFN now expects a wchar_t return buffer not char. This causes characters read from the console (local or remote) to be interpreted badly.
> {{static int ast_el_read_char(EditLine *editline, char *cp)}}
> needs to change to
> {{static int ast_el_read_char(EditLine *editline, wchar_t *cp)}}
> for libedit 3.1
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list