Commit 1800c60
authored
close_range(2) should be preferred at all times if it's available, otherwise we'll use closefrom(2) if available with a fallback to fdwalk(3) or plain old loop over fd range in order of most efficient to least.
[note that this version does check for ENOSYS, but currently ignores all other errors]
Automerge-Triggered-By: @pablogsal
1 parent c230fde commit 1800c60
File tree
5 files changed
+24
-7
lines changed- Misc/NEWS.d/next/C API
- Modules
5 files changed
+24
-7
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8741 | 8741 | | |
8742 | 8742 | | |
8743 | 8743 | | |
8744 | | - | |
| 8744 | + | |
| 8745 | + | |
| 8746 | + | |
| 8747 | + | |
8745 | 8748 | | |
8746 | | - | |
| 8749 | + | |
8747 | 8750 | | |
8748 | 8751 | | |
8749 | | - | |
| 8752 | + | |
8750 | 8753 | | |
8751 | 8754 | | |
8752 | 8755 | | |
| |||
8779 | 8782 | | |
8780 | 8783 | | |
8781 | 8784 | | |
| 8785 | + | |
| 8786 | + | |
| 8787 | + | |
| 8788 | + | |
| 8789 | + | |
| 8790 | + | |
| 8791 | + | |
| 8792 | + | |
8782 | 8793 | | |
8783 | 8794 | | |
8784 | 8795 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11672 | 11672 | | |
11673 | 11673 | | |
11674 | 11674 | | |
11675 | | - | |
11676 | | - | |
| 11675 | + | |
| 11676 | + | |
11677 | 11677 | | |
11678 | 11678 | | |
11679 | 11679 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3664 | 3664 | | |
3665 | 3665 | | |
3666 | 3666 | | |
3667 | | - | |
3668 | | - | |
| 3667 | + | |
| 3668 | + | |
3669 | 3669 | | |
3670 | 3670 | | |
3671 | 3671 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
| |||
0 commit comments