[Lldb-commits] [PATCH] Allow redirection to pts for POSIX process

zephyr zhao zephyr.git at gmail.com
Sun Aug 31 00:29:23 PDT 2014

I'm using lldb as a lib and I need to redirect inferior stdin/out/err to my own pts. 
However, I find that, if the path matches with "/dev/pts/", it will be changed to NULL.
One workaround is to make symbolic link sto my dev/pts/x to bypass the problem. 

The attached patch provides a fix for the issue.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5135.13126.patch
Type: text/x-patch
Size: 2685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140831/6c1f3c40/attachment.bin>

More information about the lldb-commits mailing list