patch for SO_BSDCOMPAT problem on 2.5 Linux development kernels

Bjorn Gustavsson bjorn@REDACTED
Mon Jul 14 15:11:35 CEST 2003


We'll include this patch in R9C.

/Bjorn

Mikael Pettersson <mikpe@REDACTED> writes:

> SO_BSDCOMPAT is obsolete since the 2.4 kernels, and now 2.5 kernels
> log a warning every time it is used. This is a problem since beam
> uses it unconditionally even though it only makes a difference in very
> old kernels (2.2 and older).
> 
> This patch fixes the problem. It performs a runtime kernel version test,
> since that's what Raimo Niskanen preferred. It would be nice to get this
> fix into OpenSource R9C-0, even if it's too late for the commercial
> release. (Tested with kernels 2.2.25, 2.4.21, and 2.5.74.)
> 
> /Mikael Pettersson
> The HiPE group.

-- 
Björn Gustavsson            Ericsson Utvecklings AB
bjorn@REDACTED      ÄT2/UAB/F/P
			    BOX 1505
+46 8 727 56 87 	    125 25 Älvsjö



More information about the erlang-questions mailing list