diff options
| author | Joakim Verona | 2012-09-03 17:30:17 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-09-03 17:30:17 +0200 |
| commit | 4a37733c693d59a9b83a3fb2d0c7f9461d149f60 (patch) | |
| tree | a33402e09342f748baebf0e4f5a1e40538e620f4 /src/w32.c | |
| parent | 5436d1df5e2ba0b4d4f72b03a1cd09b20403654b (diff) | |
| parent | dcde497f27945c3ca4ce8c21f655ef6f627acdd2 (diff) | |
| download | emacs-4a37733c693d59a9b83a3fb2d0c7f9461d149f60.tar.gz emacs-4a37733c693d59a9b83a3fb2d0c7f9461d149f60.zip | |
upstream
Diffstat (limited to 'src/w32.c')
| -rw-r--r-- | src/w32.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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. */ |
| 4171 | static int | 4171 | static 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. */ |