.app
file, are now updated. This means
application:get_all_key/0,1
and
application:get_key/1,2
now returns up-to-date values also
after a release upgrade.
gen_tcp:shutdown/2
function has been added. To handle
shutdown from the other side, the option {exit_on_close,
true|false}
has been added to the inet:setops/2
function.
A new function erlang:send/3 has been added to give more control to
when to send if the sender risks being suspended or delayed due to
automatic node connection. This function supersedes
erlang:send_nosuspend/2,3, which is retained for backward
compatibility, and has been upgraded to handle local processes and
ports. See the documentation.
The function gen_server:cast/2
(and hence gen_server:abcast/2) has been corrected to not get stuck
waiting for automatic node connection; if a node has to be connected
for the cast to be sent, a helper process is spawned to do the send so
that execution flow can return to the sender immediately.
(Own Id: OTP-3968)
(Aux Id: Seq 4387)
erlang:system_flag/2
will no longer accept the keep_zombies
argument.
process_info/2
will no longer accept the exit
option (which was used to retrieve the exit reason for a zombie
process).
disk_log
module has been slightly changed for the
purpose of reducing the risk of memory problems due to corrupt files.
The chunk
commands have been optimized by increasing the
chunk size from 8 kilobytes to 64 kilobytes.
inet:setopts/2
is now
documented.
A http state bug in inet_drv (affecting gen_tcp) has been fixed. Patch from Claes Wikström.
A bug in defining max number of ports has been fixed. Patch from Claes Wikström.
A bug in erlang:port_call/3 when calling a driver with a NULL driver struct ->call field has been fixed. Patch from Luke Gorrie.
There is a new function file:script/1,2 that does the same as file:eval/1 but gives a return value. For completness, file:path_script/2,3, file:eval/2 and file:path_eval/3 are also added. Suggestion from Ulf Wiger. See the documentation for details.
erlang:trace/3
did no clear
trace flags on processes that were exiting. This bug has now been
fixed.
The gen_udp options add_membership
and
drop_membership
are now allowed. Patch from Vance Shipley.
gen_udp:open/1,2
with service name instead of port
number now works. Patch from carlos@lfcia.org.
An unjustified
compiler warning when using an explicit space character as pad
character to io:format/2
and similar has been removed.
If an illegal node name is used to start a node, now
net_kernel
fails noisily instead of just letting the node
start in non-distributed mode.
Now
gen_server:format_status/2
also works with non-registered
processes.
There are two new functions
erlang:list_to_integer/2
and
erlang:integer_to_list/2
that takes a number base
argument. See the documentataion for details.
New format characters
for io:format/2
and similar are ~b, ~B, ~x, ~X, ~+ and ~#.
See the documentaion for details.
New format characters for
io:fread/2
and similar are ~u, ~- and ~#. See the
documentation for details.
The token scanner erl_scan
has been rewritten to become twice as fast as before. Now, incomplete
any-base numbers such as "16#" are regarded as errors instead of as
zero. The allowed base number range has been extended to 2..36 instead
of previously 2..16.
There is a new function
lists:split/2
. See the documentation.
For everyone that
has written their own function to calculate the time difference between
two now()
calls there is now
timer:now_diff/2
. See the documentation.
(Own Id: OTP-4747)
code:is_loaded/1
doesn't type check its arguments.
disk_log:unblock/1
that could cause messages to
be processed in wrong order has been fixed. Write errors no longer
terminate the disk log process.
bchunk/2,3
in the
disk_log
module that are to be used like
chunk/2,3
but return objects as binaries.
+A
in erl(3)
) and files are read from a file
system (the default, see the value efile
of the
-loader
flag in erl(3)
) disk seek times have
been reduced.
compressed
to file:open/2
has now
been documented.
code:is_loaded/1
doesn't type check its arguments.