[libcxx-commits] [PATCH] D89681: [libcxx] [test] Use _putenv instead of setenv on windows
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 19 05:25:00 PDT 2020
ldionne requested changes to this revision.
ldionne added inline comments.
This revision now requires changes to proceed.
Herald added a subscriber: dexonsmith.
================
Comment at: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/temp_directory_path.pass.cpp:30
+#ifdef _WIN32
+ assert(::_putenv((var + "=" + value.string()).c_str()) == 0);
+#else
----------------
Can we move this to `filesystem_test_helper.h`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89681/new/
https://reviews.llvm.org/D89681
More information about the libcxx-commits
mailing list