From: Richard M. Stallman Date: Sun, 3 May 1998 04:30:10 +0000 (+0000) Subject: Comment change. X-Git-Tag: emacs-20.3~1160 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f6a492a9f21dc98f1002fd61b111ebac0b45f8fa;p=emacs.git Comment change. --- diff --git a/src/fileio.c b/src/fileio.c index 16350504669..099c9e69649 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -852,7 +852,12 @@ PREFIX should be an absolute file name.") /* Here we try to minimize useless stat'ing when this function is invoked many times successively with the same PREFIX. We achieve this by initializing count to a random value, and incrementing it - afterwards. */ + afterwards. + + We don't want make-temp-name to be called while dumping, + because then make_temp_name_count_initialized_p would get set + and then make_temp_name_count would not be set when Emacs starts. */ + if (!make_temp_name_count_initialized_p) { make_temp_name_count = (unsigned) time (NULL);