}
/* Where's our executable? */
- ptrdiff_t bufsize;
- #ifndef NS_SELF_CONTAINED
- ptrdiff_t exec_bufsize;
- #endif
- emacs_executable = find_emacs_executable (argv[0], &bufsize);
- #ifndef NS_SELF_CONTAINED
- exec_bufsize = bufsize;
- #endif
+ ptrdiff_t exec_bufsize, needed;
- emacs_executable = load_pdump_find_executable (argv[0], &exec_bufsize);
++ emacs_executable = find_emacs_executable (argv[0], &exec_bufsize);
/* If we couldn't find our executable, go straight to looking for
the dump in the hardcoded location. */