diff options
| author | Greg Clayton <gclayton@apple.com> | 2014-05-06 18:54:53 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2014-05-06 18:54:53 +0000 |
| commit | c62338e89dcdf84b6584ea963f40e145e26fd19d (patch) | |
| tree | e240f8fcb580b8f045626503f7b860a772c81b9c /lldb/source | |
| parent | 48a1727e6fb97c2e63b06ea48957b625398e1f86 (diff) | |
| download | bcm5719-llvm-c62338e89dcdf84b6584ea963f40e145e26fd19d.tar.gz bcm5719-llvm-c62338e89dcdf84b6584ea963f40e145e26fd19d.zip | |
control-D on empty line to quit lldb stopped working in Release builds on MacOSX.
<rdar://problem/16822217>
llvm-svn: 208117
Diffstat (limited to 'lldb/source')
| -rw-r--r-- | lldb/source/Host/common/Editline.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Host/common/Editline.cpp b/lldb/source/Host/common/Editline.cpp index f38f70bc40a..0b549444027 100644 --- a/lldb/source/Host/common/Editline.cpp +++ b/lldb/source/Host/common/Editline.cpp @@ -790,7 +790,8 @@ Editline::GetCharFromInputFileCallback (EditLine *e, char *c) line_info->buffer == line_info->cursor && line_info->cursor == line_info->lastchar) { - ch = EOF; + editline->m_got_eof = true; + break; } } |

