diff options
author | Erlang/OTP <[email protected]> | 2010-05-11 10:01:27 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-05-11 10:01:27 +0000 |
commit | 841bda73edef70bce46c5df553e5c3826caf8d67 (patch) | |
tree | 482c5694af0fcb1a0362e3a2084eb06edcd449ca /lib/stdlib/doc | |
parent | f7998b58f34f13791c5feee4326a5e4fa0a4d895 (diff) | |
parent | a31b2b2639cc2d6ba9d3873a28ff084e93852c8b (diff) | |
download | otp-841bda73edef70bce46c5df553e5c3826caf8d67.tar.gz otp-841bda73edef70bce46c5df553e5c3826caf8d67.tar.bz2 otp-841bda73edef70bce46c5df553e5c3826caf8d67.zip |
Merge branch 'bg/beam_lib' into dev
* bg/beam_lib:
Remove redundant includes
Make beam_lib:cmp/2 stricter
OTP-8625 bg/beam_lib
The beam_lib:cmp/2 function now compares BEAM files in stricter way. The
BEAM files will be considered different if there are any changes except in
the compilation information ("CInf") chunk. beam_lib:cmp/2 used to ignore
differences in the debug information (significant for Dialyzer) and other
chunks that did not directly change the run-time behavior.
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r-- | lib/stdlib/doc/src/beam_lib.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/stdlib/doc/src/beam_lib.xml b/lib/stdlib/doc/src/beam_lib.xml index b9286f1402..27308e02f3 100644 --- a/lib/stdlib/doc/src/beam_lib.xml +++ b/lib/stdlib/doc/src/beam_lib.xml @@ -347,9 +347,10 @@ chunkref() = chunkname() | chunkid()</code> </type> <desc> <p>Compares the contents of two BEAM files. If the module names - are the same, and the chunks with the identifiers - <c>"Code"</c>, <c>"ExpT"</c>, <c>"ImpT"</c>, <c>"StrT"</c>, - and <c>"Atom"</c> have the same contents in both files, + are the same, and all chunks except for the <c>"CInf"</c> chunk + (the chunk containing the compilation information which is + returned by <c>Module:module_info(compile)</c>) + have the same contents in both files, <c>ok</c> is returned. Otherwise an error message is returned.</p> </desc> </func> |