Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix unintended modification of source when parsing input file #126

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

mhofstetter
Copy link
Contributor

head and tail should be based on copies of the actual src.

this fixes unintended modification of the underlying shared byte array which results in diffs and unncecessary writes.

should fix #125

Signed-off-by: Marco Hofstetter <marco.hofstetter@bluewin.ch>
@daixiang0
Copy link
Owner

@mhofstetter thanks for your contribution!

@daixiang0 daixiang0 merged commit fafa02a into daixiang0:master Nov 17, 2022
@mhofstetter mhofstetter deleted the bugfix/parsed-src branch November 17, 2022 07:10
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.

Diff detected on correctly formatted file
2 participants