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
0c511814
Commit
0c511814
authored
Jun 09, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Jun 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Don't free the fileio object because it will be freed anyway in
fileio_terminate on error. - Print out statuses in hex, rather than decimal.
parent
33b09d45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
file.c
dlls/ntdll/file.c
+2
-4
No files found.
dlls/ntdll/file.c
View file @
0c511814
...
...
@@ -362,7 +362,7 @@ static void WINAPI FILE_AsyncReadService(void *user, PIO_STATUS_BLOCK iosb, ULON
int
result
;
int
already
=
iosb
->
Information
;
TRACE
(
"%p %p
%lu
\n
"
,
iosb
,
fileio
->
buffer
,
status
);
TRACE
(
"%p %p
0x%lx
\n
"
,
iosb
,
fileio
->
buffer
,
status
);
switch
(
status
)
{
...
...
@@ -525,7 +525,6 @@ NTSTATUS WINAPI NtReadFile(HANDLE hFile, HANDLE hEvent,
{
wine_server_release_fd
(
hFile
,
unix_handle
);
if
(
flags
&
FD_FLAG_TIMEOUT
)
NtClose
(
hEvent
);
RtlFreeHeap
(
GetProcessHeap
(),
0
,
fileio
);
return
ret
;
}
if
(
flags
&
FD_FLAG_TIMEOUT
)
...
...
@@ -596,7 +595,7 @@ static void WINAPI FILE_AsyncWriteService(void *ovp, IO_STATUS_BLOCK *iosb, ULON
int
result
;
int
already
=
iosb
->
Information
;
TRACE
(
"(%p %p
%lu
)
\n
"
,
iosb
,
fileio
->
buffer
,
status
);
TRACE
(
"(%p %p
0x%lx
)
\n
"
,
iosb
,
fileio
->
buffer
,
status
);
switch
(
status
)
{
...
...
@@ -739,7 +738,6 @@ NTSTATUS WINAPI NtWriteFile(HANDLE hFile, HANDLE hEvent,
{
wine_server_release_fd
(
hFile
,
unix_handle
);
if
(
flags
&
FD_FLAG_TIMEOUT
)
NtClose
(
hEvent
);
RtlFreeHeap
(
GetProcessHeap
(),
0
,
fileio
);
return
ret
;
}
if
(
flags
&
FD_FLAG_TIMEOUT
)
...
...
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