diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 7 |
1 files changed, 6 insertions, 1 deletions
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.") | |||
| 852 | /* Here we try to minimize useless stat'ing when this function is | 852 | /* Here we try to minimize useless stat'ing when this function is |
| 853 | invoked many times successively with the same PREFIX. We achieve | 853 | invoked many times successively with the same PREFIX. We achieve |
| 854 | this by initializing count to a random value, and incrementing it | 854 | this by initializing count to a random value, and incrementing it |
| 855 | afterwards. */ | 855 | afterwards. |
| 856 | |||
| 857 | We don't want make-temp-name to be called while dumping, | ||
| 858 | because then make_temp_name_count_initialized_p would get set | ||
| 859 | and then make_temp_name_count would not be set when Emacs starts. */ | ||
| 860 | |||
| 856 | if (!make_temp_name_count_initialized_p) | 861 | if (!make_temp_name_count_initialized_p) |
| 857 | { | 862 | { |
| 858 | make_temp_name_count = (unsigned) time (NULL); | 863 | make_temp_name_count = (unsigned) time (NULL); |