[libc-commits] [libc] [libc] Add getpwnam_r and getpwuid_r entrypoints (PR #220833)
Alexey Samsonov via libc-commits
libc-commits at lists.llvm.org
Thu Sep 3 08:49:35 PDT 2026
================
@@ -30,12 +30,12 @@ using namespace LIBC_NAMESPACE::testing::ErrnoSetterMatcher;
namespace {
// RAII helper class for creating and automatically removing temporary test
-// files.
-class HermeticFile {
+// files, while safely scoping the password database path.
+class ScopedPasswdFile {
----------------
vonosmas wrote:
This class should really be extracted into a header shared by unit tests.
https://github.com/llvm/llvm-project/pull/220833
More information about the libc-commits
mailing list