From 1bb319794197e2eb1377cd6ed83fbe190385cbfc Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Wed, 10 Apr 2024 08:20:47 +0100 Subject: [PATCH] [*] Amend a0875950 --- Source/IO/FS/FSPlatformDevices.NT.cpp | 3 ++- Source/IO/IPC/AuIPCPipe.NT.cpp | 3 ++- Source/IO/NT/HANDLEPipeServer.cpp | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Source/IO/FS/FSPlatformDevices.NT.cpp b/Source/IO/FS/FSPlatformDevices.NT.cpp index 16ad5c36..f3c34123 100644 --- a/Source/IO/FS/FSPlatformDevices.NT.cpp +++ b/Source/IO/FS/FSPlatformDevices.NT.cpp @@ -120,7 +120,8 @@ namespace Aurora::IO::FS FILE_SHARE_WRITE | FILE_SHARE_READ, false, OPEN_EXISTING, - FILE_ATTRIBUTE_NORMAL | FILE_FLAG_BACKUP_SEMANTICS); + FILE_FLAG_BACKUP_SEMANTICS, + FILE_ATTRIBUTE_NORMAL); if (hFile == INVALID_HANDLE_VALUE) { diff --git a/Source/IO/IPC/AuIPCPipe.NT.cpp b/Source/IO/IPC/AuIPCPipe.NT.cpp index 8898f3f8..e91b8002 100644 --- a/Source/IO/IPC/AuIPCPipe.NT.cpp +++ b/Source/IO/IPC/AuIPCPipe.NT.cpp @@ -464,7 +464,8 @@ namespace Aurora::IO::IPC 0, false, OPEN_ALWAYS, - FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED); + FILE_FLAG_OVERLAPPED, + FILE_ATTRIBUTE_NORMAL); if ((!pipe) || (pipe == INVALID_HANDLE_VALUE)) diff --git a/Source/IO/NT/HANDLEPipeServer.cpp b/Source/IO/NT/HANDLEPipeServer.cpp index 585120ab..4d68bec9 100644 --- a/Source/IO/NT/HANDLEPipeServer.cpp +++ b/Source/IO/NT/HANDLEPipeServer.cpp @@ -243,8 +243,8 @@ namespace Aurora::IO::NT 0, false, OPEN_ALWAYS, - FILE_ATTRIBUTE_NORMAL, - NULL); + 0, + FILE_ATTRIBUTE_NORMAL); if (hPipe == INVALID_HANDLE_VALUE) {