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

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Aug 2 10:12:39 CDT 2017


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

George Joseph updated ASTERISK-26592:
-------------------------------------

    Target Release Version/s: 15.0.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, 14.2.0, 15.0.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