[llvm-branch-commits] [lldb] r199936 - Don't allow CTRL+D when file handle isn't terminal with a valid size as this means we are using the slave end of a pseudo terminal.
Greg Clayton
gclayton at apple.com
Thu Jan 23 13:20:55 PST 2014
Author: gclayton
Date: Thu Jan 23 15:20:55 2014
New Revision: 199936
URL: http://llvm.org/viewvc/llvm-project?rev=199936&view=rev
Log:
Don't allow CTRL+D when file handle isn't terminal with a valid size as this means we are using the slave end of a pseudo terminal.
Modified:
lldb/branches/iohandler/source/Interpreter/embedded_interpreter.py
Modified: lldb/branches/iohandler/source/Interpreter/embedded_interpreter.py
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/iohandler/source/Interpreter/embedded_interpreter.py?rev=199936&r1=199935&r2=199936&view=diff
==============================================================================
--- lldb/branches/iohandler/source/Interpreter/embedded_interpreter.py (original)
+++ lldb/branches/iohandler/source/Interpreter/embedded_interpreter.py Thu Jan 23 15:20:55 2014
@@ -76,7 +76,7 @@ def run_python_interpreter (local_dict):
try:
termios.tcsetattr(fd, termios.TCSADRAIN, new)
interacted = True
- code.interact(banner="Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.", readfunc=readfunc_stdio, local=local_dict)
+ code.interact(banner="Python Interactive Interpreter. To exit, type 'quit()', 'exit()'.", readfunc=readfunc_stdio, local=local_dict)
finally:
termios.tcsetattr(fd, termios.TCSADRAIN, old)
except:
More information about the llvm-branch-commits
mailing list