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

[6.x] Revert "fs: fix options.end of fs.ReadStream()" #19326

Closed
wants to merge 1 commit into from

Conversation

MylesBorins
Copy link
Contributor

@MylesBorins MylesBorins commented Mar 13, 2018

This reverts commit df038ad.

Some people were relying on the behavior of this.start being able to be
undefined, whereas after the change it is being set to 0.

Fixes: #19240:
Refs: #18121

/cc @wankdanker @MoonBall @nodejs/lts

@nodejs-github-bot nodejs-github-bot added fs Issues and PRs related to the fs subsystem / file system. v6.x labels Mar 13, 2018
@MylesBorins
Copy link
Contributor Author

@MylesBorins
Copy link
Contributor Author

This reverts commit df038ad.

Some people were relying on the behavior of this.start being able to be
undefined, whereas after the change it is being set to 0.

Fixes: nodejs#19240
Refs: nodejs#18121
@MylesBorins MylesBorins force-pushed the revert-options-fix-6.x branch from acaeb8f to d579aed Compare March 13, 2018 19:41
@MylesBorins MylesBorins self-assigned this Mar 13, 2018
@MylesBorins MylesBorins requested a review from addaleax March 13, 2018 19:45
@MylesBorins MylesBorins changed the title Revert "fs: fix options.end of fs.ReadStream()" [8.x] Revert "fs: fix options.end of fs.ReadStream()" Mar 13, 2018
@MylesBorins MylesBorins changed the title [8.x] Revert "fs: fix options.end of fs.ReadStream()" [6.x] Revert "fs: fix options.end of fs.ReadStream()" Mar 13, 2018
@MylesBorins MylesBorins added the blocked PRs that are blocked by other issues or PRs. label Mar 13, 2018
@MylesBorins
Copy link
Contributor Author

setting as blocked for right now as @addaleax may have a PR to fix this

@wankdanker
Copy link
Contributor

@MylesBorins Ran the test build. Did not hit the same error as with v6.13.1. Looks good to me. Thanks.

@addaleax addaleax closed this Mar 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked PRs that are blocked by other issues or PRs. fs Issues and PRs related to the fs subsystem / file system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants