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.
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: http://src.chromium.org/svn/trunk/src@16795 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 8ceba1ba6bba44e4bae5d1cabaeb56b5c2cb685a
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser