[libcxx-commits] [libcxx] [libc++][AIX] Marking the tests UNSUPPORTED as the current implementation of fopen w+bx overrides ios::noreplace (PR #188425)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 25 08:12:56 PDT 2026


Himadhith wrote:

> So I think the test should be modified to expect that result as valid on some platforms (i.e. AIX)
I'm assuming the fix would be to check if the current platform in this case is AIX and to allow the current case for `wb+x` equivalent. 

But is this the right approach seeing that this could be not what the user expects to happen when they use `wb+x` which might truncate their file and erase information? 

https://github.com/llvm/llvm-project/pull/188425


More information about the libcxx-commits mailing list