Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a7d02a1f
Commit
a7d02a1f
authored
Apr 02, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Apr 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Handle the case where no files match the wildcard in MoveFiles.
parent
cfeca053
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
action.c
dlls/msi/action.c
+4
-0
No files found.
dlls/msi/action.c
View file @
a7d02a1f
...
@@ -5413,6 +5413,10 @@ static BOOL move_files_wildcard(LPWSTR source, LPWSTR dest, int options)
...
@@ -5413,6 +5413,10 @@ static BOOL move_files_wildcard(LPWSTR source, LPWSTR dest, int options)
msi_free
(
path
);
msi_free
(
path
);
}
}
/* no files match the wildcard */
if
(
list_empty
(
&
files
.
entry
))
goto
done
;
/* only the first wildcard match gets renamed to dest */
/* only the first wildcard match gets renamed to dest */
file
=
LIST_ENTRY
(
list_head
(
&
files
.
entry
),
FILE_LIST
,
entry
);
file
=
LIST_ENTRY
(
list_head
(
&
files
.
entry
),
FILE_LIST
,
entry
);
size
=
(
strrchrW
(
file
->
dest
,
'\\'
)
-
file
->
dest
)
+
lstrlenW
(
file
->
destname
)
+
2
;
size
=
(
strrchrW
(
file
->
dest
,
'\\'
)
-
file
->
dest
)
+
lstrlenW
(
file
->
destname
)
+
2
;
...
...
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