diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-24 00:44:34 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-24 00:44:34 +0000 |
commit | d883eb62329a9c13a9307f973df18f91635f3905 (patch) | |
tree | 703d078d944bb773d35ba24f81dda348a1930a74 /src/callproc.c | |
parent | bfd027a4fec780a6461a3bd8e5b4e57da6600050 (diff) |
(init_callproc): Don't warn about missing
arch-dep data directory, while preparing to dump.
Diffstat (limited to 'src/callproc.c')
-rw-r--r-- | src/callproc.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/callproc.c b/src/callproc.c index 292e9af3957..201c5871537 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -1253,10 +1253,15 @@ init_callproc () } } - 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) |