I'm looking at natPlainSocketImplPosix.cc:write_helper().

* Why not throw an exception on ENOTCONN or ECONNRESET?
  We could at least use a better comment here.

* This code doesn't handle EINTR properly.

The recv code also doesn't seem to handle EINTR properly.


-- 
           Summary: bogus-looking code in natPlainSocketImplPosix.cc
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27219

Reply via email to