Commit a67d14f5 authored by Julien Lerouge's avatar Julien Lerouge
Browse files

lldb can interrupt waitpid, so EINTR shouldn't be an error. This fixes the case

where there is no timeout. In the case where there is a timeout though, the
code is still wrong since it doesn't check that the alarm really went off.

Without this patch, I cannot debug a program that forks itself using
sys::ExecuteAndWait with lldb.

llvm-svn: 211918
parent d782d056
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment