diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-27 21:57:07 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-27 21:57:07 +0000 |
commit | 2c79b41903b9483e57ab646e1016a355a04c3df2 (patch) | |
tree | eb45702aee2dbcce056f9325db62aef4d82d58f3 /main/term.c | |
parent | bebdb0fda152a29d8e336408d2eee31d06bce0d7 (diff) |
Add ability to use system libedit and update bundled libedit.
The version of libedit that is bundled with asterisk is old and has some bugs.
This patch updates the bundled version of libedit within asterisk, and also
updates asterisk to use the system libedit instead if one is available (and
pkg-config is available). This review integrates several patches from other
users specifically kkm and tzafrir.
(closes issue #15929)
Reported by: kkm
Patches:
015929-astcli-editrc-trunk.240324.diff uploaded by kkm (license 888)
(issue #16858)
Reported by: jw-asterisk
(closes issue #17039)
Reported by: tzafrir
Patches:
0001-allow-using-system-copy-of-libedit.patch uploaded by tzafrir (license 46)
Review: https://reviewboard.asterisk.org/r/807/
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280019 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/term.c')
-rw-r--r-- | main/term.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/term.c b/main/term.c index fbe093f80..2137dbec6 100644 --- a/main/term.c +++ b/main/term.c @@ -351,17 +351,17 @@ void term_filter_escapes(char *line) } } -char *term_prep(void) +char *ast_term_prep(void) { return prepdata; } -char *term_end(void) +char *ast_term_end(void) { return enddata; } -char *term_quit(void) +char *ast_term_quit(void) { return quitdata; } |