diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2019-06-26 19:23:34 +0300 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2019-06-26 19:23:34 +0300 |
| commit | e35708b454259425d1a3eda7b0e2f6cf559529ce (patch) | |
| tree | ab7070ae4ca485d2765c910bd460cca84c148cfa /src/emacs.c | |
| parent | d4a0e41829e59a0067461dc066dbfb945f2fe462 (diff) | |
| download | emacs-e35708b454259425d1a3eda7b0e2f6cf559529ce.tar.gz | |
Support invoking Emacs via a symlink on MS-Windows
* src/w32.c (w32_my_exename): Resolve symlinks in the
executable name, to support searching for the pdumper file
when the executable is found via a symlink.
* src/emacs.c (load_pdump): Add a comment about symlink
resolution on Windows.
Diffstat (limited to 'src/emacs.c')
| -rw-r--r-- | src/emacs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index 231acc0ef32..d5eccf78d80 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -868,6 +868,8 @@ load_pdump (int argc, char **argv) if (exename) { #ifdef WINDOWSNT + /* w32_my_exename resolves symlinks internally, so no need to + call realpath. */ real_exename = exename; exename = NULL; #else |
