This document describes the changes made to the SASL application.
Remove traces of release_handler reading from filesystem when it has Masters list
There are a couple of places in release_handler and release_handler_1 that assumed it has a disk to read from, which in the case of an erl_prim_loader Loader other than efile is not necessarily true
Add check_paths/2 to do the equivalent of check_path/1 for when there is a Masters list
Change get_vsn to no longer get sent File paths but instead use the Bin since beam_lib:version being sent a file path causes it to read the local file system
Add get_current_vsn/1 as an equivalent to beam_lib:version(code:which(Mod)), but using erl_prim_loader:get_file instead of reading from local file system
(Thanks to Steven Gravell)
Own Id: OTP-9142
rb:stop did sometimes return {error,running}. This came from supervisor:delete_child and happened when the rb_server has not yet terminated when this function was called. Instead of having a separate gen_server call to rb_server for stopping the process, supervisor:terminate_child is now called. This is a synchronous function - i.e. it waits for the process to actually terminate before it returns.
A file descriptor leak in rb:scan_files is corrected. The index file was never closed after reading.
A mismatch in the behavior of rb:filter, when filter included 'no', is corrected. Such filters will now return *all* non-matching reports, not only the 'proplist' reports.
Own Id: OTP-9149
Start and end date for rb:filter/2 was specified as {{Y-M-D},...} in the help text instead of {{Y,M,D},...}. This has been corrected.
Own Id: OTP-9166
If some, but not all, of the sasl environment variables related to the log_mf_h error handler were missing sasl would successfully start but silently skip starting log_mf_h. This is corrected so sasl startup will now fail if one or two of the three variables are given. If none of the variables are given, sasl will start as before without starting log_mf_h.
Own Id: OTP-9185
Change default behaviour to not check src code when creating release
Add new option
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-9146 Aux Id: seq11803
Honor start type in .rel files when building relup files
Previously, relup file always included an application:start(Application, permanent) apply instruction for every application that appear in the UpTo/DowFrom release file, whatever their start type in the release file.
The new implementation fixes this bug by honoring the start type according to the rel(5) format. If the start type is none, no apply line is included in the relup. If the start type is load, the relup includes instruction to only load the application. Otherwise, the relup includes an instruction to start the application to the according type.
The fix is implemented by adding a new parameter to the add_application high level appup instruction. This new parameter is documented in appup(5).
Own Id: OTP-9097
In R13B04 sys:get_status was modified to invoke format_status/2 in the callback module if the module exports that function. This resulted in a change to the term returned from calling sys:get_status on the supervisor module, since supervisor is a gen_server and gen_server exports format_status. The sasl release_handler_1 module had a dependency on the pre-R13B04 term returned by sys:get_status when invoked on a supervisor, so the R13B04 change broke that dependency.
This problem has been fixed by change release_handler_1 to handle both the pre-R13B04 and R13B04 terms that sys:get_status can return from a supervisor.
Own Id: OTP-8619 Aux Id: seq11570
Use an infinity timeout in all calls to
Own Id: OTP-8506 Aux Id: seq11509
The
Own Id: OTP-8443
There is new function
Own Id: OTP-8445
Cleanups suggested by tidier and modernization of types and specs.
Own Id: OTP-8455
The documentation is now built with open source tools (xsltproc and fop) that exists on most platforms. One visible change is that the frames are removed.
Own Id: OTP-8201
The Windows utility Erlsrv, run in interactive mode now accepts options for registering internal service name and description field of Windows registry database.
Own Id: OTP-8132
When using the SASL application configuration
parameter
Own Id: OTP-7667
Missing preloaded modules added
Own Id: OTP-7820
A Dialyzer warning was eliminated
Own Id: OTP-7635
Minor changes.
Own Id: OTP-7388
Minor updates.
Own Id: OTP-6998
Minor Makefile changes.
Own Id: OTP-6689
Obsolete guard tests (such as list()) have been replaced with the modern guard tests (such as is_list()).
Own Id: OTP-6725
Removed some dead code from
Own Id: OTP-6499
Added an option
Also, when using
As part of the work some minor bugs have been corrected:
A documentation error for
Own Id: OTP-6226
Own Id: OTP-6162
Fixed some minor bugs in
Own Id: OTP-6039
Added a number of functions to
-
-
-
-
-
Own Id: OTP-5858
A new option
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-5761
A bug that made it impossible to call
Own Id: OTP-5287