Mercurial > emacs
diff src/fileio.c @ 21917:ff6a09ae9530
Comment change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 03 May 1998 04:30:10 +0000 |
parents | fd8b439fd6c9 |
children | a2166fb22606 |
line wrap: on
line diff
--- a/src/fileio.c Sun May 03 03:48:05 1998 +0000 +++ b/src/fileio.c Sun May 03 04:30:10 1998 +0000 @@ -852,7 +852,12 @@ /* 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);