Permalink
Browse files

Fix innocent 'Background I/O capturer error' warnings on Linux

  • Loading branch information...
1 parent f9ccca8 commit 88aaa4211386abec14d70ab7e7e2c41b2245264f @FooBarWidget FooBarWidget committed Oct 24, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 ext/common/ApplicationPool2/Spawner.h
@@ -135,9 +135,11 @@ class Spawner {
if (ret == 0) {
break;
} else if (ret == -1) {
- P_WARN("Background I/O capturer error: " <<
- strerror(e) << " (errno=" << e << ")");
- break;
+ if (e != EAGAIN && e != EWOULDBLOCK) {
+ P_WARN("Background I/O capturer error: " <<
+ strerror(e) << " (errno=" << e << ")");
+ break;
+ }
} else {
{
lock_guard<boost::mutex> l(dataSyncher);

0 comments on commit 88aaa42

Please sign in to comment.