control-D on empty line to quit lldb stopped working in Release builds on MacOSX.

<rdar://problem/16822217>

llvm-svn: 208117
This commit is contained in:
Greg Clayton 2014-05-06 18:54:53 +00:00
parent 48a1727e6f
commit c62338e89d
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}