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
e8007d9d
Commit
e8007d9d
authored
Mar 05, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Remove unneeded NONAMELESS* defines and ifdefs.
parent
e0f25934
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
directory.c
programs/cmd/directory.c
+0
-12
No files found.
programs/cmd/directory.c
View file @
e8007d9d
...
...
@@ -25,8 +25,6 @@
* environment-variable and batch parameter substitution already done.
*/
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define WIN32_LEAN_AND_MEAN
#include "wcmd.h"
...
...
@@ -224,13 +222,8 @@ void WCMD_list_directory (char *search_path, int level) {
WCMD_output
(
"%s"
,
(
fd
+
i
)
->
cFileName
);
tmp_width
=
tmp_width
+
strlen
((
fd
+
i
)
->
cFileName
)
;
file_count
++
;
#ifndef NONAMELESSSTRUCT
file_size
.
LowPart
=
(
fd
+
i
)
->
nFileSizeLow
;
file_size
.
HighPart
=
(
fd
+
i
)
->
nFileSizeHigh
;
#else
file_size
.
u
.
LowPart
=
(
fd
+
i
)
->
nFileSizeLow
;
file_size
.
u
.
HighPart
=
(
fd
+
i
)
->
nFileSizeHigh
;
#endif
byte_count
.
QuadPart
+=
file_size
.
QuadPart
;
}
cur_width
=
cur_width
+
widest
;
...
...
@@ -257,13 +250,8 @@ void WCMD_list_directory (char *search_path, int level) {
}
else
{
file_count
++
;
#ifndef NONAMELESSSTRUCT
file_size
.
LowPart
=
(
fd
+
i
)
->
nFileSizeLow
;
file_size
.
HighPart
=
(
fd
+
i
)
->
nFileSizeHigh
;
#else
file_size
.
u
.
LowPart
=
(
fd
+
i
)
->
nFileSizeLow
;
file_size
.
u
.
HighPart
=
(
fd
+
i
)
->
nFileSizeHigh
;
#endif
byte_count
.
QuadPart
+=
file_size
.
QuadPart
;
if
(
!
bare
)
{
WCMD_output
(
"%10s %8s %10s %s
\n
"
,
...
...
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