diff options
author | 2017-07-13 07:38:03 (GMT) | |
---|---|---|
committer | 2017-07-13 07:38:03 (GMT) | |
commit | 45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch) | |
tree | 8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /patches/gcc/linaro-6.3-2017.05/952-bionic-errno.patch | |
parent | 8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff) | |
parent | b32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff) |
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'patches/gcc/linaro-6.3-2017.05/952-bionic-errno.patch')
-rw-r--r-- | patches/gcc/linaro-6.3-2017.05/952-bionic-errno.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/patches/gcc/linaro-6.3-2017.05/952-bionic-errno.patch b/patches/gcc/linaro-6.3-2017.05/952-bionic-errno.patch deleted file mode 100644 index 91f6ca3..0000000 --- a/patches/gcc/linaro-6.3-2017.05/952-bionic-errno.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 6cd4ad106ef87a3c58b0c3478e78409b47000de0 -Author: Howard Chu <hyc@symas.com> -Date: Tue Apr 25 20:17:03 2017 -0700 - - Fix, errno is volatile int - -diff --git a/libstdc++-v3/src/filesystem/dir.cc b/libstdc++-v3/src/filesystem/dir.cc -index 6ff12d0..5bbd664 100644 ---- a/libstdc++-v3/src/filesystem/dir.cc -+++ b/libstdc++-v3/src/filesystem/dir.cc -@@ -147,7 +147,7 @@ fs::_Dir::advance(error_code* ec, directory_options options) - - int err = std::exchange(errno, 0); - const auto entp = readdir(dirp); -- std::swap(errno, err); -+ std::swap((int&)errno, err); - - if (entp) - { |