summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-08-19 15:26:42 +0200
committerAndrea Corallo <akrl@sdf.org>2020-08-19 16:29:56 +0200
commit8a931a97b8dd19a38d6f719f810280a07ba76438 (patch)
treeb10244eb096cf0a70bce0385b6d657b98542500b /lisp/emacs-lisp
parent886377fefd03a7b893afad28746e69615a300994 (diff)
downloademacs-8a931a97b8dd19a38d6f719f810280a07ba76438.tar.gz
emacs-8a931a97b8dd19a38d6f719f810280a07ba76438.tar.bz2
emacs-8a931a97b8dd19a38d6f719f810280a07ba76438.zip
Fix native code uneffective loads after recompilation
'dlopen' can return the same handle if two shared with the same filename are loaded in two different times (even if the first was deleted!). To prevent this scenario the last modification time of the source file is included in the hashing algorithm. * src/comp.c (Fcomp_el_to_eln_filename): Update hashing algo to include the source last modification date. * src/lread.c (maybe_swap_for_eln): Do not check for eln newer then elc as this is now unnecessary.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions