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
1b57c3bf
Commit
1b57c3bf
authored
Jun 29, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Don't print traces from async I/O callbacks.
parent
21836d21
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
directory.c
dlls/ntdll/directory.c
+0
-5
file.c
dlls/ntdll/file.c
+0
-12
No files found.
dlls/ntdll/directory.c
View file @
1b57c3bf
...
...
@@ -2187,8 +2187,6 @@ static NTSTATUS read_changes_apc( void *user, PIO_STATUS_BLOCK iosb, NTSTATUS st
NTSTATUS
ret
=
STATUS_SUCCESS
;
int
len
,
action
,
i
;
TRACE
(
"%p %p %08x
\n
"
,
info
,
iosb
,
status
);
SERVER_START_REQ
(
read_change
)
{
req
->
handle
=
info
->
FileHandle
;
...
...
@@ -2218,9 +2216,6 @@ static NTSTATUS read_changes_apc( void *user, PIO_STATUS_BLOCK iosb, NTSTATUS st
pfni
->
Action
=
action
;
pfni
->
FileNameLength
=
len
*
sizeof
(
WCHAR
);
pfni
->
FileName
[
len
]
=
0
;
TRACE
(
"action = %d name = %s
\n
"
,
pfni
->
Action
,
debugstr_w
(
pfni
->
FileName
)
);
len
=
sizeof
(
*
pfni
)
-
sizeof
(
DWORD
)
+
pfni
->
FileNameLength
;
}
else
...
...
dlls/ntdll/file.c
View file @
1b57c3bf
...
...
@@ -324,8 +324,6 @@ static NTSTATUS FILE_AsyncReadService(void *user, PIO_STATUS_BLOCK iosb, NTSTATU
async_fileio_read
*
fileio
=
user
;
int
fd
,
needs_close
,
result
;
TRACE
(
"%p %p 0x%x
\n
"
,
iosb
,
fileio
->
buffer
,
status
);
switch
(
status
)
{
case
STATUS_ALERTED
:
/* got some new data */
...
...
@@ -340,10 +338,7 @@ static NTSTATUS FILE_AsyncReadService(void *user, PIO_STATUS_BLOCK iosb, NTSTATU
if
(
result
<
0
)
{
if
(
errno
==
EAGAIN
||
errno
==
EINTR
)
{
TRACE
(
"Deferred read %d
\n
"
,
errno
);
status
=
STATUS_PENDING
;
}
else
/* check to see if the transfer is complete */
status
=
FILE_GetNtStatus
();
}
...
...
@@ -364,10 +359,6 @@ static NTSTATUS FILE_AsyncReadService(void *user, PIO_STATUS_BLOCK iosb, NTSTATU
*/
status
=
(
fileio
->
avail_mode
)
?
STATUS_SUCCESS
:
STATUS_PENDING
;
}
TRACE
(
"read %d more bytes %u/%u so far (%s)
\n
"
,
result
,
fileio
->
already
,
fileio
->
count
,
(
status
==
STATUS_SUCCESS
)
?
"success"
:
"pending"
);
}
break
;
...
...
@@ -709,8 +700,6 @@ static NTSTATUS FILE_AsyncWriteService(void *user, IO_STATUS_BLOCK *iosb, NTSTAT
int
result
,
fd
,
needs_close
;
enum
server_fd_type
type
;
TRACE
(
"(%p %p 0x%x)
\n
"
,
iosb
,
fileio
->
buffer
,
status
);
switch
(
status
)
{
case
STATUS_ALERTED
:
...
...
@@ -735,7 +724,6 @@ static NTSTATUS FILE_AsyncWriteService(void *user, IO_STATUS_BLOCK *iosb, NTSTAT
{
fileio
->
already
+=
result
;
status
=
(
fileio
->
already
<
fileio
->
count
)
?
STATUS_PENDING
:
STATUS_SUCCESS
;
TRACE
(
"wrote %d more bytes %u/%u so far
\n
"
,
result
,
fileio
->
already
,
fileio
->
count
);
}
break
;
...
...
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