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
a9d0209c
Commit
a9d0209c
authored
Jun 20, 2001
by
Dave Pickles
Committed by
Alexandre Julliard
Jun 20, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fix uninitialised variable problem in DIR command.
- Correct some comments.
parent
64264be4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
directory.c
programs/wcmd/directory.c
+2
-6
No files found.
programs/wcmd/directory.c
View file @
a9d0209c
...
...
@@ -8,11 +8,6 @@
* environment-variable and batch parameter substitution already done.
*/
/*
* FIXME:
* - DIR /S fails if the starting directory is not the current default.
*/
#include "wcmd.h"
int
WCMD_dir_sort
(
const
void
*
a
,
const
void
*
b
);
...
...
@@ -36,7 +31,6 @@ __int64 byte_total;
* WCMD_directory
*
* List a file directory.
* FIXME: /S switch only works for the current directory
*
*/
...
...
@@ -47,6 +41,8 @@ int status;
ULARGE_INTEGER
avail
,
total
,
free
;
line_count
=
5
;
byte_total
=
0
;
file_total
=
dir_total
=
0
;
page_mode
=
(
strstr
(
quals
,
"/P"
)
!=
NULL
);
recurse
=
(
strstr
(
quals
,
"/S"
)
!=
NULL
);
if
(
param1
[
0
]
==
'\0'
)
strcpy
(
param1
,
"."
);
...
...
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