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
6ba59140
Commit
6ba59140
authored
May 22, 1999
by
Ove Kaaven
Committed by
Alexandre Julliard
May 22, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed silly EINTR bug with starting dosmod.
parent
7894c221
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
module.c
loader/dos/module.c
+3
-4
No files found.
loader/dos/module.c
View file @
6ba59140
...
...
@@ -400,15 +400,14 @@ BOOL MZ_InitTask( LPDOSTASK lpDosTask )
close
(
x_fd
);
lpDosTask
->
task
=
child
;
/* wait for child process to signal readiness */
do
{
if
(
read
(
lpDosTask
->
read_pipe
,
&
ret
,
sizeof
(
ret
))
!=
sizeof
(
ret
))
{
while
(
1
)
{
if
(
read
(
lpDosTask
->
read_pipe
,
&
ret
,
sizeof
(
ret
))
==
sizeof
(
ret
))
break
;
if
((
errno
==
EINTR
)
||
(
errno
==
EAGAIN
))
continue
;
/* failure */
ERR
(
module
,
"dosmod has failed to initialize
\n
"
);
if
(
lpDosTask
->
mm_name
[
0
]
!=
0
)
unlink
(
lpDosTask
->
mm_name
);
return
FALSE
;
}
}
while
(
0
);
}
/* the child has now mmaped the temp file, it's now safe to unlink.
* do it here to avoid leaving a mess in /tmp if/when Wine crashes... */
if
(
lpDosTask
->
mm_name
[
0
]
!=
0
)
unlink
(
lpDosTask
->
mm_name
);
...
...
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