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
50b32da7
Commit
50b32da7
authored
Apr 08, 2006
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Apr 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: A read can fail.
parent
2043b06a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
info.c
dlls/winspool/info.c
+3
-3
No files found.
dlls/winspool/info.c
View file @
50b32da7
...
...
@@ -5288,7 +5288,7 @@ BOOL WINAPI EnumMonitorsW(LPWSTR pName, DWORD Level, LPBYTE pMonitors,
{
DWORD
needed
=
0
;
DWORD
numentries
=
0
;
BOOL
res
=
FALSE
;
;
BOOL
res
=
FALSE
;
TRACE
(
"(%s, %ld, %p, %ld, %p, %p)
\n
"
,
debugstr_w
(
pName
),
Level
,
pMonitors
,
cbBuf
,
pcbNeeded
,
pcReturned
);
...
...
@@ -5881,7 +5881,7 @@ static BOOL schedule_pipe(LPCWSTR cmd, LPCWSTR filename)
exit
(
0
);
}
while
((
no_read
=
read
(
file_fd
,
buf
,
sizeof
(
buf
))))
while
((
no_read
=
read
(
file_fd
,
buf
,
sizeof
(
buf
)))
>
0
)
write
(
fds
[
1
],
buf
,
no_read
);
ret
=
TRUE
;
...
...
@@ -5922,7 +5922,7 @@ static BOOL schedule_unixfile(LPCWSTR output, LPCWSTR filename)
if
(
out_fd
==
-
1
||
in_fd
==
-
1
)
goto
end
;
while
((
no_read
=
read
(
in_fd
,
buf
,
sizeof
(
buf
))))
while
((
no_read
=
read
(
in_fd
,
buf
,
sizeof
(
buf
)))
>
0
)
write
(
out_fd
,
buf
,
no_read
);
ret
=
TRUE
;
...
...
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