Mercurial > emacs
changeset 21917:ff6a09ae9530
Comment change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 03 May 1998 04:30:10 +0000 |
parents | ef39b27c5e20 |
children | 2abd8542d6dd |
files | src/fileio.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
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);