summaryrefslogtreecommitdiff
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-10-12 17:19:54 +0200
committerEli Zaretskii <eliz@gnu.org>2012-10-12 17:19:54 +0200
commitbb385a92ec4f8f5bbc93641aaa274bd735826574 (patch)
tree8fff4a185dfc74f91d94edc7b45dcd9dacbfbd67 /src/ChangeLog
parent605a3df6811c2b3ce9379149cc8fd64fc9846136 (diff)
Fix bug #12587 with slow startup on MS-Windows with Netlogon service.
src/fileio.c (check_existing): New function. (make_temp_name, Ffile_exists_p, Ffile_writable_p): Call it instead of calling 'stat', when what's needed is to check whether a file exists. This avoids expensive system calls on MS-Windows. src/w32.c (init_environment): Call 'check_existing' instead of 'stat'. src/lread.c (openp) [WINDOWSNT]: Call 'access' instead of 'stat' to determine whether a file exists and is not a directory. src/lisp.h (check_existing): Add prototype.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 47b2de24844..76f0226c0bf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,19 @@
+2012-10-12 Eli Zaretskii <eliz@gnu.org>
+
+ * fileio.c (check_existing): New function.
+ (make_temp_name, Ffile_exists_p, Ffile_writable_p): Call it
+ instead of calling 'stat', when what's needed is to check whether
+ a file exists. This avoids expensive system calls on MS-Windows.
+ (Bug#12587)
+
+ * w32.c (init_environment): Call 'check_existing' instead of
+ 'stat'.
+
+ * lread.c (openp) [WINDOWSNT]: Call 'access' instead of 'stat' to
+ determine whether a file exists and is not a directory.
+
+ * lisp.h (check_existing): Add prototype.
+
2012-10-12 Jan Djärv <jan.h.d@swipnet.se>
* nsfont.m (nsfont_open): Remove font cache, it is not GC correct.