Commit c454e93
authored
glibc-2.34 implements closefrom(3) using the same semantics as on BSD.
Check for closefrom() in configure and use the check result in
fileutils.c, rather than hardcoding a FreeBSD check.
Some implementations of closefrom() return an int. Explicitly discard
the return value by casting it to void, to avoid future compiler
warnings.
Signed-off-by: Sam James <[email protected]>
1 parent 0d2fe6b commit c454e93
5 files changed
Lines changed: 14 additions & 4 deletions
File tree
- Misc/NEWS.d/next/Library
- Python
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2878 | 2878 | | |
2879 | 2879 | | |
2880 | 2880 | | |
2881 | | - | |
| 2881 | + | |
2882 | 2882 | | |
2883 | | - | |
| 2883 | + | |
2884 | 2884 | | |
2885 | 2885 | | |
2886 | 2886 | | |
| |||
2922 | 2922 | | |
2923 | 2923 | | |
2924 | 2924 | | |
2925 | | - | |
| 2925 | + | |
2926 | 2926 | | |
2927 | 2927 | | |
2928 | 2928 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4745 | 4745 | | |
4746 | 4746 | | |
4747 | 4747 | | |
4748 | | - | |
| 4748 | + | |
4749 | 4749 | | |
4750 | 4750 | | |
4751 | 4751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
| |||
0 commit comments