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
b305f111
Commit
b305f111
authored
Dec 03, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Dec 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cabarc: Keep \ in the cab path as FDICopy expects it.
parent
b1aeb9dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cabarc.c
programs/cabarc/cabarc.c
+4
-2
No files found.
programs/cabarc/cabarc.c
View file @
b305f111
...
...
@@ -620,6 +620,7 @@ int wmain( int argc, WCHAR *argv[] )
WCHAR
*
p
,
*
command
;
char
buffer
[
MAX_PATH
];
char
filename
[
MAX_PATH
];
char
*
cab_file
,
*
file_part
;
int
i
;
...
...
@@ -688,14 +689,15 @@ int wmain( int argc, WCHAR *argv[] )
WINE_ERR
(
"cannot get full name for %s
\n
"
,
wine_dbgstr_a
(
cab_file
));
return
1
;
}
file_part
[
-
1
]
=
0
;
strcpy
(
filename
,
file_part
);
file_part
[
0
]
=
0
;
/* map slash to backslash in all file arguments */
for
(
i
=
1
;
i
<
argc
;
i
++
)
for
(
p
=
argv
[
i
];
*
p
;
p
++
)
if
(
*
p
==
'/'
)
*
p
=
'\\'
;
opt_files
=
argv
+
1
;
opt_cab_file
=
file
_part
;
opt_cab_file
=
file
name
;
switch
(
*
command
)
{
...
...
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