summaryrefslogtreecommitdiffstats
path: root/src/subprocess-posix.cc
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2013-06-29 23:16:51 (GMT)
committerDavid Hill <dhill@conformal.com>2013-06-29 23:16:51 (GMT)
commitcb85ce886da075a57ede902a5fe6b4e3507afb34 (patch)
tree3e790d4d885c88fb21efc977c5c20a85da54f651 /src/subprocess-posix.cc
parent7b9b1fb94aa44784e33734bef68c76e6a43361ef (diff)
downloadNinja-cb85ce886da075a57ede902a5fe6b4e3507afb34.zip
Ninja-cb85ce886da075a57ede902a5fe6b4e3507afb34.tar.gz
Ninja-cb85ce886da075a57ede902a5fe6b4e3507afb34.tar.bz2
cleanup based on comments from martine
Diffstat (limited to 'src/subprocess-posix.cc')
-rw-r--r--src/subprocess-posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subprocess-posix.cc b/src/subprocess-posix.cc
index ae010c9..cd22aa9 100644
--- a/src/subprocess-posix.cc
+++ b/src/subprocess-posix.cc
@@ -41,7 +41,7 @@ bool Subprocess::Start(SubprocessSet* set, const string& command) {
Fatal("pipe: %s", strerror(errno));
fd_ = output_pipe[0];
#if !defined(USE_PPOLL)
- // On Linux, OpenBSD and Bitrig, we use ppoll in DoWork(); elsewhere we use pselect
+ // If available, we use ppoll in DoWork(); otherwise we use pselect
// and so must avoid overly-large FDs.
if (fd_ >= static_cast<int>(FD_SETSIZE))
Fatal("pipe: %s", strerror(EMFILE));