diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emacs.c b/src/emacs.c index 869b5307f23..92773996184 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -915,10 +915,10 @@ main (int argc, char **argv) | |||
| 915 | temacs and only if we are going to dump with unexec. */ | 915 | temacs and only if we are going to dump with unexec. */ |
| 916 | bool use_dynamic_heap = false; | 916 | bool use_dynamic_heap = false; |
| 917 | char *temacs_str = strstr (argv[0], "temacs"); | 917 | char *temacs_str = strstr (argv[0], "temacs"); |
| 918 | if (temacs_str != NULL | 918 | if (temacs |
| 919 | && temacs_str != NULL | ||
| 919 | && (temacs_str == argv[0] || IS_DIRECTORY_SEP (temacs_str[-1]))) | 920 | && (temacs_str == argv[0] || IS_DIRECTORY_SEP (temacs_str[-1]))) |
| 920 | { | 921 | { |
| 921 | eassert (temacs); | ||
| 922 | /* Note that gflags are set at this point only if we have been | 922 | /* Note that gflags are set at this point only if we have been |
| 923 | called with the --temacs=METHOD option. We assume here that | 923 | called with the --temacs=METHOD option. We assume here that |
| 924 | temacs is always called that way, otherwise the functions | 924 | temacs is always called that way, otherwise the functions |