Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
3da0302a
Commit
3da0302a
authored
Feb 25, 2016
by
Eric Cano
Browse files
Fixed compilation amd porting issues.
parent
bae71920
Changes
3
Hide whitespace changes
Inline
Side-by-side
tapeserver/castor/tape/tapeserver/daemon/LabelSession.cpp
View file @
3da0302a
...
...
@@ -115,7 +115,7 @@ castor::tape::tapeserver::daemon::Session::EndOfSessionAction
params
.
push_back
(
log
::
Param
(
"gid"
,
m_request
.
gid
));
params
.
push_back
(
log
::
Param
(
"TPVID"
,
m_request
.
vid
));
params
.
push_back
(
log
::
Param
(
"unitName"
,
m_request
.
drive
));
params
.
push_back
(
log
::
Param
(
"
dgn"
,
m_request
.
dgn
));
params
.
push_back
(
log
::
Param
(
"
logicalLibrary"
,
m_request
.
logicalLibrary
));
params
.
push_back
(
log
::
Param
(
"force"
,
boolToStr
(
m_force
)));
params
.
push_back
(
log
::
Param
(
"lbp"
,
boolToStr
(
m_lbp
)));
m_log
(
LOG_WARNING
,
"Label session configured to use LBP but lbp parameter "
...
...
@@ -326,7 +326,7 @@ void castor::tape::tapeserver::daemon::LabelSession::writeLabelWithLbpToTape(
params
.
push_back
(
log
::
Param
(
"gid"
,
m_request
.
gid
));
params
.
push_back
(
log
::
Param
(
"TPVID"
,
m_request
.
vid
));
params
.
push_back
(
log
::
Param
(
"unitName"
,
m_request
.
drive
));
params
.
push_back
(
log
::
Param
(
"
dgn"
,
m_request
.
dgn
));
params
.
push_back
(
log
::
Param
(
"
logicalLibrary"
,
m_request
.
logicalLibrary
));
params
.
push_back
(
log
::
Param
(
"force"
,
boolToStr
(
m_force
)));
params
.
push_back
(
log
::
Param
(
"lbp"
,
boolToStr
(
m_lbp
)));
...
...
tapeserver/castor/tape/tapeserver/utils/CMakeLists.txt
View file @
3da0302a
...
...
@@ -20,8 +20,8 @@ cmake_minimum_required (VERSION 2.6)
include_directories
(
${
CMAKE_SOURCE_DIR
}
/tapeserver
)
set_source_files_properties
(
CRC.cpp PROPERTIES COMPILE_FLAGS -O2
)
add_library
(
Utils Regex.cpp
CRC.cpp
)
add_library
(
Utils Regex.cpp
)
add_library
(
ctatapeserverutilsunittests SHARED
RegexTest.cpp
)
...
...
tapeserver/castor/utils/CMakeLists.txt
View file @
3da0302a
...
...
@@ -22,6 +22,7 @@ cmake_minimum_required (VERSION 2.6)
include_directories
(
/usr/include/shift
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/tapeserver
)
set_source_files_properties
(
CRC.cpp PROPERTIES COMPILE_FLAGS -O2
)
set
(
UTILS_LIB_SRC_FILES
SmartFd.cpp
SmartFILEPtr.cpp
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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