[Lldb-commits] [lldb] r208117 - control-D on empty line to quit lldb stopped working in Release builds on MacOSX.

Greg Clayton gclayton at apple.com
Tue May 6 11:54:53 PDT 2014


Author: gclayton
Date: Tue May  6 13:54:53 2014
New Revision: 208117

URL: http://llvm.org/viewvc/llvm-project?rev=208117&view=rev
Log:
control-D on empty line to quit lldb stopped working in Release builds on MacOSX.

<rdar://problem/16822217>


Modified:
    lldb/trunk/source/Host/common/Editline.cpp

Modified: lldb/trunk/source/Host/common/Editline.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Editline.cpp?rev=208117&r1=208116&r2=208117&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Editline.cpp (original)
+++ lldb/trunk/source/Host/common/Editline.cpp Tue May  6 13:54:53 2014
@@ -790,7 +790,8 @@ Editline::GetCharFromInputFileCallback (
                         line_info->buffer == line_info->cursor &&
                         line_info->cursor == line_info->lastchar)
                     {
-                        ch = EOF;
+                        editline->m_got_eof = true;
+                        break;
                     }
                 }
             





More information about the lldb-commits mailing list