bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/30488] New: native/jni/native-lib/cpnet.c on FreeBSD


From: kaz at maczuka dot gcd dot org
Subject: [Bug classpath/30488] New: native/jni/native-lib/cpnet.c on FreeBSD
Date: 16 Jan 2007 22:18:21 -0000

native/jni/native-lib/cpnet.c has the following problems.

(1) On a system where MSG_NOSIGNAL is not defined but SO_NOSIGPIPE is defined
(e.g. FreeBSD 5.4-RELEASE), the option SO_NOSIGPIPE is given to send() and
sendto().  But SO_NOSIGPIPE is a socket level option which should be used
with setsockopt().

(2) On a system where neither MSG_NOSIGNAL nor SO_NOSIGPIPE is defined,
cpnet.c cannot compile.

See http://www.kaffe.org/pipermail/kaffe/2007-January/104808.html

Kaffe used to work on a system where neither MSG_NOSIGNAL nor SO_NOSIGPIPE is
defined.  Kaffe takes care of SIGPIPE.  So cpnet.c should be compiled even
without MSG_NOSIGNAL and SO_NOSIGPIPE.


-- 
           Summary: native/jni/native-lib/cpnet.c on FreeBSD
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kaz at maczuka dot gcd dot org


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]