This document contains a list of all potential incompatibilities between Erlang 5.0/OTP R7B and the previous version Erlang 4.9/OTP R6B, and is an extract from the release notes for the respective applications.
appmon.app
.erl_interface
, a function erl_mk_long_ref
has been added, and macros ERL_REF_NUMBERS
and
ERL_REF_LEN
.erlang:open_port/2
can now be configured
using the environment variable ERL_MAX_PORTS
.os:cmd/1
previously used a dedicated
subprocess, which meant that calls to os:cmd/1
were
serialized. This is no longer the case.start_os
has
been removed.{packet,PacketType}
to
gen_udp:open(Portnum,Options)
it now exits with
badarg
. In previous releases this option was silently
ignored, which was too forgiving since UDP datagrams are packets by
definition, and hence this option was obsolete. Furthermore, the more
exotic PacketType
values, e.g. asn1
,
cdr
, sunrm
, fcgi
, has never been
implemented for UDP.gen_udp:open/2
will probably crash when running on this
release.disk_log
module has been improved as regards
distribution. The value returned from open/1
when
opening a distributed log has been modified. The modification
is incompatible with the previously returned value. Attempts
to open a distributed log on a node running new code from
a node running old code, and vice versa, results in a
nodedown
error message.info/1
returns two more tags, node
and
distributed
.lclose/1
closes a log on the current
node.chunk{_step}
has been changed, and the new function chunk_info/1
returns the node where chunks are read from.accessible_logs/0
returns the names
of disk logs accessible on the current node.orber.app
file. If Orber is not started as
lightweight, it can therefore be necessary to explicitly add
mnesia
to this list.mnesia
to the list.
corba_object:non_existent/1
have been
updated to follow the CORBA 2.3 standard. Hence, Intra-ORB
communication with ORB:s not supporting this standard will fail.corba_object:not_existent/1
allows users
to use the old standard. Consult the ORB vendor's documentation to
decide which function to use.ic:gen(IdlFile,[{timeout,"module::interface"}])
, an
EXIT
was the timeout result. Now, the system
exception COMM_FAILURE
is raised.
InitialReferences.idl
to clash with the
CORBA standard implies changes in the code that use this interface.
See the OTP-3468 and OTP-3155 in the "Fixed bugs and malfunctions"
chapter in the release notes for Orber-3.1.2.
sets
and dict
modules have been updated.
There are now the following modules: dict
(unordered
dictionary), orddict
(ordered dictionary),
sets
(unordered set), and ordsets
(ordered
set).Note that dict
module uses a new internal
representation. Applications that bypassed the documented API
functions and assumed that dictionaries were lists will no longer work.
Own Id: OTP-3519