|
Karsten Hopp |
bd8e6f |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
bd8e6f |
Subject: Patch 7.3.1268
|
|
Karsten Hopp |
bd8e6f |
Fcc: outbox
|
|
Karsten Hopp |
bd8e6f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
bd8e6f |
Mime-Version: 1.0
|
|
Karsten Hopp |
bd8e6f |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
bd8e6f |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
bd8e6f |
------------
|
|
Karsten Hopp |
bd8e6f |
|
|
Karsten Hopp |
bd8e6f |
Patch 7.3.1268
|
|
Karsten Hopp |
bd8e6f |
Problem: ACL support doesn't work when when compiled with MingW.
|
|
Karsten Hopp |
bd8e6f |
Solution: Support ACL on MingW. (Ken Takata)
|
|
Karsten Hopp |
bd8e6f |
Files: src/os_win32.c, src/os_win32.h
|
|
Karsten Hopp |
bd8e6f |
|
|
Karsten Hopp |
bd8e6f |
|
|
Karsten Hopp |
bd8e6f |
*** ../vim-7.3.1267/src/os_win32.c 2013-06-29 15:36:21.000000000 +0200
|
|
Karsten Hopp |
bd8e6f |
--- src/os_win32.c 2013-06-29 15:38:50.000000000 +0200
|
|
Karsten Hopp |
bd8e6f |
***************
|
|
Karsten Hopp |
bd8e6f |
*** 489,503 ****
|
|
Karsten Hopp |
bd8e6f |
* These are needed to dynamically load the ADVAPI DLL, which is not
|
|
Karsten Hopp |
bd8e6f |
* implemented under Windows 95 (and causes VIM to crash)
|
|
Karsten Hopp |
bd8e6f |
*/
|
|
Karsten Hopp |
bd8e6f |
! typedef DWORD (WINAPI *PSNSECINFO) (LPSTR, enum SE_OBJECT_TYPE,
|
|
Karsten Hopp |
bd8e6f |
SECURITY_INFORMATION, PSID, PSID, PACL, PACL);
|
|
Karsten Hopp |
bd8e6f |
! typedef DWORD (WINAPI *PGNSECINFO) (LPSTR, enum SE_OBJECT_TYPE,
|
|
Karsten Hopp |
bd8e6f |
SECURITY_INFORMATION, PSID *, PSID *, PACL *, PACL *,
|
|
Karsten Hopp |
bd8e6f |
PSECURITY_DESCRIPTOR *);
|
|
Karsten Hopp |
bd8e6f |
# ifdef FEAT_MBYTE
|
|
Karsten Hopp |
bd8e6f |
! typedef DWORD (WINAPI *PSNSECINFOW) (LPWSTR, enum SE_OBJECT_TYPE,
|
|
Karsten Hopp |
bd8e6f |
SECURITY_INFORMATION, PSID, PSID, PACL, PACL);
|
|
Karsten Hopp |
bd8e6f |
! typedef DWORD (WINAPI *PGNSECINFOW) (LPWSTR, enum SE_OBJECT_TYPE,
|
|
Karsten Hopp |
bd8e6f |
SECURITY_INFORMATION, PSID *, PSID *, PACL *, PACL *,
|
|
Karsten Hopp |
bd8e6f |
PSECURITY_DESCRIPTOR *);
|
|
Karsten Hopp |
bd8e6f |
# endif
|
|
Karsten Hopp |
bd8e6f |
--- 489,503 ----
|
|
Karsten Hopp |
bd8e6f |
* These are needed to dynamically load the ADVAPI DLL, which is not
|
|
Karsten Hopp |
bd8e6f |
* implemented under Windows 95 (and causes VIM to crash)
|
|
Karsten Hopp |
bd8e6f |
*/
|
|
Karsten Hopp |
bd8e6f |
! typedef DWORD (WINAPI *PSNSECINFO) (LPSTR, SE_OBJECT_TYPE,
|
|
Karsten Hopp |
bd8e6f |
SECURITY_INFORMATION, PSID, PSID, PACL, PACL);
|
|
Karsten Hopp |
bd8e6f |
! typedef DWORD (WINAPI *PGNSECINFO) (LPSTR, SE_OBJECT_TYPE,
|
|
Karsten Hopp |
bd8e6f |
SECURITY_INFORMATION, PSID *, PSID *, PACL *, PACL *,
|
|
Karsten Hopp |
bd8e6f |
PSECURITY_DESCRIPTOR *);
|
|
Karsten Hopp |
bd8e6f |
# ifdef FEAT_MBYTE
|
|
Karsten Hopp |
bd8e6f |
! typedef DWORD (WINAPI *PSNSECINFOW) (LPWSTR, SE_OBJECT_TYPE,
|
|
Karsten Hopp |
bd8e6f |
SECURITY_INFORMATION, PSID, PSID, PACL, PACL);
|
|
Karsten Hopp |
bd8e6f |
! typedef DWORD (WINAPI *PGNSECINFOW) (LPWSTR, SE_OBJECT_TYPE,
|
|
Karsten Hopp |
bd8e6f |
SECURITY_INFORMATION, PSID *, PSID *, PACL *, PACL *,
|
|
Karsten Hopp |
bd8e6f |
PSECURITY_DESCRIPTOR *);
|
|
Karsten Hopp |
bd8e6f |
# endif
|
|
Karsten Hopp |
bd8e6f |
*** ../vim-7.3.1267/src/os_win32.h 2013-06-07 19:17:12.000000000 +0200
|
|
Karsten Hopp |
bd8e6f |
--- src/os_win32.h 2013-06-29 15:38:50.000000000 +0200
|
|
Karsten Hopp |
bd8e6f |
***************
|
|
Karsten Hopp |
bd8e6f |
*** 57,70 ****
|
|
Karsten Hopp |
bd8e6f |
|
|
Karsten Hopp |
bd8e6f |
#define FEAT_SHORTCUT /* resolve shortcuts */
|
|
Karsten Hopp |
bd8e6f |
|
|
Karsten Hopp |
bd8e6f |
! #if !defined(__MINGW32__) \
|
|
Karsten Hopp |
bd8e6f |
! && !defined(__CYGWIN__) \
|
|
Karsten Hopp |
bd8e6f |
! && (!defined(__BORLANDC__) || __BORLANDC__ >= 0x550) \
|
|
Karsten Hopp |
bd8e6f |
&& (!defined(_MSC_VER) || _MSC_VER > 1020)
|
|
Karsten Hopp |
bd8e6f |
/*
|
|
Karsten Hopp |
bd8e6f |
* Access Control List (actually security info).
|
|
Karsten Hopp |
bd8e6f |
! * Mingw and Cygwin don't have the acl stuff.
|
|
Karsten Hopp |
bd8e6f |
! * Borland only in version 5.5 and later.
|
|
Karsten Hopp |
bd8e6f |
* MSVC in 5.0, not in 4.2, don't know about 4.3.
|
|
Karsten Hopp |
bd8e6f |
*/
|
|
Karsten Hopp |
bd8e6f |
# define HAVE_ACL
|
|
Karsten Hopp |
bd8e6f |
--- 57,67 ----
|
|
Karsten Hopp |
bd8e6f |
|
|
Karsten Hopp |
bd8e6f |
#define FEAT_SHORTCUT /* resolve shortcuts */
|
|
Karsten Hopp |
bd8e6f |
|
|
Karsten Hopp |
bd8e6f |
! #if (!defined(__BORLANDC__) || __BORLANDC__ >= 0x550) \
|
|
Karsten Hopp |
bd8e6f |
&& (!defined(_MSC_VER) || _MSC_VER > 1020)
|
|
Karsten Hopp |
bd8e6f |
/*
|
|
Karsten Hopp |
bd8e6f |
* Access Control List (actually security info).
|
|
Karsten Hopp |
bd8e6f |
! * Borland has the acl stuff only in version 5.5 and later.
|
|
Karsten Hopp |
bd8e6f |
* MSVC in 5.0, not in 4.2, don't know about 4.3.
|
|
Karsten Hopp |
bd8e6f |
*/
|
|
Karsten Hopp |
bd8e6f |
# define HAVE_ACL
|
|
Karsten Hopp |
bd8e6f |
*** ../vim-7.3.1267/src/version.c 2013-06-29 15:36:21.000000000 +0200
|
|
Karsten Hopp |
bd8e6f |
--- src/version.c 2013-06-29 15:39:17.000000000 +0200
|
|
Karsten Hopp |
bd8e6f |
***************
|
|
Karsten Hopp |
bd8e6f |
*** 730,731 ****
|
|
Karsten Hopp |
bd8e6f |
--- 730,733 ----
|
|
Karsten Hopp |
bd8e6f |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
bd8e6f |
+ /**/
|
|
Karsten Hopp |
bd8e6f |
+ 1268,
|
|
Karsten Hopp |
bd8e6f |
/**/
|
|
Karsten Hopp |
bd8e6f |
|
|
Karsten Hopp |
bd8e6f |
--
|
|
Karsten Hopp |
bd8e6f |
CUSTOMER: Well, can you hang around a couple of minutes? He won't be
|
|
Karsten Hopp |
bd8e6f |
long.
|
|
Karsten Hopp |
bd8e6f |
MORTICIAN: Naaah, I got to go on to Robinson's -- they've lost nine today.
|
|
Karsten Hopp |
bd8e6f |
CUSTOMER: Well, when is your next round?
|
|
Karsten Hopp |
bd8e6f |
MORTICIAN: Thursday.
|
|
Karsten Hopp |
bd8e6f |
DEAD PERSON: I think I'll go for a walk.
|
|
Karsten Hopp |
bd8e6f |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
bd8e6f |
|
|
Karsten Hopp |
bd8e6f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
bd8e6f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
bd8e6f |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
bd8e6f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|