Eli Zaretskii
343a2aefb5
Implement CLASH_DETECTION for MS-Windows.
...
src/filelock.c [WINDOWSNT]: Include w32.h.
(MAKE_LOCK_NAME): Don't use 'lock', it clashes with MS runtime
function of that name. Up-case the macro arguments.
(IS_LOCK_FILE): New macro.
(fill_in_lock_file_name): Use IS_LOCK_FILE instead of S_ISLNK.
(create_lock_file): New function, with body extracted from
lock_file_1.
[WINDOWSNT]: Implement lock files by writing a regular file with
the lock information as its contents.
(read_lock_data): New function, on Posix platforms just calls
emacs_readlinkat.
[WINDOWSNT]: Read the lock info from the file.
(current_lock_owner): Call read_lock_data instead of calling
emacs_readlinkat directly.
(lock_file) [WINDOWSNT]: Run the file name through
dostounix_filename.
src/w32proc.c (sys_kill): Support the case of SIG = 0, in which case
just check if the process by that PID exists.
src/w32.c (sys_open): Don't reset the _O_CREAT flag if _O_EXCL is
also present, as doing so will fail to error out if the file
already exists.
src/makefile.w32-in ($(BLD)/filelock.$(O)): Depend on src/w32.h.
nt/inc/ms-w32.h (BOOT_TIME_FILE): Define.
nt/config.nt (CLASH_DETECTION): Define to 1.
lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
that match "\`\.#", to avoid compiling lock files, even if they
are readable (as they are on MS-Windows).
doc/emacs/files.texi (Interlocking): Don't refer to symlinks as the
exclusive means of locking files.
etc/NEWS: Mention support for lock files on MS-Windows.
2013-02-25 19:36:03 +02:00
..
2013-02-23 19:05:13 -06:00
2013-02-11 20:46:18 -08:00
2013-02-01 19:38:21 -08:00
2013-02-25 19:36:03 +02:00
2013-02-23 13:54:00 -08:00
2013-02-12 23:02:11 -05:00
2013-02-24 18:34:22 +13:00
2013-02-24 22:44:49 +00:00
2013-02-10 11:08:21 +08:00
2013-01-01 09:11:05 +00:00
2013-02-11 20:46:18 -08:00
2013-01-23 12:49:34 +04:00
2013-02-23 13:40:14 +01:00
2013-02-12 09:36:54 -08:00
2013-02-13 00:50:44 -08:00
2013-02-12 20:31:09 -08:00
2013-02-14 20:30:11 -05:00
2013-02-23 14:06:45 -08:00
2013-02-12 20:31:09 -08:00
2013-02-23 13:54:00 -08:00
2013-02-15 21:05:32 -05:00
2013-02-23 13:54:00 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-07 23:00:55 +01:00
2013-02-09 14:52:01 +02:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-16 11:13:40 +02:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-25 19:36:03 +02:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-02-21 20:59:28 -05:00
2013-01-11 15:04:24 +00:00
2013-01-11 18:08:55 -05:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-11 20:46:18 -08:00
2013-01-02 08:13:04 -08:00
2013-02-11 14:21:23 -05:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-13 09:54:59 -05:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-09 13:09:02 +08:00
2013-02-13 10:42:31 +01:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-13 10:28:47 +02:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-09 14:52:01 +02:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-11 20:46:18 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-11 20:46:18 -08:00
2013-01-01 09:11:05 +00:00
2013-01-05 07:54:08 +09:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-09 22:43:02 -05:00
2013-02-04 20:02:25 +08:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-02-25 09:29:41 -05:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-02-13 10:42:31 +01:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-17 11:58:12 -05:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-31 01:50:11 +02:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-14 00:05:26 -08:00
2013-01-02 08:13:04 -08:00
2013-01-11 18:08:55 -05:00
2013-02-09 13:52:20 +08:00
2013-01-01 09:11:05 +00:00
2013-02-12 09:36:54 -08:00
2013-01-01 09:11:05 +00:00
2013-01-28 15:00:35 -05:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-21 20:32:45 -05:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-02-16 00:49:29 +05:30
2013-02-16 00:49:29 +05:30
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-16 16:45:53 -08:00
2013-01-01 09:11:05 +00:00
2013-02-21 20:34:06 -05:00
2013-02-19 23:57:33 -08:00
2013-02-01 00:23:47 -08:00
2013-01-01 09:11:05 +00:00
2013-02-18 19:29:28 -08:00
2013-01-01 09:11:05 +00:00
2013-02-20 22:55:19 -08:00
2013-02-20 22:39:04 -08:00
2013-02-22 09:13:05 -08:00
2013-01-01 09:11:05 +00:00
2013-02-16 00:49:29 +05:30
2013-01-30 12:03:44 -05:00
2013-02-20 09:30:23 -05:00
2013-02-09 14:52:01 +02:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-07 00:03:47 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-13 10:42:31 +01:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-02-11 20:46:18 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-16 19:40:38 -08:00
2013-01-01 09:11:05 +00:00
2013-02-10 15:18:48 +01:00
2013-02-09 13:52:20 +08:00
2013-01-01 09:11:05 +00:00
2013-01-11 18:08:55 -05:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-06 20:54:50 -05:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-11 18:08:55 -05:00
2013-01-02 08:13:04 -08:00
2013-01-02 08:13:04 -08:00
2013-02-20 14:05:24 +01:00
2013-01-24 22:19:02 +01:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-11 18:08:55 -05:00
2013-01-01 09:11:05 +00:00
2013-02-04 21:12:58 -05:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-11 18:08:55 -05:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-22 09:13:05 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-12 20:31:09 -08:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-02-20 11:37:06 -05:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-02-11 20:46:18 -08:00
2013-01-01 09:11:05 +00:00
2013-02-09 18:20:29 +02:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-04 11:22:37 -08:00
2013-02-04 20:02:25 +08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-13 08:40:00 -05:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-10 17:50:45 -08:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-02-11 20:46:18 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-11 18:08:55 -05:00
2013-01-01 09:11:05 +00:00
2013-01-07 11:24:35 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:13:04 -08:00
2013-01-01 09:11:05 +00:00
2013-02-13 15:24:11 +08:00
2013-01-01 09:11:05 +00:00