Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PacketLib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andrea Bulgarelli
PacketLib
Commits
a4dbe41a
Commit
a4dbe41a
authored
Sep 13, 2013
by
Valentina Fioretti
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
ChangeLog
+8
-0
8 additions, 0 deletions
ChangeLog
src/PartOfPacket.cpp
+2
-2
2 additions, 2 deletions
src/PartOfPacket.cpp
version
+1
-0
1 addition, 0 deletions
version
with
11 additions
and
2 deletions
ChangeLog
+
8
−
0
View file @
a4dbe41a
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
...
...
This diff is collapsed.
Click to expand it.
src/PartOfPacket.cpp
+
2
−
2
View file @
a4dbe41a
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
version
+
1
−
0
View file @
a4dbe41a
2.0.1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment