Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
879916a9
Commit
879916a9
authored
Oct 05, 2011
by
vladlosev
Browse files
Fixes test failure on 32-bit Ubuntu.
parent
f7d58e81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
test/gtest-death-test_test.cc
test/gtest-death-test_test.cc
+2
-1
No files found.
test/gtest-death-test_test.cc
View file @
879916a9
...
...
@@ -397,8 +397,9 @@ void SetSigprofActionAndTimer() {
// Disables ITIMER_PROF timer and ignores SIGPROF signal.
void
DisableSigprofActionAndTimer
(
struct
sigaction
*
old_signal_action
)
{
struct
itimerval
timer
;
timer
.
it_interval
.
tv_sec
=
0
;
timer
.
it_interval
.
tv_usec
=
0
;
timer
.
it_value
.
tv_usec
=
0
;
timer
.
it_value
=
timer
.
it_interval
;
ASSERT_EQ
(
0
,
setitimer
(
ITIMER_PROF
,
&
timer
,
NULL
));
struct
sigaction
signal_action
;
memset
(
&
signal_action
,
0
,
sizeof
(
signal_action
));
...
...
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