-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
mkdtemp doc issue? #26435
Comments
@nodejs/libuv Not sure if this is a libuv issue. Its just calling If not, node docs could say "some systems may replace trailing |
lpinca
added
doc
Issues and PRs related to the documentations.
fs
Issues and PRs related to the fs subsystem / file system.
labels
Mar 9, 2019
3 tasks
cjihrig
added a commit
to cjihrig/node
that referenced
this issue
Mar 30, 2019
PR-URL: nodejs#26944 Fixes: nodejs#26435 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Thanks for confirming and clarifying the intended behavior! |
cjihrig
added a commit
to cjihrig/node
that referenced
this issue
Apr 9, 2019
Refs: nodejs#26435 PR-URL: nodejs#26980 Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
During test-writing / manual fuzzing, I noticed that the doc for mkdtemp added in #6800 states that "Generates six random characters to be appended behind a required prefix to create a unique temporary directory". This is true on Linux and Windows, but misses an edge case on BSDs (including Apple). As seen below, it actually "replaces trailing X's with random characters and then appends six additional random characters to the prefix to create a unique directory name".
I think this is just a doc issue, but opening this as an issue to hear what others think.
The text was updated successfully, but these errors were encountered: