Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
879916a9
Commit
879916a9
authored
Oct 05, 2011
by
vladlosev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes test failure on 32-bit Ubuntu.
parent
f7d58e81
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
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() {
...
@@ -397,8 +397,9 @@ void SetSigprofActionAndTimer() {
// Disables ITIMER_PROF timer and ignores SIGPROF signal.
// Disables ITIMER_PROF timer and ignores SIGPROF signal.
void
DisableSigprofActionAndTimer
(
struct
sigaction
*
old_signal_action
)
{
void
DisableSigprofActionAndTimer
(
struct
sigaction
*
old_signal_action
)
{
struct
itimerval
timer
;
struct
itimerval
timer
;
timer
.
it_interval
.
tv_sec
=
0
;
timer
.
it_interval
.
tv_usec
=
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
));
ASSERT_EQ
(
0
,
setitimer
(
ITIMER_PROF
,
&
timer
,
NULL
));
struct
sigaction
signal_action
;
struct
sigaction
signal_action
;
memset
(
&
signal_action
,
0
,
sizeof
(
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