Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
c8d0ca12
Commit
c8d0ca12
authored
Feb 06, 2021
by
Erich E. Hoover
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Use FILE_OPEN_REPARSE_POINT in DeleteFile.
Signed-off-by:
Erich E. Hoover
<
erich.e.hoover@gmail.com
>
parent
22b52c3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
file.c
dlls/kernelbase/file.c
+2
-1
No files found.
dlls/kernelbase/file.c
View file @
c8d0ca12
...
...
@@ -1092,7 +1092,8 @@ BOOL WINAPI DECLSPEC_HOTPATCH DeleteFileW( LPCWSTR path )
status
=
NtCreateFile
(
&
hFile
,
SYNCHRONIZE
|
DELETE
,
&
attr
,
&
io
,
NULL
,
0
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
|
FILE_SHARE_DELETE
,
FILE_OPEN
,
FILE_DELETE_ON_CLOSE
|
FILE_NON_DIRECTORY_FILE
,
NULL
,
0
);
FILE_OPEN
,
FILE_DELETE_ON_CLOSE
|
FILE_NON_DIRECTORY_FILE
|
FILE_OPEN_REPARSE_POINT
,
NULL
,
0
);
if
(
status
==
STATUS_SUCCESS
)
status
=
NtClose
(
hFile
);
RtlFreeUnicodeString
(
&
nameW
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment