Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
centreon
centreon-connectors
Commits
c588a311
Commit
c588a311
authored
Nov 29, 2013
by
Dorian Guillois
Browse files
Update perl version.
parent
18e7dfa3
Changes
2
Hide whitespace changes
Inline
Side-by-side
perl/build/CMakeLists.txt
View file @
c588a311
...
...
@@ -28,9 +28,9 @@ set(TEST_DIR "${PROJECT_SOURCE_DIR}/test")
include_directories
(
"
${
PROJECT_SOURCE_DIR
}
/inc"
)
# Project version.
set
(
CONNECTOR_PERL_MAJOR
0
)
set
(
CONNECTOR_PERL_MINOR
1
)
set
(
CONNECTOR_PERL_PATCH
1
)
set
(
CONNECTOR_PERL_MAJOR
1
)
set
(
CONNECTOR_PERL_MINOR
0
)
set
(
CONNECTOR_PERL_PATCH
2
)
set
(
CONNECTOR_PERL_VERSION
"
${
CONNECTOR_PERL_MAJOR
}
.
${
CONNECTOR_PERL_MINOR
}
.
${
CONNECTOR_PERL_PATCH
}
"
)
add_definitions
(
-DCENTREON_CONNECTOR_PERL_VERSION=\"
${
CONNECTOR_PERL_VERSION
}
\"
)
...
...
perl/src/main.cc
View file @
c588a311
...
...
@@ -49,9 +49,7 @@ volatile bool should_exit(false);
static
void
term_handler
(
int
signum
)
{
(
void
)
signum
;
int
old_errno
(
errno
);
log_info
(
logging
::
high
)
<<
"termination request received"
;
should_exit
=
true
;
log_info
(
logging
::
high
)
<<
"reseting termination handler"
;
signal
(
SIGTERM
,
SIG_DFL
);
errno
=
old_errno
;
return
;
...
...
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