1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-03 20:24:29 +00:00
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-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:30:50 -08: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-01-01 09:11:05 +00:00
FTP
GNU
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-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-08 23:02:09 +01:00
2013-02-24 21:55:37 -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

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

`forms-d2.dat' is an example data file used by forms-d2.el.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2013 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)