1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
emacs/etc
Eli Zaretskii 6dad71783c Support symlinks on latest versions of MS-Windows.
src/w32.c: Include winioctl.h and aclapi.h.
 (is_symlink, chase_symlinks, enable_privilege, restore_privilege)
 (revert_to_self): Forward declarations of static functions.
 <static BOOL g_b_init_get_security_info>:
 <g_b_init_create_symbolic_link>: New static flags.
 (globals_of_w32): Initialize them to zero.
 (GetSecurityInfo_Proc, CreateSymbolicLink_Proc): New typedefs.
 (map_w32_filename): Improve commentary.  Simplify switch.
 (SYMBOLIC_LINK_FLAG_DIRECTORY): Define if not defined in system
 headers (most versions of MinGW w32api don't).
 (get_security_info, create_symbolic_link)
 (get_file_security_desc_by_handle, is_symlink, chase_symlinks):
 New functions.
 (sys_access, sys_chmod): Call 'chase_symlinks' to resolve symlinks
 in the argument file name.
 (sys_access): Call unc_volume_file_attributes only if
 GetFileAttributes fails with network-related error codes.
 (sys_rename): Diagnose renaming of a symlink when the user doesn't
 have the required privileges.
 (get_file_security_desc_by_name): Renamed from
 get_file_security_desc.
 (stat_worker): New function, with most of the guts of 'stat', and
 with addition of handling of symlinks and support for 'lstat'.  If
 possible, get file's attributes and security information by
 handle, not by name.  Produce S_IFLNK bit for symlinks, when
 called from 'lstat'.
 (stat, lstat): New functions, call 'stat_worker'.
 (symlink, readlink, careadlinkat): Rewritten to create and resolve
 symlinks when the underlying filesystem supports them.

 lib/src/ntlib.c (lstat): New function, calls 'stat'.

 nt/inc/sys/stat.h (S_IFLNK): Define.
 (S_ISLNK): A non-trivial definition.
 (lstat): Prototype instead of a macro that redirects to 'stat'.

 lisp/files.el (file-truename): Don't skip symlink-chasing part on
 windows-nt.  Incorporate the resolution of 8+3 short aliases on
 Windows into the loop that recursively chases symlinks.  Compare
 directory and its parent case-insensitively on MS-Windows and
 MS-DOS.

 etc/NEWS: Announce the symlink support on MS-Windows.
2012-08-03 13:23:30 +03:00
..
charsets Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
e Spelling fixes. 2011-11-26 20:43:11 -08:00
forms Move some forms.el example files to etc/forms directory 2012-05-07 18:53:17 -04:00
gnus Spelling fixes. 2011-11-19 18:29:42 -08:00
images Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
nxml Nuke arch-tags. 2011-01-15 15:16:57 -08:00
org Sync with Org git commit 374c56b. 2012-04-26 19:30:04 +02:00
refcards Merge Org 7.8.11 -- important bug fixes. 2012-05-25 09:39:32 +02:00
schema Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
srecode Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
themes Fix legibility of compilation mode-line messages. 2012-06-03 22:37:13 +08:00
tutorials Fix display of Hebrew tutorial title on splash screen. 2012-07-20 13:29:32 +03:00
.gitignore Nuke arch-tags. 2011-01-15 15:16:57 -08:00
AUTHORS Merge from emacs-24; up to 2012-04-25T15:23:19Z!sdl.web@gmail.com 2012-06-10 21:20:58 +08:00
celibacy.1
CENSORSHIP
ChangeLog * TODO (NS port): Add text about event loop. 2012-07-31 21:23:33 +02:00
compilation.txt Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
condom.1
CONTRIBUTE * etc/CONTRIBUTE: Expand a bit on copyright assignments. 2012-04-20 00:49:19 -07:00
COOKIES
COPYING
copying.paper
DEBUG Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
DEVEL.HUMOR
DISTRIB Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
echo.msg
edt-user.el Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
emacs-buffer.gdb Simplify export of symbols to GDB; fix related .gdbinit bugs. 2012-07-26 01:12:03 -07:00
emacs.desktop
emacs.icon
enriched.doc Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ERC-NEWS Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ETAGS.EBNF Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ETAGS.README Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
FTP
future-bug Rename configure.in to configure.ac. 2012-07-08 21:52:49 -07:00
GNU Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
GNUS-NEWS Merge changes made in Gnus master ever since feature freeze 2012-06-26 22:52:31 +00:00
gnus-tut.txt Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
grep.txt Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
HELLO Small fixes related to etc/HELLO 2012-03-16 19:20:37 -04:00
INTERVIEW
JOKES Spelling fixes. 2011-11-14 12:23:26 -08:00
LINUX-GNU
MACHINES Remove references to s/ and m/ files in etc/MACHINES 2012-07-31 00:09:39 -07:00
MAILINGLISTS Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
MH-E-NEWS Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
MORE.STUFF Replace obsolete form for minor-mode in file local variables 2012-05-17 23:31:25 -07:00
MOTIVATION
NEWS Support symlinks on latest versions of MS-Windows. 2012-08-03 13:23:30 +03:00
NEWS.1-17 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.18 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.19 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.20 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.21 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.22 Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
NEWS.23 Merge from emacs-23; up to 2012-01-19T07:15:48Z!rgm@gnu.org. 2012-01-18 23:21:25 -08:00
NEXTSTEP Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
NXML-NEWS American English spelling fix. 2008-06-27 07:34:53 +00:00
ORDERS Update some URLs. 2009-12-15 03:12:44 +00:00
ORG-NEWS Spelling fixes. 2012-06-17 01:53:31 -07:00
PROBLEMS etc/PROBLEMS small updates 2012-07-30 23:58:54 -07:00
ps-prin0.ps Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
ps-prin1.ps Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
publicsuffix.txt Spelling fixes. 2012-04-13 22:10:55 -07:00
README Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
rgb.txt
SERVICE Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ses-example.ses Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
sex.6
spook.lines * etc/spook.lines: Additions. (tiny change) 2012-06-01 00:10:49 -07:00
TERMS Add 2012 to FSF copyright years for Emacs files (do not merge to trunk) 2012-01-10 23:52:35 -08:00
THE-GNU-PROJECT Spelling fixes. 2011-11-19 23:30:16 -08:00
TODO * TODO (NS port): Add text about event loop. 2012-07-31 21:23:33 +02:00
WHY-FREE
yow.lines

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-2012  Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)