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
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
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

+2 −2
Original line number Diff line number Diff line
@@ -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;
+1 −0
Original line number Diff line number Diff line
2.0.1