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
94f9e789
Commit
94f9e789
authored
Sep 03, 2012
by
Jason Edmeades
Committed by
Alexandre Julliard
Sep 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Fix rmdir error during recursive delete.
parent
514eb695
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
builtins.c
programs/cmd/builtins.c
+4
-0
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+1
-1
No files found.
programs/cmd/builtins.c
View file @
94f9e789
...
...
@@ -1827,6 +1827,10 @@ void WCMD_remove_dir (WCHAR *command) {
lpDir
.
pFrom
=
thisArg
;
lpDir
.
fFlags
=
FOF_SILENT
|
FOF_NOCONFIRMATION
|
FOF_NOERRORUI
;
lpDir
.
wFunc
=
FO_DELETE
;
/* SHFileOperationW needs file list with a double null termination */
thisArg
[
lstrlenW
(
thisArg
)
+
1
]
=
0x00
;
if
(
SHFileOperationW
(
&
lpDir
))
WCMD_print_error
();
}
}
...
...
programs/cmd/tests/test_builtins.cmd
View file @
94f9e789
...
...
@@ -1163,7 +1163,7 @@ if not exist foo (
)
mkdir foo\bar\baz
echo foo > foo\bar\brol
rmdir /s /Q foo
rmdir /s /Q foo
2>&1
if not exist foo (
echo recursive rmdir succeeded
) else (
...
...
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