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
a1910e11
Commit
a1910e11
authored
Jun 20, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Jun 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix handling of the no-op identifier in the Directory table.
parent
8e73e411
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
action.c
dlls/msi/action.c
+5
-4
No files found.
dlls/msi/action.c
View file @
a1910e11
...
...
@@ -1421,6 +1421,7 @@ static MSIFOLDER *load_folder( MSIPACKAGE *package, LPCWSTR dir )
' '
,
'='
,
' '
,
'\''
,
'%'
,
's'
,
'\''
,
0
};
static
const
WCHAR
szDot
[]
=
{
'.'
,
0
};
static
WCHAR
szEmpty
[]
=
{
0
};
LPWSTR
p
,
tgt_short
,
tgt_long
,
src_short
,
src_long
;
LPCWSTR
parent
;
MSIRECORD
*
row
;
...
...
@@ -1454,11 +1455,11 @@ static MSIFOLDER *load_folder( MSIPACKAGE *package, LPCWSTR dir )
tgt_long
=
folder_split_path
(
tgt_short
,
'|'
);
src_long
=
folder_split_path
(
src_short
,
'|'
);
/* check for
root
dirs */
/* check for
no-op
dirs */
if
(
!
lstrcmpW
(
szDot
,
tgt_short
))
tgt_short
=
NULL
;
if
(
!
lstrcmpW
(
szDot
,
tgt_long
))
tgt_long
=
NULL
;
tgt_short
=
szEmpty
;
if
(
!
lstrcmpW
(
szDot
,
src_short
))
src_short
=
szEmpty
;
if
(
!
tgt_long
)
tgt_long
=
tgt_short
;
...
...
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