This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/27219] New: bogus-looking code in natPlainSocketImplPosix.cc
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 19 Apr 2006 16:23:14 -0000
- Subject: [Bug libgcj/27219] New: bogus-looking code in natPlainSocketImplPosix.cc
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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