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
d4c67b60
Commit
d4c67b60
authored
May 21, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for macosx where SIGRTMIN is missing
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
parent
ee073260
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
ndb/src/kernel/ndb-main/Main.cpp
ndb/src/kernel/ndb-main/Main.cpp
+12
-3
No files found.
BitKeeper/etc/logging_ok
View file @
d4c67b60
...
...
@@ -161,6 +161,7 @@ tim@white.box
tim@work.mysql.com
tom@basil-firewall.home.com
tomas@mc05.(none)
tomas@poseidon.(none)
tonu@hundin.mysql.fi
tonu@volk.internalnet
tonu@x153.internalnet
...
...
ndb/src/kernel/ndb-main/Main.cpp
View file @
d4c67b60
...
...
@@ -228,16 +228,25 @@ systemInfo(const Configuration & config, const LogLevel & logLevel){
void
catchsigs
(
bool
ignore
){
#if ! defined NDB_SOFTOSE && !defined NDB_OSE
#if defined SIGRTMIN
#define MAX_SIG_CATCH SIGRTMIN
#elif defined NSIG
#define MAX_SIG_CATCH NSIG
#else
#error "neither SIGRTMIN or NSIG is defined on this platform, please report bug at bugs.mysql.com"
#endif
// Makes the main process catch process signals, eg installs a
// handler named "handler". "handler" will then be called is instead
// of the defualt process signal handler)
if
(
ignore
){
for
(
int
i
=
1
;
i
<
SIGRTMIN
;
i
++
){
for
(
int
i
=
1
;
i
<
MAX_SIG_CATCH
;
i
++
){
if
(
i
!=
SIGCHLD
)
signal
(
i
,
SIG_IGN
);
}
}
}
else
{
for
(
int
i
=
1
;
i
<
SIGRTMIN
;
i
++
){
for
(
int
i
=
1
;
i
<
MAX_SIG_CATCH
;
i
++
){
signal
(
i
,
handler
);
}
}
...
...
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