Compare commits

..

No commits in common. "076592ce6e64568521b88a11881aa36b3d3f7048" and "157feb36514e8cb611363848427becb8a0622fc8" have entirely different histories.

2 changed files with 14 additions and 13 deletions

View File

@ -11,24 +11,25 @@ freebsd_task:
test_script: |
sudo -u testuser .ci/unix-test.sh
rockylinux8_task:
centos7_task:
container:
image: docker.io/rockylinux:8
image: centos:7
install_script: |
dnf group install -y "Development Tools"
dnf install cmake -y
yum install -y centos-release-scl
yum install -y devtoolset-9
curl -L https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Linux-x86_64.tar.gz | tar xzvf - -C /usr/local --strip-components 1
build_script: |
.ci/unix-build.sh
source /opt/rh/devtoolset-9/enable && PATH=$PATH:/usr/local/bin .ci/unix-build.sh
test_script: |
.ci/unix-test.sh
PATH=$PATH:/usr/local/bin .ci/unix-test.sh
rockylinux9_task:
centos8_task:
container:
image: docker.io/rockylinux:9
image: quay.io/centos/centos:stream8
install_script: |
dnf group install -y "Development Tools"
dnf install cmake -y
yum group install -y "Development Tools"
curl -L https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Linux-x86_64.tar.gz | tar xzvf - -C /usr/local --strip-components 1
build_script: |
.ci/unix-build.sh
PATH=$PATH:/usr/local/bin .ci/unix-build.sh
test_script: |
.ci/unix-test.sh
PATH=$PATH:/usr/local/bin .ci/unix-test.sh

View File

@ -4229,7 +4229,7 @@ GHC_INLINE path current_path(std::error_code& ec)
}
return path(std::wstring(buffer.get()), path::native_format);
#elif defined(__GLIBC__)
std::unique_ptr<char, decltype(&std::free)> buffer { ::get_current_dir_name(), std::free };
std::unique_ptr<char, decltype(&std::free)> buffer { ::getcwd(NULL, 0), std::free };
if (buffer == nullptr) {
ec = detail::make_system_error();
return path();