[asterisk-bugs] [JIRA] (ASTERISK-26592) Latest libedit (3.1) defaults to unicode and makes asterisk CLI read garbage

Joshua Colp (JIRA) noreply at issues.asterisk.org
Fri Nov 18 13:10:14 CST 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-26592:
-----------------------------------

    Target Release Version/s: 13.13.0

> 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
>      Target Release: 13.13.0
>
>
> 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