Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2448b8da
Commit
2448b8da
authored
Mar 13, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Fix a test failure on NT4.
parent
a26c3bc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ordinal.c
dlls/shlwapi/tests/ordinal.c
+2
-1
No files found.
dlls/shlwapi/tests/ordinal.c
View file @
2448b8da
...
...
@@ -1683,10 +1683,11 @@ if (0)
flags
=
FDTF_SHORTDATE
|
FDTF_LTRDATE
|
FDTF_RTLDATE
;
SetLastError
(
0xdeadbeef
);
buff
[
0
]
=
0
;
/* NT4 doesn't clear the buffer on failure */
ret
=
pSHFormatDateTimeW
(
&
filetime
,
&
flags
,
buff
,
sizeof
(
buff
)
/
sizeof
(
WCHAR
));
ok
(
ret
==
lstrlenW
(
buff
)
+
1
,
"got %d
\n
"
,
ret
);
ok
(
GetLastError
()
==
0xdeadbeef
||
broken
(
GetLastError
()
==
ERROR_INVALID_FLAGS
),
/* Win9x/WinMe */
broken
(
GetLastError
()
==
ERROR_INVALID_FLAGS
),
/* Win9x/WinMe
/NT4
*/
"expected 0xdeadbeef, got %d
\n
"
,
GetLastError
());
/* now check returned strings */
...
...
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