summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorRichard Carlsson <richardc@klarna.com>2015-04-16 11:28:22 +0200
committerBjörn Gustavsson <bjorn@erlang.org>2015-05-07 14:45:21 +0200
commite47490f83e561a45cee9e8f72f1e1f91f19c60b7 (patch)
treec8e316fe34c4c3cbe48e776885b477ddc4680bd1 /system
parentfc1029c74093fde14241ca664c9341fcc8be5fd3 (diff)
downloaderlang-e47490f83e561a45cee9e8f72f1e1f91f19c60b7.tar.gz
Set module_info md5 for native modules properly
Use the md5 of the native code chunk instead of the Beam code md5.
Diffstat (limited to 'system')
-rw-r--r--system/doc/reference_manual/modules.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/doc/reference_manual/modules.xml b/system/doc/reference_manual/modules.xml
index 76767ea686..d283c33910 100644
--- a/system/doc/reference_manual/modules.xml
+++ b/system/doc/reference_manual/modules.xml
@@ -289,7 +289,9 @@ behaviour_info(callbacks) -> Callbacks.</pre>
<tag><c>md5</c></tag>
<item>
- <p>Returns a binary representing the MD5 checksum of the module.</p>
+ <p>Returns a binary representing the MD5 checksum of the module.
+ If the module has native code loaded, this will be the MD5 of the
+ native code, not the BEAM bytecode.</p>
</item>
<tag><c>exports</c></tag>