Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
543db800
Commit
543db800
authored
Nov 07, 2010
by
Sander Mathijs van Veen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://vo20.nl/git/uva
parents
820e6db6
a3256cb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
os/ass3/Makefile
os/ass3/Makefile
+1
-1
os/ass3/fishbones.c
os/ass3/fishbones.c
+0
-5
No files found.
os/ass3/Makefile
View file @
543db800
...
@@ -12,5 +12,5 @@ $(PROG): $(OFILES)
...
@@ -12,5 +12,5 @@ $(PROG): $(OFILES)
$(CC)
$(CFLAGS)
-o
$@
-c
$<
$(CC)
$(CFLAGS)
-o
$@
-c
$<
clean
:
clean
:
$(RM)
$(OFILES)
$(PROG)
$(RM)
$(OFILES)
$(PROG)
child.log
*
os/ass3/fishbones.c
View file @
543db800
...
@@ -35,11 +35,6 @@ static void gup(FILE * log1, FILE * log2, int pipe_id[2], int myNumber)
...
@@ -35,11 +35,6 @@ static void gup(FILE * log1, FILE * log2, int pipe_id[2], int myNumber)
/* Read next character from pipe */
/* Read next character from pipe */
if
(
read
(
pipe_id
[
0
],
&
c
,
1
)
<=
0
)
if
(
read
(
pipe_id
[
0
],
&
c
,
1
)
<=
0
)
{
{
if
(
errno
==
EINTR
)
{
continue
;
}
/* Error while reading from the pipe, exit */
/* Error while reading from the pipe, exit */
fprintf
(
log1
,
"Child %d read from pipe with error "
fprintf
(
log1
,
"Child %d read from pipe with error "
"and exited
\n
"
,
myNumber
);
"and exited
\n
"
,
myNumber
);
...
...
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