[libc-commits] [libc] [libc] Properly clear out errno in tests that check its value. (PR #131650)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Mon Mar 17 10:53:30 PDT 2025


jhuber6 wrote:

> Ha, beat me to it. I can try to see if it works -- if it does, is that smth. you'd prefer to see as a solution with less boilerplate?

Yes, because then we don't need to worry about it in future tests and it's perfectly reasonable to assume that errno starts default initialized when we run these tests hermetically.

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


More information about the libc-commits mailing list