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
920c1fc7
Commit
920c1fc7
authored
Aug 25, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Aug 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix two failures on win9x.
parent
70c7cd2b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
file.c
dlls/kernel32/tests/file.c
+6
-2
winnt.h
include/winnt.h
+1
-0
No files found.
dlls/kernel32/tests/file.c
View file @
920c1fc7
...
...
@@ -1353,7 +1353,9 @@ static void test_FindFirstFileA(void)
ok
(
0
==
lstrcmpiA
(
data
.
cFileName
,
"nul"
),
"wrong name %s
\n
"
,
data
.
cFileName
);
ok
(
0
==
data
.
nFileSizeHigh
,
"wrong size %d
\n
"
,
data
.
nFileSizeHigh
);
ok
(
0
==
data
.
nFileSizeLow
,
"wrong size %d
\n
"
,
data
.
nFileSizeLow
);
ok
(
FILE_ATTRIBUTE_ARCHIVE
==
data
.
dwFileAttributes
,
"wrong attributes %x
\n
"
,
data
.
dwFileAttributes
);
ok
(
FILE_ATTRIBUTE_ARCHIVE
==
data
.
dwFileAttributes
||
FILE_ATTRIBUTE_DEVICE
==
data
.
dwFileAttributes
/* Win9x */
,
"wrong attributes %x
\n
"
,
data
.
dwFileAttributes
);
SetLastError
(
0xdeadbeaf
);
ok
(
!
FindNextFileA
(
handle
,
&
data
),
"FindNextFileA succeeded
\n
"
);
ok
(
GetLastError
()
==
ERROR_NO_MORE_FILES
,
"bad error %d
\n
"
,
GetLastError
()
);
...
...
@@ -1368,7 +1370,9 @@ static void test_FindFirstFileA(void)
ok
(
0
==
lstrcmpiA
(
data
.
cFileName
,
"lpt1"
),
"wrong name %s
\n
"
,
data
.
cFileName
);
ok
(
0
==
data
.
nFileSizeHigh
,
"wrong size %d
\n
"
,
data
.
nFileSizeHigh
);
ok
(
0
==
data
.
nFileSizeLow
,
"wrong size %d
\n
"
,
data
.
nFileSizeLow
);
ok
(
FILE_ATTRIBUTE_ARCHIVE
==
data
.
dwFileAttributes
,
"wrong attributes %x
\n
"
,
data
.
dwFileAttributes
);
ok
(
FILE_ATTRIBUTE_ARCHIVE
==
data
.
dwFileAttributes
||
FILE_ATTRIBUTE_DEVICE
==
data
.
dwFileAttributes
/* Win9x */
,
"wrong attributes %x
\n
"
,
data
.
dwFileAttributes
);
SetLastError
(
0xdeadbeaf
);
ok
(
!
FindNextFileA
(
handle
,
&
data
),
"FindNextFileA succeeded
\n
"
);
ok
(
GetLastError
()
==
ERROR_NO_MORE_FILES
,
"bad error %d
\n
"
,
GetLastError
()
);
...
...
include/winnt.h
View file @
920c1fc7
...
...
@@ -4118,6 +4118,7 @@ typedef struct _QUOTA_LIMITS_EX {
#define FILE_ATTRIBUTE_SYSTEM 0x00000004
#define FILE_ATTRIBUTE_DIRECTORY 0x00000010
#define FILE_ATTRIBUTE_ARCHIVE 0x00000020
#define FILE_ATTRIBUTE_DEVICE 0x00000040
#define FILE_ATTRIBUTE_NORMAL 0x00000080
#define FILE_ATTRIBUTE_TEMPORARY 0x00000100
#define FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
...
...
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