diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-05-14 14:23:14 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-05-14 14:23:14 +0100 |
commit | a0c4531ccf06e9381083421e9e7c2bdf89aa7f13 (patch) | |
tree | 94fd318f3f4f43eec83cd1a869249e3a989e1762 /libstdc++-v3/config.h.in | |
parent | 0b9fc9fee84ec9de6de8d95ee670bc121b298331 (diff) | |
download | gcc-a0c4531ccf06e9381083421e9e7c2bdf89aa7f13.zip gcc-a0c4531ccf06e9381083421e9e7c2bdf89aa7f13.tar.gz gcc-a0c4531ccf06e9381083421e9e7c2bdf89aa7f13.tar.bz2 |
re PR libstdc++/66011 (call to '__open_missing_mode' declared with attribute error)
PR libstdc++/66011
* acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmod and
sendfile.
* config.h.in: Regenerate.
* configure: Regenerate.
* src/filesystem/ops.cc (do_copy_file): Fix arguments to open(). Do
not return after copying contents. Use fchmod, fchmodat, and sendfile
when available.
(current_path, permissions, space): Use errno not return value.
From-SVN: r223196
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r-- | libstdc++-v3/config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index b833c81..337f614 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -836,6 +836,9 @@ this host. */ #undef _GLIBCXX_USE_DECIMAL_FLOAT +/* Define if fchmod is available in <sys/stat.h>. */ +#undef _GLIBCXX_USE_FCHMOD + /* Define if fchmodat is available in <sys/stat.h>. */ #undef _GLIBCXX_USE_FCHMODAT @@ -885,6 +888,9 @@ /* Define if _SC_NPROC_ONLN is available in <unistd.h>. */ #undef _GLIBCXX_USE_SC_NPROC_ONLN +/* Define if sendfile is available in <sys/stat.h>. */ +#undef _GLIBCXX_USE_SENDFILE + /* Define if struct stat has timespec members. */ #undef _GLIBCXX_USE_ST_MTIM |