Skip to content

Fix a bug in the detection of end-of-file. #73

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

Merged
merged 1 commit into from
Sep 17, 2015
Merged

Conversation

sunfishcode
Copy link
Member

input returns 0 when it reaches the end of the file; other values may
indicate merely a short read. This fixes #72.

input returns 0 when it reaches the end of the file; other values may
indicate merely a short read.
@rossberg
Copy link
Member

Oops, thanks for spotting. LGTM

sunfishcode added a commit that referenced this pull request Sep 17, 2015
Fix a bug in the detection of end-of-file.
@sunfishcode sunfishcode merged commit 823b4c1 into master Sep 17, 2015
@sunfishcode sunfishcode deleted the input-loop branch September 17, 2015 13:44
eqrion pushed a commit to eqrion/wasm-spec that referenced this pull request Jul 18, 2019
The data count section has a count that must match the number of data segments. If the data count section isn't present, then `memory.init` and `data.drop` cannot be used.

Fixes issue WebAssembly#73.
alexcrichton pushed a commit to alexcrichton/spec that referenced this pull request Nov 18, 2019
A centralized location for seeing how up-to-date various
implementations are.
awendland pushed a commit to awendland/webassembly-spec-abstypes that referenced this pull request Mar 26, 2020
dhil pushed a commit to dhil/webassembly-spec that referenced this pull request Aug 30, 2024
As a matter of style and longevity, I believe it is better to craft the explainer as though the feature already exists.
rossberg pushed a commit that referenced this pull request Sep 4, 2024
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.

Mystery syntax error on file suspiciously near 65536 bytes in size
2 participants