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
fc68b1bc
Commit
fc68b1bc
authored
Apr 11, 2014
by
David COME
Browse files
MemBlock::read for diskFile now returns the number of bytes read
parent
29a26056
Changes
1
Hide whitespace changes
Inline
Side-by-side
castor/tape/tapeserver/daemon/MemBlock.hpp
View file @
fc68b1bc
...
...
@@ -63,8 +63,9 @@ public:
return
m_payload
;
}
void
read
(
tape
::
diskFile
::
ReadFile
&
from
){
size_t
read
(
tape
::
diskFile
::
ReadFile
&
from
){
m_size
=
from
.
read
(
m_payload
,
m_capacity
);
return
m_size
;
}
void
write
(
tape
::
diskFile
::
WriteFile
&
to
){
...
...
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