Handle the case where open(2) or close(2) is interrupted by a signal when
authorDan Gohman <gohman@apple.com>
Thu, 6 May 2010 02:06:20 +0000 (02:06 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 6 May 2010 02:06:20 +0000 (02:06 +0000)
commit06572793a7ae8b45ad802c04ab508a36b915d999
tree9c07601d8b7be35d420fefb99a942d54518889bd
parent9c35ee2099108c43a02aa1f836c3cbf5a0cd6035
Handle the case where open(2) or close(2) is interrupted by a signal when
automatic syscall restarting is disabled.

Also, fix the build on systems which don't define EWOULDBLOCK.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103158 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/raw_ostream.cpp