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
7dc1c2af
Commit
7dc1c2af
authored
Dec 03, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix test failure on recent Windows versions.
parent
d0f93223
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
directory.c
dlls/ntdll/directory.c
+1
-1
file.c
dlls/ntdll/tests/file.c
+1
-1
No files found.
dlls/ntdll/directory.c
View file @
7dc1c2af
...
...
@@ -2349,7 +2349,7 @@ NTSTATUS nt_to_unix_file_name_attr( const OBJECT_ATTRIBUTES *attr, ANSI_STRING *
name
=
attr
->
ObjectName
->
Buffer
;
name_len
=
attr
->
ObjectName
->
Length
/
sizeof
(
WCHAR
);
if
(
name_len
&&
IS_SEPARATOR
(
name
[
0
]))
return
STATUS_
OBJECT_PATH_SYNTAX_BAD
;
if
(
name_len
&&
IS_SEPARATOR
(
name
[
0
]))
return
STATUS_
INVALID_PARAMETER
;
/* check for invalid characters */
for
(
p
=
name
;
p
<
name
+
name_len
;
p
++
)
...
...
dlls/ntdll/tests/file.c
View file @
7dc1c2af
...
...
@@ -195,7 +195,7 @@ static void open_file_test(void)
nameW
.
Length
+=
sizeof
(
WCHAR
);
status
=
pNtOpenFile
(
&
handle
,
GENERIC_READ
,
&
attr
,
&
io
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
FILE_DIRECTORY_FILE
);
ok
(
status
==
STATUS_
OBJECT_PATH_SYNTAX_BAD
,
ok
(
status
==
STATUS_
INVALID_PARAMETER
||
status
==
STATUS_OBJECT_PATH_SYNTAX_BAD
,
/* nt4 */
"open %s failed %x
\n
"
,
wine_dbgstr_w
(
nameW
.
Buffer
),
status
);
if
(
!
status
)
CloseHandle
(
handle
);
...
...
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