aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32.c
diff options
context:
space:
mode:
authorJoakim Verona2012-09-03 17:30:17 +0200
committerJoakim Verona2012-09-03 17:30:17 +0200
commit4a37733c693d59a9b83a3fb2d0c7f9461d149f60 (patch)
treea33402e09342f748baebf0e4f5a1e40538e620f4 /src/w32.c
parent5436d1df5e2ba0b4d4f72b03a1cd09b20403654b (diff)
parentdcde497f27945c3ca4ce8c21f655ef6f627acdd2 (diff)
downloademacs-4a37733c693d59a9b83a3fb2d0c7f9461d149f60.tar.gz
emacs-4a37733c693d59a9b83a3fb2d0c7f9461d149f60.zip
upstream
Diffstat (limited to 'src/w32.c')
-rw-r--r--src/w32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w32.c b/src/w32.c
index b460660cb8c..fe612687f48 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -4098,7 +4098,7 @@ symlink (char const *filename, char const *linkname)
4098 dir_access = sys_access (filename, D_OK); 4098 dir_access = sys_access (filename, D_OK);
4099 4099
4100 /* Since Windows distinguishes between symlinks to directories and 4100 /* Since Windows distinguishes between symlinks to directories and
4101 to files, we provide a kludgey feature: if FILENAME doesn't 4101 to files, we provide a kludgy feature: if FILENAME doesn't
4102 exist, but ends in a slash, we create a symlink to directory. If 4102 exist, but ends in a slash, we create a symlink to directory. If
4103 FILENAME exists and is a directory, we always create a symlink to 4103 FILENAME exists and is a directory, we always create a symlink to
4104 directory. */ 4104 directory. */
@@ -4165,7 +4165,7 @@ symlink (char const *filename, char const *linkname)
4165 whether the underlying volume actually supports symlinks, by 4165 whether the underlying volume actually supports symlinks, by
4166 testing the FILE_SUPPORTS_REPARSE_POINTS bit in volume's flags, and 4166 testing the FILE_SUPPORTS_REPARSE_POINTS bit in volume's flags, and
4167 avoid the call to this function if it doesn't. That's because the 4167 avoid the call to this function if it doesn't. That's because the
4168 call to GetFileAttributes takes a non-negligible time, expecially 4168 call to GetFileAttributes takes a non-negligible time, especially
4169 on non-local or removable filesystems. See stat_worker for an 4169 on non-local or removable filesystems. See stat_worker for an
4170 example of how to do that. */ 4170 example of how to do that. */
4171static int 4171static int
@@ -6773,7 +6773,7 @@ shutdown_handler (DWORD type)
6773 || type == CTRL_SHUTDOWN_EVENT) /* User shutsdown. */ 6773 || type == CTRL_SHUTDOWN_EVENT) /* User shutsdown. */
6774 { 6774 {
6775 /* Shut down cleanly, making sure autosave files are up to date. */ 6775 /* Shut down cleanly, making sure autosave files are up to date. */
6776 shut_down_emacs (0, 0, Qnil); 6776 shut_down_emacs (0, Qnil);
6777 } 6777 }
6778 6778
6779 /* Allow other handlers to handle this signal. */ 6779 /* Allow other handlers to handle this signal. */