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
f9b4c78a
Commit
f9b4c78a
authored
Sep 05, 2012
by
Jason Edmeades
Committed by
Alexandre Julliard
Sep 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: A successful set should reset the errorlevel.
parent
b9550ad3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
builtins.c
programs/cmd/builtins.c
+1
-0
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+3
-3
No files found.
programs/cmd/builtins.c
View file @
f9b4c78a
...
...
@@ -2366,6 +2366,7 @@ void WCMD_setshow_env (WCHAR *s) {
if
((
!
status
)
&
(
gle
==
ERROR_ENVVAR_NOT_FOUND
))
{
errorlevel
=
1
;
}
else
if
((
!
status
))
WCMD_print_error
();
else
errorlevel
=
0
;
}
}
...
...
programs/cmd/tests/test_builtins.cmd.exp
View file @
f9b4c78a
...
...
@@ -201,13 +201,13 @@ baz@space@
@todo_wine@0
------------ Testing 'set' ------------
1
@todo_wine@
0
0
FOOBAR not defined
@todo_wine@ baz
FOOBAR = baz
@todo_wine@
0
0
@todo_wine@ baz2
@todo_wine@
0
0
bar
@todo_wine@FOOBAR= bar
@todo_wine@FOOBAR = baz2
...
...
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