Fix invoking Emacs via a symlink on Cygwin

* src/emacs.c (load_pdump) [CYGWIN]: Strip ".exe" suffix.
This commit is contained in:
Ken Brown 2019-06-27 13:43:27 -04:00
parent c1234ca9c3
commit e51f328465

View file

@ -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