Skip to content
Snippets Groups Projects
Commit a4dbe41a authored by Valentina Fioretti's avatar Valentina Fioretti
Browse files

linux bug correction on PartOfPacket::setByteStream() related to redmine issue #983

parent 70470aaa
No related branches found
No related tags found
No related merge requests found
2013-09-13 Andrea Bulgarelli <bulgarelli@iasfbo.inaf.it>
TAG v2.0.7
* src/PartOfPacket.cpp (PartOfPacket::setByteStream):
For some reasons the following line introduced with v2.0.6:
222: this->stream->setStream(s, 0, s->getDimension() - 1);
does not work on linux (but only on make). Restored the old version
221: this->stream = s;
2013-09-12 Andrea Bulgarelli <bulgarelli@iasfbo.inaf.it>
TAG v2.0.6
......
......@@ -218,8 +218,8 @@ bool PartOfPacket::setByteStream(ByteStream* s)
stream->setStream(s->stream, s->getDimension(), s->isBigendian());
/// The stream is assigned
//this->stream = s;
this->stream->setStream(s, 0, s->getDimension() - 1);
this->stream = s;
//this->stream->setStream(s, 0, s->getDimension() - 1);
/// The pointer is converted from byte to void. The reading from file allows the correct data interpretation
/// for big or little endian machines
byte* stream = (byte*) s->stream;
......
2.0.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment