This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/27219] New: bogus-looking code in natPlainSocketImplPosix.cc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]