Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
b4c4b927
Commit
b4c4b927
authored
Feb 05, 2008
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore the signal mask before jumping to the disconected label.
parent
1d214d4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
capture/capture.c
capture/capture.c
+2
-1
No files found.
capture/capture.c
View file @
b4c4b927
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2000-200
7
University of Utah and the Flux Group.
* Copyright (c) 2000-200
8
University of Utah and the Flux Group.
* All rights reserved.
*/
...
...
@@ -852,6 +852,7 @@ capture(void)
}
if
(
i
==
0
)
{
#ifdef USESOCKETS
sigprocmask
(
SIG_SETMASK
,
&
omask
,
NULL
);
goto
disconnected
;
#else
die
(
"%s: write: zero-length"
,
Ptyname
);
...
...
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