On OSX when a pipe is closed and we try to read from it errno is set to EPERM.  We then procede to print out a scary error message to the terminal, even though this is non-fatal.

This CL special cases EPERM on the Mac so we don't print the error message.

I'm leaving in the LOG() since I think we still want to know about any out of bound values coming back.

Review URL: http://codereview.chromium.org/113786

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16795 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed