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
53989ddd
Commit
53989ddd
authored
Jun 13, 2002
by
Gregg Mattinson
Committed by
Alexandre Julliard
Jun 13, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced stricmp/strnicmp with strcasecmp/strncasecmp.
parent
f7635f3d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
regsvr32.c
programs/regsvr32/regsvr32.c
+8
-4
No files found.
programs/regsvr32/regsvr32.c
View file @
53989ddd
...
@@ -37,7 +37,11 @@
...
@@ -37,7 +37,11 @@
* support.
* support.
*/
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <windows.h>
#include <windows.h>
typedef
HRESULT
(
*
DLLREGISTER
)
(
void
);
typedef
HRESULT
(
*
DLLREGISTER
)
(
void
);
...
@@ -173,11 +177,11 @@ int main(int argc, char* argv[])
...
@@ -173,11 +177,11 @@ int main(int argc, char* argv[])
for
(
i
=
1
;
i
<
argc
;
i
++
)
for
(
i
=
1
;
i
<
argc
;
i
++
)
{
{
if
(
!
str
i
cmp
(
argv
[
i
],
"/u"
))
if
(
!
str
case
cmp
(
argv
[
i
],
"/u"
))
Unregister
=
TRUE
;
Unregister
=
TRUE
;
else
if
(
!
str
i
cmp
(
argv
[
i
],
"/s"
))
else
if
(
!
str
case
cmp
(
argv
[
i
],
"/s"
))
Silent
=
1
;
Silent
=
1
;
else
if
(
!
strn
i
cmp
(
argv
[
i
],
"/i"
,
strlen
(
"/i"
)))
else
if
(
!
strn
case
cmp
(
argv
[
i
],
"/i"
,
strlen
(
"/i"
)))
{
{
CHAR
*
command_line
=
argv
[
i
]
+
strlen
(
"/i"
);
CHAR
*
command_line
=
argv
[
i
]
+
strlen
(
"/i"
);
...
@@ -219,7 +223,7 @@ int main(int argc, char* argv[])
...
@@ -219,7 +223,7 @@ int main(int argc, char* argv[])
wsCommandLine
=
EmptyLine
;
wsCommandLine
=
EmptyLine
;
}
}
}
}
else
if
(
!
str
i
cmp
(
argv
[
i
],
"/n"
))
else
if
(
!
str
case
cmp
(
argv
[
i
],
"/n"
))
CallRegister
=
FALSE
;
CallRegister
=
FALSE
;
else
if
(
argv
[
i
][
0
]
==
'/'
&&
(
!
argv
[
i
][
2
]
||
argv
[
i
][
2
]
==
':'
))
else
if
(
argv
[
i
][
0
]
==
'/'
&&
(
!
argv
[
i
][
2
]
||
argv
[
i
][
2
]
==
':'
))
printf
(
"Unrecognized switch %s
\n
"
,
argv
[
i
]);
printf
(
"Unrecognized switch %s
\n
"
,
argv
[
i
]);
...
...
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