Skip to content

mecat2cns init fix#15

Open
flowers9 wants to merge 1 commit into
xiaochuanle:masterfrom
flowers9:init_fix
Open

mecat2cns init fix#15
flowers9 wants to merge 1 commit into
xiaochuanle:masterfrom
flowers9:init_fix

Conversation

@flowers9

Copy link
Copy Markdown

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