diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-06-28 23:25:22 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-06-28 23:25:22 +0400 |
commit | ca7f6a04b3d6e407fdee0f07cc0d1d2d3739ef44 (patch) | |
tree | 6a7345fd8d15b8bf3cb908d4860f98d9fbae13d1 /winsup/cygwin/flock.cc | |
parent | 06e429fd6d6684da9ed94ee803ae75561bcb5eb3 (diff) |
* fhandler_serial.cc: Fix includes for IOCTL codes to support Mingw64.
* fhandler_tape.cc: Ditto.
* flock.cc (allow_others_to_sync): Use PISECURITY_DESCRIPTOR since
PSECURITY_DESCRIPTOR is supposed to be the opaque type.
* ntdll.h: Remove CreateDisposition flags again, now that they are
defined in Mingw64's ntdef.h. Ditto for Create/Open flags.
Diffstat (limited to 'winsup/cygwin/flock.cc')
-rw-r--r-- | winsup/cygwin/flock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/flock.cc b/winsup/cygwin/flock.cc index 176e4869e..0a4bdf0d1 100644 --- a/winsup/cygwin/flock.cc +++ b/winsup/cygwin/flock.cc @@ -164,7 +164,7 @@ allow_others_to_sync () at this point because this gets called during initialization when the tls is not really available. */ #define MAX_PROCESS_SD_SIZE 3072 - PSECURITY_DESCRIPTOR sd = (PSECURITY_DESCRIPTOR) alloca (MAX_PROCESS_SD_SIZE); + PISECURITY_DESCRIPTOR sd = (PISECURITY_DESCRIPTOR) alloca (MAX_PROCESS_SD_SIZE); status = NtQuerySecurityObject (NtCurrentProcess (), DACL_SECURITY_INFORMATION, sd, MAX_PROCESS_SD_SIZE, &len); |