9
<holder>Ericsson AB, All Rights Reserved</holder>
7
<year>2004</year><year>2009</year>
8
<holder>Ericsson AB. All Rights Reserved.</holder>
12
The contents of this file are subject to the Erlang Public License,
13
Version 1.1, (the "License"); you may not use this file except in
14
compliance with the License. You should have received a copy of the
15
Erlang Public License along with this software. If not, it can be
16
retrieved online at http://www.erlang.org/.
18
Software distributed under the License is distributed on an "AS IS"
19
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
20
the License for the specific language governing rights and limitations
23
The Initial Developer of the Original Code is Ericsson AB.
11
The contents of this file are subject to the Erlang Public License,
12
Version 1.1, (the "License"); you may not use this file except in
13
compliance with the License. You should have received a copy of the
14
Erlang Public License along with this software. If not, it can be
15
retrieved online at http://www.erlang.org/.
17
Software distributed under the License is distributed on an "AS IS"
18
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
19
the License for the specific language governing rights and limitations
26
24
<title>Kernel Release Notes</title>
32
30
<p>This document describes the changes made to the Kernel application.</p>
32
<section><title>Kernel 2.13.1</title>
34
<section><title>Fixed Bugs and Malfunctions</title>
38
Many concurrent calls to <c>os:cmd/1</c> will only block
39
one scheduler thread at a time, making an smp emulator
40
more responsive if the OS is slow forking processes.</p>
42
Own Id: OTP-7890 Aux Id: seq11219 </p>
46
Fixed hanging early RPC that did IO operation during node
49
Own Id: OTP-7903 Aux Id: seq11224 </p>
53
The error behavior of gen_tcp and gen_udp has been
54
corrected. gen_tcp:connect/3,4 and gen_udp:send/4 now
55
returns {error,eafnosupport} for conflicting destination
56
address versus socket address family. Other corner cases
57
for IP address string host names combined with not using
58
the native (OS) resolver (which is not default) has also
59
been changed to return {error,nxdomain} instead of
60
{error,einval}. Those changes just may surprise old
61
existing code. gen_tcp:listen/2 and gen_udp:open/2 now
62
fails for conflicting local address versus socket address
63
family instead of trying to use an erroneous address.
64
Problem reported by Per Hedeland.</p>
66
*** POTENTIAL INCOMPATIBILITY ***</p>
74
<section><title>Improvements and New Features</title>
78
Several glitches and performance issues in the Unicode
79
and I/O-system implementation of R13A have been
82
Own Id: OTP-7896 Aux Id: OTP-7648 OTP-7887 </p>
86
The unsupported DNS resolver client inet_res has now been
87
improved to handle NAPTR queries.</p>
89
Own Id: OTP-7925 Aux Id: seq11231 </p>
97
<section><title>Kernel 2.13</title>
99
<section><title>Fixed Bugs and Malfunctions</title>
103
The old Erlang DNS resolver inet_res has been corrected
104
to handle TXT records with more than one character
105
string. Patch courtesy of Geoff Cant.</p>
110
<p>When chunk reading a disk log opened in read_only
111
mode, bad terms could crash the disk log process.</p>
113
Own Id: OTP-7641 Aux Id: seq11090 </p>
117
<c>gen_tcp:send()</c> did sometimes (only observed on
118
Solaris) return <c>{error,enotconn}</c> instead of the
119
expected <c>{error,closed}</c> as the peer socket had
120
been explicitly closed.</p>
126
The gen_sctp option sctp_peer_addr_params,
127
#sctp_paddrparams{address={IP,Port} was erroneously
128
decoded in the inet driver. This bug has now been
137
<section><title>Improvements and New Features</title>
141
Erlang programs can now access STDERR on platforms where
142
such a file descriptor is available by using the
143
io_server 'standard_error', i.e.
144
io:format(standard_error,"~s~n",[ErrorMessage]),</p>
150
The format of the string returned by
151
<c>erlang:system_info(system_version)</c> (as well as the
152
first message when Erlang is started) has changed. The
153
string now contains the both the OTP version number as
154
well as the erts version number.</p>
159
<p>As of this version, the global name server no longer
160
supports nodes running Erlang/OTP R10B.</p>
166
A <c>{nodedown, Node}</c> message passed by the
167
<c>net_kernel:monitor_nodes/X</c> functionality is now
168
guaranteed to be sent after <c>Node</c> has been removed
169
from the result returned by <c>erlang:nodes/Y</c>.</p>
174
<p>The deprecated functions <c>erlang:fault/1</c>,
175
<c>erlang:fault/2</c>, and <c>file:rawopen/2</c> have
178
*** POTENTIAL INCOMPATIBILITY ***</p>
184
Nodes belonging to different independent clusters can now
185
co-exist on the same host with the help of a new
186
environment variable setting ERL_EPMD_PORT.</p>
191
<p>The copyright notices have been updated.</p>
200
<section><title>Kernel 2.12.5.1</title>
202
<section><title>Fixed Bugs and Malfunctions</title>
205
<p>When chunk reading a disk log opened in read_only
206
mode, bad terms could crash the disk log process.</p>
208
Own Id: OTP-7641 Aux Id: seq11090 </p>
212
Calling <c>gen_tcp:send()</c> from several processes on
213
socket with option <c>send_timeout</c> could lead to much
214
longer timeout than specified. The solution is a new
215
socket option <c>{send_timeout_close,true}</c> that will
216
do automatic close on timeout. Subsequent calls to send
217
will then immediately fail due to the closed connection.</p>
219
Own Id: OTP-7731 Aux Id: seq11161 </p>
34
226
<section><title>Kernel 2.12.5</title>
36
228
<section><title>Fixed Bugs and Malfunctions</title>