/* Increase this number to force a new Vcomp_abi_hash to be generated. */
#define ABI_VERSION "1"
+/* Length of the hashes used for eln file naming. */
+#define HASH_LENGTH 8
+
/* C symbols emitted for the load relocation mechanism. */
#define CURRENT_THREAD_RELOC_SYM "current_thread_reloc"
#define PURE_RELOC_SYM "pure_reloc"
md5_buffer (SSDATA (string), SCHARS (string), SSDATA (digest));
hexbuf_digest (SSDATA (digest), SDATA (digest), MD5_DIGEST_SIZE);
- return digest;
+ return Fsubstring (digest, Qnil, make_fixnum (HASH_LENGTH));
}
static Lisp_Object
hexbuf_digest (SSDATA (digest), SSDATA (digest), MD5_DIGEST_SIZE);
- return digest;
+ return Fsubstring (digest, Qnil, make_fixnum (HASH_LENGTH));
}
/* Produce a key hashing Vcomp_subr_list. */