From d883eb62329a9c13a9307f973df18f91635f3905 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 24 Aug 1997 00:44:34 +0000 Subject: [PATCH] (init_callproc): Don't warn about missing arch-dep data directory, while preparing to dump. --- src/callproc.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/callproc.c b/src/callproc.c index 292e9af395..201c587153 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) -- 2.20.1