Mercurial > emacs
changeset 19498:34057e215ab1
(init_callproc): Don't warn about missing
arch-dep data directory, while preparing to dump.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 24 Aug 1997 00:44:34 +0000 |
parents | 29203b66f749 |
children | 1b0ccfac70e8 |
files | src/callproc.c |
diffstat | 1 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/callproc.c Sat Aug 23 22:54:13 1997 +0000 +++ b/src/callproc.c Sun Aug 24 00:44:34 1997 +0000 @@ -1253,10 +1253,15 @@ } } - tempdir = Fdirectory_file_name (Vexec_directory); - if (access (XSTRING (tempdir)->data, 0) < 0) - dir_warning ("Warning: arch-dependent data dir (%s) does not exist.\n", - Vexec_directory); +#ifndef CANNOT_DUMP + if (initialized) +#endif + { + tempdir = Fdirectory_file_name (Vexec_directory); + if (access (XSTRING (tempdir)->data, 0) < 0) + dir_warning ("Warning: arch-dependent data dir (%s) does not exist.\n", + Vexec_directory); + } tempdir = Fdirectory_file_name (Vdata_directory); if (access (XSTRING (tempdir)->data, 0) < 0)