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
a148e555
Commit
a148e555
authored
Jan 09, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
schtasks: Make /change argument case insensitive.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9519216f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
schtasks.c
programs/schtasks/schtasks.c
+1
-1
schtasks.c
programs/schtasks/tests/schtasks.c
+2
-2
No files found.
programs/schtasks/schtasks.c
View file @
a148e555
...
...
@@ -130,7 +130,7 @@ int wmain(int argc, WCHAR *argv[])
if
(
argc
<
2
)
FIXME
(
"Print current tasks state
\n
"
);
else
if
(
!
strcmpW
(
argv
[
1
],
change_optW
))
else
if
(
!
strcmp
i
W
(
argv
[
1
],
change_optW
))
ret
=
change_command
(
argc
-
2
,
argv
+
2
);
else
FIXME
(
"Unsupported command %s
\n
"
,
debugstr_w
(
argv
[
1
]));
...
...
programs/schtasks/tests/schtasks.c
View file @
a148e555
...
...
@@ -175,12 +175,12 @@ START_TEST(schtasks)
register_task
(
"wine
\\
test
\\
winetest"
);
r
=
run_command
(
"schtasks /
change
/tn wine
\\
test
\\
winetest /enable"
);
r
=
run_command
(
"schtasks /
CHANGE
/tn wine
\\
test
\\
winetest /enable"
);
ok
(
r
==
0
,
"r = %u
\n
"
,
r
);
unregister_task
(
"wine
\\
test
\\
winetest"
);
r
=
run_command
(
"schtasks /
c
hange /tn wine
\\
test
\\
winetest /enable"
);
r
=
run_command
(
"schtasks /
C
hange /tn wine
\\
test
\\
winetest /enable"
);
ok
(
r
==
1
,
"r = %u
\n
"
,
r
);
ITaskFolder_Release
(
root
);
...
...
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