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
f8e61941
Commit
f8e61941
authored
Mar 18, 2007
by
Jason Edmeades
Committed by
Alexandre Julliard
Mar 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd.exe: Add support for dir /-C.
parent
480c9326
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
directory.c
programs/cmd/directory.c
+3
-1
No files found.
programs/cmd/directory.c
View file @
f8e61941
...
...
@@ -63,6 +63,7 @@ static ULONGLONG byte_total;
static
DISPLAYTIME
dirTime
;
static
DISPLAYORDER
dirOrder
;
static
BOOL
orderReverse
,
orderGroupDirs
,
orderGroupDirsReverse
,
orderByCol
;
static
BOOL
noseperator
;
/*****************************************************************************
* WCMD_directory
...
...
@@ -96,6 +97,7 @@ void WCMD_directory (void) {
shortname
=
(
strstr
(
quals
,
"/X"
)
!=
NULL
);
usernames
=
(
strstr
(
quals
,
"/Q"
)
!=
NULL
);
orderByCol
=
(
strstr
(
quals
,
"/D"
)
!=
NULL
);
noseperator
=
(
strstr
(
quals
,
"/-C"
)
!=
NULL
);
if
((
p
=
strstr
(
quals
,
"/T"
))
!=
NULL
)
{
p
=
p
+
2
;
...
...
@@ -441,7 +443,7 @@ char * WCMD_filesize64 (ULONGLONG n) {
p
=
buff
;
i
=
-
3
;
do
{
if
((
++
i
)
%
3
==
1
)
*
p
++
=
','
;
if
(
!
noseperator
&&
(
++
i
)
%
3
==
1
)
*
p
++
=
','
;
q
=
n
/
10
;
r
=
n
-
(
q
*
10
);
*
p
++
=
r
+
'0'
;
...
...
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