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
9dc3843c
Commit
9dc3843c
authored
Jan 03, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 03, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some regressions from the previous change.
parent
65a4775b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
sync.c
dlls/kernel/sync.c
+1
-1
file.c
dlls/ntdll/file.c
+2
-2
rtl.c
dlls/ntdll/rtl.c
+2
-2
No files found.
dlls/kernel/sync.c
View file @
9dc3843c
...
...
@@ -893,7 +893,7 @@ HANDLE WINAPI OpenWaitableTimerW( DWORD access, BOOL inherit, LPCWSTR name )
OBJECT_ATTRIBUTES
attr
;
NTSTATUS
status
;
if
(
!
is_version_nt
())
access
=
SEMAPHORE
_ALL_ACCESS
;
if
(
!
is_version_nt
())
access
=
TIMER
_ALL_ACCESS
;
attr
.
Length
=
sizeof
(
attr
);
attr
.
RootDirectory
=
0
;
...
...
dlls/ntdll/file.c
View file @
9dc3843c
...
...
@@ -429,7 +429,7 @@ NTSTATUS WINAPI NtReadFile(HANDLE hFile, HANDLE hEvent,
wine_server_release_fd
(
hFile
,
unix_handle
);
return
STATUS_NOT_IMPLEMENTED
;
}
io_status
->
u
.
Status
=
NtCreateEvent
(
&
hEvent
,
SYNCHRONIZE
,
NULL
,
0
,
0
);
io_status
->
u
.
Status
=
NtCreateEvent
(
&
hEvent
,
EVENT_ALL_ACCESS
,
NULL
,
0
,
0
);
if
(
io_status
->
u
.
Status
)
{
wine_server_release_fd
(
hFile
,
unix_handle
);
...
...
@@ -641,7 +641,7 @@ NTSTATUS WINAPI NtWriteFile(HANDLE hFile, HANDLE hEvent,
wine_server_release_fd
(
hFile
,
unix_handle
);
return
STATUS_NOT_IMPLEMENTED
;
}
io_status
->
u
.
Status
=
NtCreateEvent
(
&
hEvent
,
SYNCHRONIZE
,
NULL
,
0
,
0
);
io_status
->
u
.
Status
=
NtCreateEvent
(
&
hEvent
,
EVENT_ALL_ACCESS
,
NULL
,
0
,
0
);
if
(
io_status
->
u
.
Status
)
{
wine_server_release_fd
(
hFile
,
unix_handle
);
...
...
dlls/ntdll/rtl.c
View file @
9dc3843c
...
...
@@ -117,8 +117,8 @@ void WINAPI RtlInitializeResource(LPRTL_RWLOCK rwl)
rwl
->
hOwningThreadId
=
0
;
rwl
->
dwTimeoutBoost
=
0
;
/* no info on this one, default value is 0 */
RtlInitializeCriticalSection
(
&
rwl
->
rtlCS
);
NtCreateSemaphore
(
&
rwl
->
hExclusiveReleaseSemaphore
,
0
,
NULL
,
0
,
65535
);
NtCreateSemaphore
(
&
rwl
->
hSharedReleaseSemaphore
,
0
,
NULL
,
0
,
65535
);
NtCreateSemaphore
(
&
rwl
->
hExclusiveReleaseSemaphore
,
SEMAPHORE_ALL_ACCESS
,
NULL
,
0
,
65535
);
NtCreateSemaphore
(
&
rwl
->
hSharedReleaseSemaphore
,
SEMAPHORE_ALL_ACCESS
,
NULL
,
0
,
65535
);
}
}
...
...
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