Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
b4c4b927
Commit
b4c4b927
authored
Feb 05, 2008
by
Mike Hibler
Browse files
Restore the signal mask before jumping to the disconected label.
parent
1d214d4e
Changes
1
Show whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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