[PATCH] check_writable for Win32 and cygwin repair

Vin Shelton acs at alumni.princeton.edu
Sat Nov 25 14:09:42 EST 2006


Hi Benson,

Thanks for sending this in for review.

On 11/24/06, U-SOBIGbenson <bim2006 at basistech.com> wrote:
>
>
>
> lib-src/ChangeLog addition:
>
> 2006-11-24  Benson Margulies  <benson at dchbk.us>
>
>         * make-mswin-unicode.pl: allow for lower case header file names in the current platform SDK.
>
>
> src/ChangeLog addition:
>
> 2006-11-24  Benson Margulies  <benson at dchbk.us>
>
>         * fileio.c: Change check_writable to use the full Win32 mechanism to check access.
>         * intl-auto-encap-win32.c: Add GetNamedSecurityInfo
>         * intl-auto-encap-win32.h: Add GetNamedSecurityInfo
>         * intl-auto-encap-win32.h Add qxeGetNamedSecurityInfo.
>         * intl-encap-win32.c: Add aclapi.h : GetNamedSecurityInfo
>         * syswindows.h: Add aclapi.h

You're using VC .Net, right?  It looks like some definitions may be
missing on VC6; in a native build, I'm getting the following errors:

console-msw.c
e:\cygwin\usr\local\src\xemacs-21.5-2006-11-25\src\intl-auto-encap-win32.h(476)
: error C2061: syntax error : identifier 'PDWORD_PTR'
e:\cygwin\usr\local\src\xemacs-21.5-2006-11-25\src\intl-auto-encap-win32.h(488)
: error C2061: syntax error : identifier 'ULONG_PTR'
e:\cygwin\usr\local\src\xemacs-21.5-2006-11-25\src\intl-auto-encap-win32.h(1025)
: error C2061: syntax error : identifier 'ULONG_PTR'
e:\cygwin\usr\local\src\xemacs-21.5-2006-11-25\src\intl-auto-encap-win32.h(1297)
: error C2061: syntax error : identifier 'DWORD_PTR'
NMAKE: fatal error U1077: 'cl' : return code '0x2'
Stop.

FWIW, I did not find those definitions anywhere in my VC6 install
directory hierarchy.

  - Vin
-- 
The Journey by Mary Oliver
http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506



More information about the XEmacs-Patches mailing list