Segfault in LIBEDIT_INTERNAL after tgetstr(), when libncurses5-dev
authorKevin Harwell <kharwell@digium.com>
Mon, 21 Oct 2013 19:50:28 +0000 (19:50 +0000)
committerKevin Harwell <kharwell@digium.com>
Mon, 21 Oct 2013 19:50:28 +0000 (19:50 +0000)
commitd6b401e5d3cb3e101f7b23455d77baa648b6157a
tree761ef39c919f1bb7e1bdd4c64505ff81da518f6c
parentea75272fd39d0c6e6bc389790d0011a034c951c5
Segfault in LIBEDIT_INTERNAL after tgetstr(), when libncurses5-dev
isn't installed

Include the appropriate declarations when not using termcap, but term+curses
and [n]curses do not exist.

(closes issue ASTERISK-22351)
Reported by: A. Iglesias
Patches:
    issueA22351_libedit_internal_without_ncurses_dev.patch uploaded by wdoekes (license 5674)
........

Merged revisions 401325 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 401326 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 401327 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@401328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/editline/term.c