]> git.eshelyaron.com Git - emacs.git/commitdiff
* Remove `system-configuration' from eln filename
authorAndrea Corallo <akrl@sdf.org>
Wed, 3 Feb 2021 20:10:47 +0000 (21:10 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 3 Feb 2021 20:17:31 +0000 (21:17 +0100)
* src/comp.c (hash_native_abi): Remove `system-configuration'
from eln filename. Add `system-configuration' and
`emacs-version' into `comp-abi-hash'.

src/comp.c

index 1b346f847dde3aa9700031dda62d6a3801a4620f..289d89d37d114bcb807259e55de5a24e4acce03b 100644 (file)
@@ -704,16 +704,12 @@ hash_native_abi (void)
 
   Vcomp_abi_hash =
     comp_hash_string (
-      concat2 (build_string (ABI_VERSION),
+      concat3 (build_string (ABI_VERSION),
+              concat2 (Vemacs_version, Vsystem_configuration),
               Fmapconcat (intern_c_string ("subr-name"),
                           Vcomp_subr_list, build_string (""))));
-  Lisp_Object separator = build_string ("-");
   Vcomp_native_version_dir =
-    concat3 (Vemacs_version,
-            separator,
-            concat3 (Vsystem_configuration,
-                     separator,
-                     Vcomp_abi_hash));
+    concat3 (Vemacs_version, build_string ("-"), Vcomp_abi_hash);
 }
 
 static void