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
d3b55e99
Commit
d3b55e99
authored
Aug 31, 2015
by
Hugh McMaster
Committed by
Alexandre Julliard
Aug 31, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regsvr32: Process flags before files.
parent
2d2e9e55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
regsvr32.c
programs/regsvr32/regsvr32.c
+7
-4
No files found.
programs/regsvr32/regsvr32.c
View file @
d3b55e99
...
...
@@ -231,10 +231,8 @@ int wmain(int argc, WCHAR* argv[])
OleInitialize
(
NULL
);
/*
Strictly, the Microsoft version processes all
the flags before
/*
We mirror the Microsoft version by processing all of
the flags before
* the files (e.g. regsvr32 file1 /s file2 is silent even for file1).
* For ease, we will not replicate that and will process the arguments
* in order.
*
* Note the complication that this version may be passed Unix format filenames
* which could be mistaken for flags. The Windows version conveniently
...
...
@@ -270,8 +268,13 @@ int wmain(int argc, WCHAR* argv[])
output_write
(
STRING_USAGE
);
return
1
;
}
argv
[
i
]
=
NULL
;
}
else
}
for
(
i
=
1
;
i
<
argc
;
i
++
)
{
if
(
argv
[
i
])
{
WCHAR
*
DllName
=
argv
[
i
];
int
res
=
0
;
...
...
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