Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
7d5da3d1
Commit
7d5da3d1
authored
30 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Only call wait under mach.
parent
a5375b8b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
motif/server/main.c
+3
-7
3 additions, 7 deletions
motif/server/main.c
with
3 additions
and
7 deletions
motif/server/main.c
+
3
−
7
View file @
7d5da3d1
/*
$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/motif/server/main.c,v 1.
6
1994/10/
27 17:16:51
ram Exp $
$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/motif/server/main.c,v 1.
7
1994/10/
30 22:09:49
ram Exp $
This code was written as part of the CMU Common Lisp project at
Carnegie Mellon University, and has been placed in the public domain.
...
...
@@ -160,9 +160,7 @@ main(int argc, char **argv)
fd_set
rfds
;
int
nfound
,
nfds
,
i
;
int
port
=
PORT
;
#ifdef SVR4
int
status
;
#else
#ifdef MACH
union
wait
status
;
#endif
...
...
@@ -249,9 +247,7 @@ main(int argc, char **argv)
establish_client
(
inet_socket
);
}
/* Prevent zombie children under Mach */
#ifdef SVR4
waitpid
(
-
1
,
&
status
,
WNOHANG
);
#else
#ifdef MACH
wait3
(
&
status
,
WNOHANG
,
NULL
);
#endif
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment