GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — src: reduce duplication through consolidation by jasnell · Pull Request #67497 · nodejs/node src: reduce duplication through consolidation #67497New issueHave 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
Closed
+474
−674
Closed
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
58bca61
dns: share reply parsing skeleton between record parsers
jasnell b6fcc7f
src: share snapshot Serialize()/Deserialize() logic for binding data
jasnell 6e1015f
fs: check permissions once in bindings with async and sync paths
jasnell 5f73d63
fs: use GetAsyncReqWrap() in the remaining async/sync bindings
jasnell File filterConversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page. Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page. Diff viewDiff view
fs: check permissions once in bindings with async and sync paths
Eleven fs bindings (stat, statfs, link, rename, unlink, realpath, readdir, copyFile, chown, lchown, mkdtemp) repeated every permission check in both the asynchronous and the synchronous branch, differing only in whether the denial is reported through the request or thrown. Obtain the request wrap up front with a new GetAsyncReqWrap() helper and perform each check once with FS_THROW_IF_INSUFFICIENT_PERMISSIONS(), which picks the reporting style based on whether the call is async. How permission denials are reported is unchanged. Assisted-by: Claude Signed-off-by: James M Snell <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
commit 6e1015f59143f5d383bfc60cc69fcb87d9c27e1b
There are no files selected for viewing
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
|
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |