From e47490f83e561a45cee9e8f72f1e1f91f19c60b7 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Thu, 16 Apr 2015 11:28:22 +0200 Subject: Set module_info md5 for native modules properly Use the md5 of the native code chunk instead of the Beam code md5. --- system/doc/reference_manual/modules.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'system/doc/reference_manual') 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. md5 -

Returns a binary representing the MD5 checksum of the module.

+

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.

exports -- cgit v1.2.3