Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@smola
Copy link
Contributor

@smola smola commented Nov 10, 2016

When using ReadWriter on an existing siva file, absolute offset for
index entries was not being calculated correctly.

When using ReadWriter on an existing siva file, absolute offset for
index entries was not being calculated correctly.
}
for _, e := range w.index {
e.absStart = start + e.Start
e.absStart = uint64(end) + e.Start
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🏆

Copy link

@alcortesm alcortesm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@smola smola merged commit df70709 into src-d:master Nov 11, 2016
@smola smola deleted the readwriter-index-bug branch November 11, 2016 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants