Re: [Boost-bugs] [Boost C++ Libraries] #12358: epoll_reactor calls fcntl without checking return code

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12358: epoll_reactor calls fcntl without checking return code
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-07-29 12:22:20


#12358: epoll_reactor calls fcntl without checking return code
-------------------------------+------------------------------
  Reporter: jim.king@… | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords: fcntl epoll asio
-------------------------------+------------------------------
Changes (by jim.king@…):

 * keywords: => fcntl epoll asio

Comment:

 This happens again at lines 496 to 501:

 {{{
   if (fd == -1 && errno == EINVAL)
   {
     fd = timerfd_create(CLOCK_MONOTONIC, 0);
     if (fd != -1)
       ::fcntl(fd, F_SETFD, FD_CLOEXEC);
   }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12358#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC