[all-commits] [llvm/llvm-project] c7d46f: [libcxx] Use the allocating form of getcwd() on Gl...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Thu Feb 25 14:16:22 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c7d46f221e829411b0f0dec41409ed626646cdd2
https://github.com/llvm/llvm-project/commit/c7d46f221e829411b0f0dec41409ed626646cdd2
Author: Martin Storsjö <martin at martin.st>
Date: 2021-02-26 (Fri, 26 Feb 2021)
Changed paths:
M libcxx/src/filesystem/operations.cpp
Log Message:
-----------
[libcxx] Use the allocating form of getcwd() on Glibc and Apple platforms
This avoids having to query pathconf for a max size for
preallocating a buffer for the return value.
This is an extension to the POSIX getcwd() spec.
Differential Revision: https://reviews.llvm.org/D97460
More information about the All-commits
mailing list