diff options
| author | Andrea Corallo | 2021-03-24 11:23:00 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2021-03-24 12:43:04 +0100 |
| commit | 4a3b43f55cfa96f5dd42e360eb4577750e97dbf0 (patch) | |
| tree | 383a7b22c48054262c87900b965a2d74b5d4cb28 /src | |
| parent | 7ba816ee1cba00cf29cc79f60e731d86c8dc3a07 (diff) | |
| download | emacs-4a3b43f55cfa96f5dd42e360eb4577750e97dbf0.tar.gz emacs-4a3b43f55cfa96f5dd42e360eb4577750e97dbf0.zip | |
* src/lread.c (maybe_swap_for_eln): Fix eln filename (bug#bug#47337).
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c index 5fd52feb376..56717dba810 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -1675,7 +1675,9 @@ maybe_swap_for_eln (bool no_native, Lisp_Object *filename, int *fd) | |||
| 1675 | FOR_EACH_TAIL_SAFE (eln_path_tail) | 1675 | FOR_EACH_TAIL_SAFE (eln_path_tail) |
| 1676 | { | 1676 | { |
| 1677 | Lisp_Object eln_name = | 1677 | Lisp_Object eln_name = |
| 1678 | Fexpand_file_name (eln_rel_name, XCAR (eln_path_tail)); | 1678 | Fexpand_file_name (eln_rel_name, |
| 1679 | Fexpand_file_name (Vcomp_native_version_dir, | ||
| 1680 | XCAR (eln_path_tail))); | ||
| 1679 | int eln_fd = emacs_open (SSDATA (ENCODE_FILE (eln_name)), O_RDONLY, 0); | 1681 | int eln_fd = emacs_open (SSDATA (ENCODE_FILE (eln_name)), O_RDONLY, 0); |
| 1680 | 1682 | ||
| 1681 | if (eln_fd > 0) | 1683 | if (eln_fd > 0) |