Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-12 | Types and specifications have been modified and added | Hans Bolinder | |
2010-09-10 | Remove warnings for clashes with new autoimported BIFs | Patrik Nyblom | |
2010-06-17 | Fix beam_lib:cmp/2 return type specification | Paul Guyot | |
Specify that beam_lib:cmp/2 can return {error, beam_lib, different_chunks} if a chunk is only present in one of the beams. | |||
2010-06-03 | stdlib: Add declarations for exported types | Kostis Sagonas | |
2010-05-11 | Merge branch 'bg/beam_lib' into dev | Erlang/OTP | |
* 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. | |||
2010-05-06 | Remove redundant includes | Björn Gustavsson | |
2010-05-06 | Make beam_lib:cmp/2 stricter | Björn Gustavsson | |
The beam_lib:cmp/2 function only compares the executable parts of the BEAM files, not attributes or abstract code. Since the types and specs (used by Dialyzer) are contained in the abstract code, beam_lib:cmp/2 will return 'ok' if the only difference between two BEAM file are in the types or specs. If an Erlang/OTP system is installed in a revision control system, and beam_lib:cmp/2 is used to avoid committing unchanged but newly compiled BEAM files, BEAM files with no other changes than in types or specs may not get updated, which can problems if Dialyzer or the debugger is run. To avoid that problem, change beam_lib:cmp/2 to compare all chunks *except* for the "CInf" chunk. The "CInf" chunk contains the compilation time, compiler options, and compiler version. | |||
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |