freeswitch/libs
Travis Cross 323a3d617c Avoid output of junk text by fs_cli
In some cases where `redisplay()` is called immediately after a
command is run (e.g. `log ...`) we often get a prompt, junk output,
and a second prompt.  This is due to a (known) race.

We believe we're falling afoul of this code in `el_deletestr`:

    if (el->el_line.cursor < &el->el_line.buffer[n])
            return;

Basing the length of text to delete off of the cursor position
resolves the issue of junk text, but the real solution is to eliminate
the race conditions, which will also resolve the sometimes duplicated
prompt.

FS-6764 #resolve

Thanks-to: Nathan Neulinger <nneul@neulinger.org>
2014-08-26 20:18:22 +00:00
..
apr FS-6294 FS-6308 NetBSD support should work test and report back please. 2014-03-19 14:34:07 -05:00
apr-util put this back for now to test 2014-03-09 14:46:06 -04:00
broadvoice remove generated file from git 2014-03-08 08:51:58 -06:00
esl Avoid output of junk text by fs_cli 2014-08-26 20:18:22 +00:00
freetdm Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
iksemel clean up some bootstrap warnings 2014-03-07 18:36:26 -05:00
ilbc Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
libcodec2 remove generated file from tree 2014-04-30 10:34:08 -04:00
libdingaling remove DYNAMIC_LIB_EXTEN because we use libtool to figure this all out now 2014-03-14 18:04:07 -04:00
libg722_1 autoconf syntax error 2014-03-07 19:35:51 -05:00
libks update copyright header for 2014 2014-02-12 12:08:56 -06:00
libnatpmp FS-4071 --resolve 2012-04-04 16:18:53 -05:00
libscgi its logically impossible for this to be null, we are looping through an array on the stack 2014-05-07 12:54:40 -04:00
libsndfile Tweak sndfile for args 2014-03-19 17:37:02 +00:00
libteletone Cleanup bad whitespace 2014-05-21 17:25:32 +00:00
libtpl-1.5 silence unused var warnings 2014-03-19 14:17:09 -04:00
libzrtp Cleanup whitespace 2014-08-13 19:29:03 +00:00
miniupnpc try to fix miniwget on suse (FSBUILD-258) 2010-03-08 17:14:04 +00:00
silk Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
sofia-sip Return NULL from `sub_alloc` for zero size 2014-08-22 02:47:04 +00:00
spandsp Improved HDLC abort handling 2014-07-29 21:22:47 +08:00
srtp libsrtp: do not include unnecessary sources 2014-08-13 18:52:18 +00:00
tiff-4.0.2 FS-6375 fix till we switch to system tiff 2014-03-19 12:32:23 +00:00
unimrcp Fixed some issues raised by coverity in spandsp ilbc and unimrcp 2014-07-22 09:38:55 +08:00
win32 Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
xmlrpc-c Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
.gitignore .gitignore portadio 2014-07-19 12:47:45 +02:00