-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
The opendir
function returned an incorrect result.
#54315
Comments
Thanks for filling the issue. If you're able to post a repro that does not involve downloading code from the internet, you're more likely to get help. Ideally, a list of commands that one can copy paste in their terminal. |
This seems to be the same as #48820. |
@mdouglass is this the same as the issue you reported? |
I think this is more a documentation issue. But not quite sure. |
This is a duplicate of #48820. closing in favor of that one |
Duplicate of #48820 |
Version
v20.15.1
Platform
Subsystem
No response
What steps will reproduce the bug?
opendir-wrong-result-0.0.0.tgz
Download the package and execute the command
node list.mjs | wc
.How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
Should print 465
What do you see instead?
Printed 188
Additional information
Code:
It may be related to the bufferSize.
Adjusting the bufferSize to 500 resulted in the correct output being printed.
The text was updated successfully, but these errors were encountered: