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
7e2d1b4a
Commit
7e2d1b4a
authored
Apr 05, 2007
by
Jason Edmeades
Committed by
Alexandre Julliard
Apr 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd.exe: Partially fix 'dir *.' (ie files with no extension).
parent
426a3c11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
directory.c
programs/cmd/directory.c
+5
-1
No files found.
programs/cmd/directory.c
View file @
7e2d1b4a
...
...
@@ -316,7 +316,6 @@ void WCMD_directory (char *cmd) {
WINE_TRACE
(
"Using location '%s'
\n
"
,
fullname
);
status
=
GetFullPathName
(
fullname
,
sizeof
(
path
),
path
,
NULL
);
WINE_TRACE
(
"Using path '%s'
\n
"
,
path
);
/*
* If the path supplied does not include a wildcard, and the endpoint of the
...
...
@@ -333,8 +332,13 @@ void WCMD_directory (char *cmd) {
strcat
(
path
,
"
\\
*"
);
}
}
}
else
{
/* Special case wildcard search with no extension (ie parameters ending in '.') as
GetFullPathName strips off the additional '.' */
if
(
fullname
[
strlen
(
fullname
)
-
1
]
==
'.'
)
strcat
(
path
,
"."
);
}
WINE_TRACE
(
"Using path '%s'
\n
"
,
path
);
thisEntry
=
(
DIRECTORY_STACK
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
DIRECTORY_STACK
));
if
(
fullParms
==
NULL
)
fullParms
=
thisEntry
;
if
(
prevEntry
!=
NULL
)
prevEntry
->
next
=
thisEntry
;
...
...
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