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
b91fc465
Commit
b91fc465
authored
Apr 21, 2009
by
Nicolas Le Cam
Committed by
Alexandre Julliard
Apr 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix ACTION_AppSearchDr on empty path.
parent
34202629
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
appsearch.c
dlls/msi/appsearch.c
+5
-2
package.c
dlls/msi/tests/package.c
+0
-1
No files found.
dlls/msi/appsearch.c
View file @
b91fc465
...
...
@@ -969,7 +969,10 @@ static UINT ACTION_AppSearchDr(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNATU
else
depth
=
MSI_RecordGetInteger
(
row
,
4
);
ACTION_ExpandAnyPath
(
package
,
path
,
expanded
,
MAX_PATH
);
if
(
sz
)
ACTION_ExpandAnyPath
(
package
,
path
,
expanded
,
MAX_PATH
);
else
strcpyW
(
expanded
,
path
);
if
(
parent
)
{
...
...
@@ -984,7 +987,7 @@ static UINT ACTION_AppSearchDr(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNATU
strcpyW
(
path
,
parent
);
strcatW
(
path
,
expanded
);
}
else
else
if
(
sz
)
strcpyW
(
path
,
expanded
);
PathAddBackslashW
(
path
);
...
...
dlls/msi/tests/package.c
View file @
b91fc465
...
...
@@ -8818,7 +8818,6 @@ static void test_appsearch_drlocator(void)
search_absolute_directory
(
path
,
""
);
r
=
MsiGetPropertyA
(
hpkg
,
"SIGPROP11"
,
prop
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
todo_wine
ok
(
!
lstrcmpA
(
prop
,
path
),
"Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
path
,
prop
);
DeleteFileA
(
"FileName1"
);
...
...
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