Commit 9307067
libstdc++: check for openat
rtems6.0 has fdopendir, and fcntl.h defines AT_FDCWD and declares
openat, but there's no openat in libc. Adjust dir-common.h to not
assume ::openat just because of AT_FDCWD.
for libstdc++-v3/ChangeLog
* acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for
openat.
* configure, config.h.in: Rebuilt.
* src/filesystem/dir-common.h (openat): Use ::openat if
_GLIBCXX_HAVE_OPENAT.
* src/filesystem/dir.cc (dir_and_pathname): Use dirfd if
_GLIBCXX_HAVE_OPENAT.1 parent 5d8a5f0 commit 9307067
File tree
5 files changed
+72
-2
lines changed- libstdc++-v3
- src/filesystem
5 files changed
+72
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4772 | 4772 | | |
4773 | 4773 | | |
4774 | 4774 | | |
| 4775 | + | |
| 4776 | + | |
| 4777 | + | |
| 4778 | + | |
| 4779 | + | |
| 4780 | + | |
| 4781 | + | |
| 4782 | + | |
| 4783 | + | |
| 4784 | + | |
| 4785 | + | |
| 4786 | + | |
4775 | 4787 | | |
4776 | 4788 | | |
4777 | 4789 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
295 | 298 | | |
296 | 299 | | |
297 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77177 | 77177 | | |
77178 | 77178 | | |
77179 | 77179 | | |
| 77180 | + | |
| 77181 | + | |
| 77182 | + | |
| 77183 | + | |
| 77184 | + | |
| 77185 | + | |
| 77186 | + | |
| 77187 | + | |
| 77188 | + | |
| 77189 | + | |
| 77190 | + | |
| 77191 | + | |
| 77192 | + | |
| 77193 | + | |
| 77194 | + | |
| 77195 | + | |
| 77196 | + | |
| 77197 | + | |
| 77198 | + | |
| 77199 | + | |
| 77200 | + | |
| 77201 | + | |
| 77202 | + | |
| 77203 | + | |
| 77204 | + | |
| 77205 | + | |
| 77206 | + | |
| 77207 | + | |
| 77208 | + | |
| 77209 | + | |
| 77210 | + | |
| 77211 | + | |
| 77212 | + | |
| 77213 | + | |
| 77214 | + | |
| 77215 | + | |
| 77216 | + | |
| 77217 | + | |
| 77218 | + | |
| 77219 | + | |
| 77220 | + | |
| 77221 | + | |
| 77222 | + | |
| 77223 | + | |
| 77224 | + | |
| 77225 | + | |
| 77226 | + | |
| 77227 | + | |
| 77228 | + | |
| 77229 | + | |
| 77230 | + | |
| 77231 | + | |
| 77232 | + | |
| 77233 | + | |
| 77234 | + | |
77180 | 77235 | | |
77181 | 77236 | | |
77182 | 77237 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
0 commit comments