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
28ca9a86
Commit
28ca9a86
authored
Aug 12, 2007
by
Marcus Meissner
Committed by
Alexandre Julliard
Aug 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd.exe: WCMD_for is only for files.
parent
f76de3d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
builtins.c
programs/cmd/builtins.c
+1
-3
No files found.
programs/cmd/builtins.c
View file @
28ca9a86
...
...
@@ -654,7 +654,6 @@ void WCMD_for (WCHAR *p, CMD_LIST **cmdList) {
WCHAR
variable
[
4
];
WCHAR
*
firstCmd
;
int
thisDepth
;
BOOL
isDirs
=
FALSE
;
/* Check:
the first line includes the % variable name as first parm
...
...
@@ -730,8 +729,7 @@ void WCMD_for (WCHAR *p, CMD_LIST **cmdList) {
if
(
hff
!=
INVALID_HANDLE_VALUE
)
{
do
{
BOOL
isDirectory
=
(
fd
.
dwFileAttributes
&
FILE_ATTRIBUTE_DIRECTORY
);
if
((
isDirs
&&
isDirectory
)
||
(
!
isDirs
&&
!
isDirectory
))
if
(
!
isDirectory
)
{
thisCmdStart
=
cmdStart
;
WINE_TRACE
(
"Processing FOR filename %s
\n
"
,
wine_dbgstr_w
(
fd
.
cFileName
));
...
...
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