Fix invoking Emacs via a symlink on Cygwin
* src/emacs.c (load_pdump) [CYGWIN]: Strip ".exe" suffix.
This commit is contained in:
parent
c1234ca9c3
commit
e51f328465
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ load_pdump (int argc, char **argv)
|
|||
char *exename = NULL;
|
||||
char *real_exename = NULL;
|
||||
const char* strip_suffix =
|
||||
#ifdef DOS_NT
|
||||
#if defined DOS_NT || defined CYGWIN
|
||||
".exe"
|
||||
#else
|
||||
NULL
|
||||
|
|
Loading…
Add table
Reference in a new issue