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

mecat2cns init fix #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

flowers9
Copy link

ExtensionCandidate has four fields that are not set when read into from a stream, not when copied by normalize_candidate(), leading to random data being written out to files when those elements are written. Perhaps not a problem, but it could be, and it makes debugging and comparison very tricky when files contain random data.

This fix does not change the stream reading directly, but rather only when called in one place in mecat2cns, just in case that particular behavoir is relied upon elsewhere (although I certainly hope not).

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.

1 participant