Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
wine
wine-winehq
Commits
54c7df15
Commit
54c7df15
authored
Jan 12, 2024
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sxs: Skip file copy when assembly is already installed.
parent
499fa1d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
cache.c
dlls/sxs/cache.c
+7
-0
No files found.
dlls/sxs/cache.c
View file @
54c7df15
...
@@ -598,6 +598,13 @@ static HRESULT install_assembly( const WCHAR *manifest, struct assembly *assembl
...
@@ -598,6 +598,13 @@ static HRESULT install_assembly( const WCHAR *manifest, struct assembly *assembl
dst
=
build_manifest_filename
(
assembly
->
arch
,
assembly
->
name
,
assembly
->
token
,
assembly
->
version
);
dst
=
build_manifest_filename
(
assembly
->
arch
,
assembly
->
name
,
assembly
->
token
,
assembly
->
version
);
if
(
!
dst
)
return
E_OUTOFMEMORY
;
if
(
!
dst
)
return
E_OUTOFMEMORY
;
if
(
GetFileAttributesW
(
dst
)
!=
INVALID_FILE_ATTRIBUTES
)
{
free
(
dst
);
TRACE
(
"manifest exists, skipping install
\n
"
);
return
S_OK
;
}
ret
=
CopyFileW
(
manifest
,
dst
,
FALSE
);
ret
=
CopyFileW
(
manifest
,
dst
,
FALSE
);
free
(
dst
);
free
(
dst
);
if
(
!
ret
)
if
(
!
ret
)
...
...
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