Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d75abf87
Commit
d75abf87
authored
Mar 16, 2006
by
knielsen@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug in mysql-test-run.pl in ^C signal handler.
parent
b77bf090
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
mysql-test/lib/mtr_timer.pl
mysql-test/lib/mtr_timer.pl
+6
-0
No files found.
mysql-test/lib/mtr_timer.pl
View file @
d75abf87
...
@@ -78,6 +78,12 @@ sub mtr_timer_start($$$) {
...
@@ -78,6 +78,12 @@ sub mtr_timer_start($$$) {
{
{
# Child, redirect output and exec
# Child, redirect output and exec
# FIXME do we need to redirect streams?
# FIXME do we need to redirect streams?
# Don't do the ^C cleanup in the timeout child processes!
# There is actually a race here, if we get ^C after fork(), but before
# clearing the signal handler.
$SIG
{
INT
}
=
'
DEFAULT
';
$0
=
"
mtr_timer(timers,
$name
,
$duration
)
";
$0
=
"
mtr_timer(timers,
$name
,
$duration
)
";
sleep
(
$duration
);
sleep
(
$duration
);
exit
(
0
);
exit
(
0
);
...
...
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